Skip to content

[BUG] Configurable attribute options order reversed on category page #5132

@addison74

Description

@addison74

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the latest version, when viewing a configurable product:

On the Product Detail Page, the configurable attribute (e.g., size) options are displayed in the correct order as defined in the backend.

Image

On the Category / Product Listing Page, the same configurable attribute options appear in reversed order.

Image

This behavior can be confusing for users and inconsistent with the product detail display.

Expected Behavior

The configurable attribute options should appear in the same order on the category page as on the product detail page, respecting the order set in the backend.

Steps To Reproduce

  1. Create a configurable product with a dropdown attribute (e.g., size) that has multiple options (S, M, L, XL).
Image
  1. Ensure the attribute is set to be used in product listings.

  2. View the product on the Product Detail Page – the options are in the correct order (S → M → L → XL).

  3. View the product on the Category Page (e.g., using swatches or options) – the options are reversed (XL → L → M → S).

Environment

- OpenMage: latest cloned from the repository, no sample data
- PHP: 8.4
- Theme: RWD (default OpenMage / Magento RWD theme)
- Configurable Swatches enabled
- Attribute used in product listing
- No custom modifications to sorting applied

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions