0

I am having a small issue in where the price is not being updated on Magento 1.9. When I select a drop down selection the price is still fixed to the configurable price. I have learned that Magento does not take the prices of the simple items. Which I am ok with, but I don't understand there reasoning behind it. How do I go about fixing this issue?I added the console error that I get that may help.enter image description hereenter image description here

enter image description here

1 Answer 1

0

I had similar issue and my browser console was showing

TypeError: Product.OptionsPrice is not a constructor

I figured out the my theme was not adding product_options.js file to catalog category default page and catalog product view page.

So I made two changes in my-template/default/layout/catalog.xml

1- Injected product_options.js inside catalog_category_default handle

<reference name="head">
    <action method="addJs"><script>varien/product_options.js</script></action>
</reference>

2- Injected product_options.js inside catalog_product_view handle

<action method="addJs"><script>varien/product_options.js</script>

1
  • I tried that, but then it broke page viewing. The error I get is [Failed to load resource: the server responded with a status of 404 (Not Found)]. I it seems to be that that something in product_options.js or catalog.xml is not loading correctly. Commented Jan 14, 2019 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.