...
Navigate to the attribute's detail in Stores → Attributes → Product.
Then, set the option Use in product listingProduct Listing to Yes and save attribute details:
Step #3 - Reindex Product Index
...
Code Block | ||
---|---|---|
| ||
php bin/magento indexer:reindex |
...
Step #4 - Flush Cache Storage
...