Closed
Description
Preconditions and environment
- 2.4.5
- Sample data
Steps to reproduce
To test this, we will create a test attribute and assign values to the products in the sample data category "Bag", and then attempt to sort by the test attribute.
- Stores -> Attributes -> Product
- Add New Attribute
- Properties Tab
- Default Label = test
- Catalog Input Type for Store Owner = Dropdown
- Add Option "first"
- Add Option "second"
- Add Option "third"
- Add Option "fouth"
- Storefront Properties Tab
- Used for sorting in product listing = Yes
- Leave all other options as default
- Save Attribute
- Stores >Attributes -> Attribute Set
- Select Bag
- Drag test attribute into Product Details group
- Save
- Catalog -> Products -> Add filter to only show products in Attribute Set "Bag"
- Configure the following products to have test attribute values
- Joust 24-MB01 - fourth
- Fusion 24-MB02 - third
- Crown Summit 24-MB03 - second
- Strive 24-MB04 - first
- Wayfarer 24-MB05 - fourth
- Rival Field 24-MB06 - third
To make testing easier, remove all other products that have attribute set of "Bag" to leave only the above 6 items in the filtered view.
- Clear cache
- Go to frontend and browse to the Bag category.
- Sort by test
Expected result
The products should be ordered by test attribute. (Attribute value in brackets)
- Strive (first)
- Crown Summit (second)
- Fusion (third)
- Rival Field (third)
- Joust (fourth)
- Wayfarer (fourth)
Actual result
Additional information
No response
Release note
Products can now be sorted on the Product Listing pages by custom attribute of Dropdown type.
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”.