I got this issue where Price is not updated when checking the custom options (Fixed Price: +400).

I got this error:

TypeError: Product.OptionsPrice is not a constructor

TypeError: optionsPrice is undefined

error in custom options price not updated

Related questions: Custom Options not updating price - JS error

Custom Option Price Not Updating

Custom Option Price is not changing

Update product custom option price on product price change

1 Answer 1


It happened to me after upgrading to magento 1.9.3.
In my custom theme was missing product_options.js call.

You need to add

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

Check catalog.xml and configurableswatches.xml in rwd theme for reference. You will also need to copy




Hope can help

  • Thanks this fixed the error message in console but still it doesn't change/update the price when checking it. Any idea?
    – nhinzky
    Commented Oct 14, 2016 at 11:53
  • @nhinzky as i said it works for me in Magento 1.9.3. What I noticed that it was only update product-price-id class not product-price-id_clone. I solved this by changing 'idSuffix' => '' with 'idSuffix' => '_clone' in app\code\core\Mage\Catalog\Helper\Product\Type\Composite.php line 130
    – krybbio
    Commented Oct 14, 2016 at 21:14

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