All product option displayed
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- The Product Detail Widget is showing all options
-
Steps to reproduce:
1) Make an option 'City' with four values and provide the names listed below.
Delhi
Mumbai
Bangalore
Pune
2) Create a product TEST
3) Add the option to the product and make it an SKU Contributor.
4) Create Delhi and Mumbai as SKUs (Make sure they are SKU Contributors).
5) Navigate to Catalog -> Click on the product TEST.
6) Click the Options List in Product Details.
Expected Behavior: It will only display the two options that have been created as valid items to add to the cart, as they were the only 2 SKU Contributors that were created.
Observed Behavior: It displays all of the options. If users click 'Choose an Option', it will only show the two correctly. However, if the user clicks any of the options again, it will display all four.
Environment
- Liferay DXP 7.4
- Commerce 4.0
Resolution
- The observed behavior is Commerce known bug which is being addressed here: COMMERCE-11003
Did this article resolve your issue ?