0

Is it possible to show image swatches only on product page, and on category pages, related, upsell sliders to stay default color swatches. By default magento configuration its colors or image swatches everywhere.

asked May 12, 2021 at 12:14

1 Answer 1

0

If you want to have a red swatch (for example), you have to create an attribute called color, set the input type to swatch and give it an option of red.

You can't give it 2 values where one is a #hex color and another one an image.

You might have to create 2 attributes where one is a color swatch and one is an image swatch, and choose where they show up. One on the product page and the other one everywhere else.

It would be a maintenance nightmare and I wouldn't recommend doing this, but it would work

answered May 12, 2021 at 13:46
1
  • sorry, when I said image swatch on product page, I meant product image. Like when you put to the attribute COLOR -> 'Use Product Image for Swatch if Possible' to YES. This option put product swatch images on every page (category, product..) but i would like to put image swatches only on product page. the rest to stay colors. Commented May 12, 2021 at 17:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.