Open
Description
Preconditions and environment
Magento Version: 2.4.7
Customizations: Modified catalog_product_view.xml layout file in Magento_Theme/Magento_Catalog/layout
Steps to reproduce
- Upgrade Magento to version 2.4.7.
- Modify the catalog_product_view.xml layout file by adding the following code (with this the price element will be added to a sticky footer)
- Ensure that the .price-box element is moved outside of the .product-info-main element and placed inside a sticky footer element.
- Attempt to select configurable options on the product page.
Expected result
- Configurable options should be selectable and update the product price correctly, even after moving the .price-box outside of the .product-info-main element.
Actual result
- Configurable options do not work correctly. The dropdown for configurable options remains empty.
- This issue occurs due to the change in priceHolderSelector, which was previously .price-box and is now .product-info-main [data-role=priceBox].
Additional information
- The issue did not exist in Magento versions prior to 2.4.7. The change in /web/js/configurable.js priceHolderSelector seems to have affected installations where .price-box is moved outside of .product-info-main.
- I was able to resolve the issue temporarily by reverting to the previous version of /web/js/configurable.js.
- I added a comment at da20c4e that describes the error.
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it