Cannot display attributes those in "Used in Product Listing" set to yes
Nobody has claimed this yet.
- 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.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.