0

How can I display the sizes, 'size' attribute, in the frontend? Like in the Magento demo store, both color and size are shown under the product, I just want to display the size.

Thanks!

  • If my answer solves your concern then there is green right tick mark, hit that tickmark for right answer that will help future readers. – Nikunj Vadariya Jun 9 '18 at 6:12
0

You can follow this step

  1. GO to admin >> Store >> Product >> Search "Size" attribute and edit it
  2. Make sure your attribute type is either "Text Swatch" Or "Visual Swatch"
  3. Click on Store Front Tab and Select Yes for "Use is product listing"

enter image description here

0

Catalog Input Type for Store Owner: select Text swatch Or dropdown

And store property:

Used in Product Listing: Select "Yes"

Run command:

php bin/magento cache:flush

  • No, I want to display it, not hide. I have set Use in Product Listing to YES but it doesn't work – VirtusO Jun 8 '18 at 13:02
  • Run command : php bin/magento cache:flush and check again @VirtusO – Nikunj Vadariya Jun 8 '18 at 13:07
  • I have, also reindexed – VirtusO Jun 8 '18 at 13:10
  • 1
    Have you selected : Catalog Input Type for Store Owner: select Text swatch ? @VirtusO – Nikunj Vadariya Jun 8 '18 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.