I have updated my magento version to 1.9.2.2 recently, After updated to
new version, if i select the price of product, that cost is showing
normally fine till here. The main problem is, if i select the any Custom option
like color, size That product's price is showing ZERO.
Solution:
Solution:
First of all,
we need to go to this path
app/design/[your package]/[yourtheme]/template/catalog/product/view/options.phtml
Search for this script
price += parseFloat(config[optionId][element.getValue()]);
Replace with
price += parseFloat(config[optionId][element.getValue()].price);
Now it is cleared.
we need to go to this path
app/design/[your package]/[yourtheme]/template/catalog/product/view/options.phtml
Search for this script
price += parseFloat(config[optionId][element.getValue()]);
Replace with
price += parseFloat(config[optionId][element.getValue()].price);
Now it is cleared.
No comments:
Post a Comment