Hi,
So I have looked at various threads which seemed to be relevant, but have not found a reply which does what I am looking to achieve.
We have apparel on our store. Some of our items are unisex. However, some items are for men and some for women. When a customer clicks on the men’s collection and sees a unisex shirt, we want the picture they see to have a guy on it. And likewise a picture of a woman for women’s collection.
The way we would like to achieve this is to add code to the effect of:
IF collection title contains “men’s”
THEN show 2nd product image
ELSE show featured image
The problem is, I am not exactly sure how and/or where to write this sudo code into real code in our theme (Empire from Pixel Union).
Greatly appreciate help.
Our store link for an example is https://store.ihopkc.org/collections/mens-apparel
