Liquid, JavaScript, themes, sales channels
Hey, I have a product which as 2 pictures (1 a picture and the second a GIF) in order for the Hover effect to work.
then with a code that was given to us, on the homepage the same product is featured only with the first image, and down on the homepage it shows again with the hover and the gif.
on the product page it self it shows both images, the picture and the gif. and I don't want it to show the gif, how is this possible to eliminate? that on the product page it self it will only show the first image of the product.
There isn't an option for that but you could edit the liquid code outputting the images on product page to not display that image based on its alt value / name / id.
how can I do that? what do I need to look for?
That depends on theme, it can be in product.liquid or in a section or a snippet. If you can do a global search look for something like
{% for image in product.images %}
then post the surrounding code here.
hey, im using the Showcase Theme
can't seem to find that line of code 😞
It looks like its a paid theme so I can't check.
maybe can you help me as a Shopify partner? I can link you to my store?
Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024