Zen Cart Logo
Forums / General Questions / Two price options per item

Two price options per item

Locked

Views: 3,026

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
14 Jun 2006, 6:39 AM
#1
deker avatar

deker

New Zenner

Join Date:
Nov 2003
Posts:
12
Plugin Contributions:
0

Two price options per item

I have kind of a unique problem with a site I'm developing for a client.

The client is selling cloth, linens and fabrics on this site. Apparently they want to sell them by the foot (enter a quantity into the shopping cart), but also sell them by the Full Quarter or something like that, which is apparently a pre-cut square of the cloth. Basically there will be two prices per product, but you'll enter a simple quantity into either one, like a normal site.

I have looked into product attributes, but that doesn't seem to be what I need. As far as I can tell, there is no set percentage difference, or consistent flat rate difference between the two prices. So I can't just make a product attribute that is 10% cheaper, or $.50 cheaper, etc.

What would be the best way to go about handling something like that, without having to make hundeds of different product attributes to account for all of the price differences?

Hope I explained that clear enough.

Thanks!

15 Jun 2006, 5:15 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Two price options per item

Are you saying you need the Products Price to be $100.00 and the Attributes Price to be $90.00?

15 Jun 2006, 8:54 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two price options per item

I think attributes can handle this neatly.

Set the base price to zero, and price by attributes on.
Make a radiobutton option name of "Unit of Measure", with values of "Foot" and "Full Quarter".
Set up the attributes in a sample product and duplicate them to all applicable products, then edit the attributes in each product to give the prices for that product.

You will show:

Fabric A
...
Unit of Measure: () Foot ($1.23)
. . . . . . . . . . . . () Full Quarter ($3.45)

Fabric B
...
Unit of Measure: () Foot ($2.34)
. . . . . . . . . . . . () Full Quarter ($7.89)

Then the quantity the customer purchases will be denominated in feet or quarters according to the choice.
The only drawback to this is that stock levels would become meaningless without a code tweak to adjust for the unit chosen.

16 Jun 2006, 2:07 AM
#4
deker avatar

deker

New Zenner

Join Date:
Nov 2003
Posts:
12
Plugin Contributions:
0

Re: Two price options per item

That may work, gjh42, thanks a lot for the tip. I hadn't thought of just keeping the actual product price at 0. I was just going to have the price, and then the difference between the foot/fatquarter price.

I would still have to create a different attribute for each price though, correct? Not all of them would be the same price.

16 Jun 2006, 6:19 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two price options per item

You would create one set of attributes (unit/foot/fatquarter) which would go into every product; then each product could have its own dollar values for foot & fatquarter. The attributes can keep the same name from product to product without being tied to the same price.

14 Oct 2009, 12:39 PM
#6
jjdoench avatar

jjdoench

New Zenner

Join Date:
Feb 2008
Posts:
41
Plugin Contributions:
0

Re: Two price options per item

I know this is an old thread, but this is exactly what I'm looking for. I also own a fabric shop, and what I'm trying to do is the same.

We currently sell fabric by the yard and fraction of a yard, which works just fine.

We would also like to be able to sell what is called a "Fat Quarter"
(which is a pre-cut piece that is priced the same no matter what the per-yard price of the fabric is) of every fabric we offer.

If I set the price to Zero, won't that be my display price on the product listing page? I don't want to make it harder for them to order yardage.

Is it possible to add an Attribute that changes the price to a specific price regardless of the base price?

Thanks,
Jessica
w w w . b e s t f r i e n d s q u i l t s h o p . c o m

14 Oct 2009, 3:23 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Two price options per item

Cannot see your site ... bad URL ...

On the Attributes is an Option:

Include in Base Price
When Priced by Attributes
No Yes

If using Priced by Attribute and this is a $0.00 and you do not want to see the $0.00 then mark it NO so that it is not used in the Priced by Attribute calculation ...

14 Oct 2009, 4:48 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two price options per item

Is your shop www .b e s t f r i e n d s q u i l t s. com?

If you have two attribute alternatives which each have a price included in the base price, and base price 0, and the product is priced by attributes, the displayed price will show the lower of those (usually with "Starting at").

I'm not sure what happens if one of those attributes is not included in the base price - possibly the other one is used as the base, but if the "not included" option is chosen, then that is the actual final price? It wouldn't take long to experiment with those alternatives on a test product.

14 Oct 2009, 5:10 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Two price options per item

Marking things out of being included in the Base Prices is just for the sake of display prices for when, for whatever reason, picking the lowest calculated prices of the Attribute Groups is not the correct display Price on a Product that you want customers to see throught the shop ...

14 Oct 2009, 6:07 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two price options per item

So excluding the fixed price "Fat Quarter" option from base would let the "Per Yard" option price show as the base, giving the correct relative product price display in product listings.

That's a nice feature, being able to price by attributes and not have a rare lower-priced option be shown as the base, letting the option that most people will want show as the base price.

15 Oct 2009, 3:47 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Two price options per item

It was a consideration just 'cause ... but I knew if that wasn't there, then someone would of course need it so ... voila ... the magic price display abilities of Priced by Attributes ... :cool:

Granted I can still make scenarios that I would like to shoot myself for not having thought of before ... :blink:

One of these days ... attributes will rule ... :lamo:

20 Oct 2009, 1:15 PM
#12
jjdoench avatar

jjdoench

New Zenner

Join Date:
Feb 2008
Posts:
41
Plugin Contributions:
0

Re: Two price options per item

Thank you both for your quick replies - been out with the flu for a while now, so didn't check the boards. I will try this out.

Thanks,
Jessica
https://www.bestfriendsquilts.com (duh)