Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

magento custom options price calculation
 
Jagesh
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2011-07-11
 

Anybody knows how custom options price calculation works for fixed and percent price. I want to change percent calculation functionality from base price to total price. currently its calculating price from base price. how to change this from base price to total price?

for eg
base price = $10
custom option1 = $10
custom option2 = 10%

default magento calculation :
Total price after select custom option1
Total price = $10+$10 = $20
Total price after select custom option2
Total price = $20 + (10% of base price)
Total price = $20 + (10% of $10)
Total price = $20 + $1 = $21

But we need like this
Total price after select custom option1
Total price = $10+$10 = $20
Total price after select custom option2
Total price = $20 + (10% of Total price)
Total price = $20 + (10% of $20)
Total price = $20 + $2 = $22

Please advice

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top