Skip to content

Color attribute swatches are not visible if sorting is enabled #10628

Closed
@akashkarev

Description

@akashkarev

Color attribute swatches are not rendered correctly for the search result page if sorting for color attribute is enabled.

Preconditions

  1. Magento EE 2.1.& with sample data is installed.
  2. Used for Sorting in Product Listing option is enabled for the color attribute
  3. Used in Product Listing option is enabled for the color attribute
  4. Make sure eav cache is enabled

Steps to reproduce

  1. Flush eav cache
    php bin/magento cache:flush eav
  2. Run reindex for attributes
    php bin/magento indexer:reindex catalog_product_attribute
  3. Make search by "red" keyword.

Expected result

  1. List of results is shown
  2. Color attribute is presented for configurable attributes

Actual result

  1. List of results is shown
  2. Color options are missing

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions