magento / magento/magento2

Cannot display attributes those in "Used in Product Listing" set to yes

Open
#37,331 16 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

feature request Progress: dev in progress Reported on 2.4.5-p1
Dominant language
PHP
Stars
12.2k
Forks
9.4k
PR merge metrics
No merged PRs in 30d

Description

Preconditions and environment

Magento 2.4.5p1
PHP 8.1

Steps to reproduce

Go to Shops -> Attribute -> Product
Create an attribute as a text field. (Attribute code: text_field Default Label: My text)

Under Storefront Properties set "Used in Product Listing" to Yes.

Go to Catalog Product Choose a product Edit it. Enter a text (e.g. abcde) in the text field My text.

Expected result

Go to frontend choose the category in which the product is displayed.

The attribute with the content "abcde" is displayed for the product.

Actual result

The attribute with the content "abcde" is not displayed for the product.

image

Additional information

If I set "Used for Sorting in Product Listing" to yes and click on Sort by in the frontend, the attribute is displayed.

Release note

No response

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”.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.