Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / How do you set that up so when you select the size of an item the price changes?

How do you set that up so when you select the size of an item the price changes?

Locked

Started by tanyaleann on 19 Sep 2008, 6:44 PM · Views: 2,463

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
19 Sep 2008, 6:44 PM
#1
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #1 by tanyaleann

For my items I have different prices for different sizes. How do you set that up so when you select the size of an item the price changes?

19 Sep 2008, 9:08 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

You will want to look at the Option Names, Option Values and building Attributes ...

Peek in the Tutorials/FAQs and the Wiki for tips on using this feature ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Sep 2008, 4:10 PM
#3
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #3 by tanyaleann

I am putting in the price on the attributes page...where is says price, weight etc. When I add it to the cart the total is doubled...why would that be and how do i change that?

22 Sep 2008, 4:18 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #4 by fairestcape

Your prices are doubling probably because your settings are INCLUSIVE of the product's BASE PRICE.

If you have a product at a base price of $10.00 and you have an attribute that adds $1.75, then how you set up attribute pricing will influence the calculation ZC does to give the end-price.

If you want to keep the base price (eg: $10.00) and the attribute ADDS another $1.75, the that attribute's value is entered in the attributes controller as "$1.75" and NOT $11.75.

You CAN choose to price products BY ATTRIBUTE. (In other words, if an attribute is selected, then the Zencart calculation must IGNORE your base price). This setting is switched on/off in the appropriate products PRODUCT EDIT screen. There's a radio button that sets this.

22 Sep 2008, 4:26 PM
#5
ajeh avatar

ajeh

Oba-san

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

Post #5 by ajeh

NOTE: Keep in mind that just because a Product has attributes, this does not mean a Product is Priced by Attributes ...

If the Product has a Price and you use Attributes to add on to that Price ... and you do not have to select an attribute with price to add the product to the cart, then 9 times out of 10 this Product is not Priced by Attributes ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Sep 2008, 5:50 PM
#6
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #6 by tanyaleann

I only have a few products that have different prices for different sizes. The others the price stays the same as what I entered in the adding products page. So since I just want to do it on some products do I just put the price on the add attributes page where it has your option values and then price, weight etc....this is where I put the value and when I check the site it doubles it when I add it to the cart.

22 Sep 2008, 5:58 PM
#7
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #7 by fairestcape

tanyaleann:

....this is where I put the value and when I check the site it doubles it when I add it to the cart.

What is the VALUE that you are entering here?

Let's say you are selling milkshakes...

A standard milkshake costs $5 .

If the customer wants extra cream topping, it's an additional $1.

A milkshake with extra cream is therefore $6 .

So, if the customer selects the attribute called "Extra Cream" then the PRICE for that attribute should be set as $1.

Zencart will add the price of the standard milkshake ($5) and the extra cream ($1) to give a total proce of $6.

22 Sep 2008, 6:01 PM
#8
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #8 by tanyaleann

The size small is 164.99 and the size medium is 169.99. I put the price in the products edit page as 164.99..should i put that? then when i was doing the attributes for small and medium for small i put the price as 164.99 and the medium as 169.99. I am sure this is why it is doubling because I already have the price set at 164.99 but i don't know what to do? I didn't put + or - on the pricing part.

22 Sep 2008, 7:06 PM
#9
ajeh avatar

ajeh

Oba-san

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

Post #9 by ajeh

Set medium to:
Prefix +
Price 5.00

It could use a blank also for the Prefix as both blank and + mean add ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Sep 2008, 1:49 PM
#10
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #10 by tanyaleann

So now in the shopping cart it is suppose to say M(+$5.00)...i would rather it say 169.99 for medium. How do i do this?

23 Sep 2008, 2:08 PM
#11
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #11 by fairestcape

If you want the attribute selector (in the dropdown) to show the full price (as opposed to " +$5.00 "), then you must invoke PRICED BY ATTRIBUTES as discussed earlier.

In this case, you set the Product Base Price as 0.0000 in the product setup screen (Add/Edit a product) and you click YES for "Priced by Attributes".

Then - in addition to the attributes you have already set up (eg: like the one showing a price of $169), you now need an attribute for the **standard **product at $164. Set this as the default attribute in the associated dropdown menu.

23 Sep 2008, 3:51 PM
#12
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #12 by tanyaleann

To make more sense of what I said before....the small is 164.99 and medium is 169.99 so in the price under the small attribute I put +5.00 and now in the shopping cart it read S then the second row is M(+5.00)...is this what it is suppose to say? i would rather have it say S(164.99), M(169.99) and starting at 164.99.

23 Sep 2008, 3:53 PM
#13
tanyaleann avatar

tanyaleann

New Zenner

Join Date:
Sep 2008
Posts:
69
Plugin Contributions:
0

Post #13 by tanyaleann

thank you. ignore previous message.

23 Sep 2008, 7:07 PM
#14
panzico avatar

panzico

New Zenner

Join Date:
Aug 2008
Location:
Southern California - Riverside
Posts:
55
Plugin Contributions:
0

Post #14 by panzico

I'm trying to figure this out as well. I sell artwork on greeting cards.

When a customer selects a piece of art, I would like to have a dropdown list that offers:

Greeting cards (10 count)... $20.99
Note cards (10 count)... $13.99

I prefer to have the greeting cards on top. I really don't like the look of + or - $7. It seems confusing to the customer. How can I have it just add to the card what is selected (as typed above)?

23 Sep 2008, 10:49 PM
#15
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #15 by fairestcape

panzico:

Greeting cards (10 count)... $20.99
Note cards (10 count)... $13.99

I prefer to have the greeting cards on top. I really don't like the look of + or - $7. It seems confusing to the customer. How can I have it just add to the card what is selected (as typed above)?

Just follow the procedure I describe to price your products by attributes.

To remove the + or - sign, just delete them when you input your attribute price. (You'll have to do this if you price by attributes, as there will be nothing (no base price) to add the attribute price to.)