Configurable product price changes affect all elements with the class 'priceBox' #5798
Labels
bug report
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Preconditions
Magento version 2.0.6 CE
Steps to reproduce
Expected result
Only the price of the product being viewed should be changed.
Actual result
All prices contained in an element with the class 'priceBox' are changed.
Proposed solution
File: app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js
Line: 21
Change To:
priceHolderSelector: '.product-info-main .price-box',
This should work because on line 415 the updatePrice event will only be triggered on the priceBox in the product-info-details element on the page rather than every priceBox on the page.
The text was updated successfully, but these errors were encountered: