Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > harnessing product option power. need help View modes: 
User avatar
Member
Member
eagleag - 9/29/2009 6:24:13 AM
   
harnessing product option power. need help
HI,
I'm trying to add the option for clients to choose the quantity method of which theu want to use when ordering a product.
I've added a"product option" with 3 radio buttons.
User image

I would like to have it work this way:
When you click on one of the options it adds a "*10" ( times 10 or whatever price I decide) to whatever number you put in the input next to "add to cart".
the result should show in "Total Price".

so the method is:
(items or weight or price - each one has different value) * (number entered in input) = "Total Price:___"

I thought of using a new function and using a switch for each option, but not sure how to put it all together.

THANKS :)



User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/1/2009 4:17:41 AM
   
RE:harnessing product option power. need help
Hello,

You could use the similar approach like Configurable PC product on sample E-commerce site (Content tree: E-commerce site -> Products -> PCs -> Configurable PC).

The basic price would be 0. The options would have appropriate prices (e.g. 1 item costs 5$ - the item product option Price is 5$). Then the total price will be counted correctly – product option price * quantity

Best regards,
Helena Grulichova