I'm just beginning with uCommerce Starter. I'm setting up a simple store and I need to create a product where each size has a different price. I want the end-user to select the size from a dropdown list and when the item is added to the cart it should be at the correct price for that size.
Can you explain to me the best way to implement this?
Ok, thanks for the link - I'm getting there. I've created my a product definition which has two properties - size and price, and I've made them both variant properties.
I've created a product and created a couple of variants for the product. eg. Variant 1 is size 00 and price $139, variant 2 is size 0 and price $149.
The problem I'm having is that when I test adding the product to the cart, it doesn't use the variant price. If I specify an overall price for the product then it uses that price regardless of which variant I select. If I don't specify a price for the product then it doesn't add it to the cart at all.
It also seems like the "Update cart" functionality doesn't work.
uCommerce will fall back to the price specified on the product if no price is available on the variant so my best guess is that probably you don't have variant pricing set up in the price group you're working with on the site.
Here are a couple of things to check:
Just to make sure: Do you have the variants on the "Variants" tab in the product editor? (http://twitpic.com/4mbp2u)
Did you edit pricing using the dollar bill icon next to each variant? (http://twitpic.com/4mbp2u)
If you're working with multiple price groups make sure that you set the price in the price group configured for the catalog you're using. (http://twitpic.com/4mbozh http://twitpic.com/4mbp5l)
Regarding update basket failing that's a known issue, which is fixed in 1.5.1 (will be released soon). The template inserts a bunch of junk in the name attribute of the quantity textbox. If you remove any whitespace in the Cart template where the Quantity_1, 2, 3 etc is generated it will work fine.
uCommerce will not allow a product without a price to be added. If you need a zero'd price you have to be explicit about it :)
Product sizes need different prices
Hi
I'm just beginning with uCommerce Starter. I'm setting up a simple store and I need to create a product where each size has a different price. I want the end-user to select the size from a dropdown list and when the item is added to the cart it should be at the correct price for that size.
Can you explain to me the best way to implement this?
Many thanks.
Product variants... check the uCommerce settings.
Hi Danzig,
Take a look at the article Catalog Foundation Explained: Product Definitions. It explains all about setting up variants. Each variant can have its own price associated (or multiple).
Thanks a lot guys, I'll check that out.
Ok, thanks for the link - I'm getting there. I've created my a product definition which has two properties - size and price, and I've made them both variant properties.
I've created a product and created a couple of variants for the product. eg. Variant 1 is size 00 and price $139, variant 2 is size 0 and price $149.
The problem I'm having is that when I test adding the product to the cart, it doesn't use the variant price. If I specify an overall price for the product then it uses that price regardless of which variant I select. If I don't specify a price for the product then it doesn't add it to the cart at all.
It also seems like the "Update cart" functionality doesn't work.
Any ideas? Thanks.
Hi Danzig,
uCommerce will fall back to the price specified on the product if no price is available on the variant so my best guess is that probably you don't have variant pricing set up in the price group you're working with on the site.
Here are a couple of things to check:
Regarding update basket failing that's a known issue, which is fixed in 1.5.1 (will be released soon). The template inserts a bunch of junk in the name attribute of the quantity textbox. If you remove any whitespace in the Cart template where the Quantity_1, 2, 3 etc is generated it will work fine.
uCommerce will not allow a product without a price to be added. If you need a zero'd price you have to be explicit about it :)
is working on a reply...