-
-
Notifications
You must be signed in to change notification settings - Fork 450
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I have encountered a bug with the swatches for configurable products in the latest version, which I believe needs attention. The issue occurs when trying to display the swatches (such as color or size) on the product page.
When "Size" is not selected in the "Product Attribute to Use for Swatches in Product Listing" field, the swatches do not appear on the product page. Instead, the attribute remains as a regular dropdown.
Expected Behavior
Swatches should appear on the product page regardless of the setting for "Product Attribute to Use for Swatches in Product Listing", since displaying swatches in the product detail page is not related to how products are listed in the category or the product listing configuration.
I consider this is a bug, as the swatches should be independent of the listing configuration and should display properly on the product detail page regardless of the "Product Attribute to Use for Swatches in Product Listing" setting.
Steps To Reproduce
-
Select "Size" as an attribute in the "Product Attributes to Show as Swatches in Product Detail" section.
-
Ensure that "Size" is not selected for "Product Attribute to Use for Swatches in Product Listing".
-
View the product page.
Environment
- OpenMage: latest from the cloned repo
- PHP: 8.4Anything else?
Visual Comparison
Without Size selected in Product Listing
With Size selected in Product Listing
