0

I have configurable products on my site, which consists of simple products with attributes color and Product length. When i select color and Product length, the price of the product does not change and it still shows the minimal price only. https://nimb.ws/0X32hd https://nimb.ws/WYT0ek

The prices are properly set in backend.

In console it is showing this error

Uncaught Error: cannot call methods on priceBox prior to initialization; attempted to call method 'option'
at Function.error (jquery.js:259)
at HTMLDivElement.<anonymous> (widget.js:186)
at Function.each (jquery.js:376)
at jQuery.fn.init.each (jquery.js:142)
at jQuery.fn.init.$.fn.<computed> [as priceBox] (widget.js:182)
at $.<computed>.<computed>._UpdatePrice (swatch-renderer.js:946)
at $.<computed>.<computed>._UpdatePrice (widget.js:100)
at $.<computed>.<computed>._OnChange (swatch-renderer.js:817)
at $.<computed>.<computed>._OnChange (widget.js:100)
at $.<computed>.<computed>._AmOnChange (swatch-renderer.js:193)
3
  • Perhaps you can provide some more information. What version of Magento 2 are you using? Have you recently upgraded? Was this product working correctly before any updates or changes were made?
    – paj
    Mar 11 '21 at 15:24
  • I m using 2.3.3 version. This was working fine earlier. I dont know what went wrong
    – Nafsss
    Mar 12 '21 at 4:46
  • @paj can u help me in this?
    – Nafsss
    Mar 15 '21 at 7:21
0

I found this post in Magento Forums useful for you since they had to deal with the same problem: https://community.magento.com/t5/Magento-2-x-Admin-Configuration/Magento-2-complex-configurable-product-pricing/td-p/127022

You can take a look at it to try the suggested solution. For other problems related to configurable products in Magento 2, you can try to visit Landofcoder to check it out and update their extension. I myself think their product is quite helpful without such issues you had mentioned.

Have a nice day.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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