Shopify themes, liquid, logos, and UX
{% if product.handle == "red-light-oil-massager" %}
Show text ABC{% elsif product.handle == "purewater-derma-showerhead" %}show text xyz{% endif %}
I am using static text directly in custom liquid, it shows accordingly in admin panel when I am editing, but when I save and check live, it did not work, it keep showing "red-light-oil-massager" content on other product handle,
I have another similar case:-
I have slide groups, I am trying to show different slides, according to product Id's, same error, even after deleting all content of 1 product slide, it still appearing on other product,
Like
{% if product.id == 12345 %}
show slides from 1-2-3
{%elsif product.id == 6789 %}
show slides from 4-5-6
{% endif %}
now after deleting complete slides and the text of slides 1-2-3,
The live site still showing 1-2-3 slides and text of slide on product ID 6789(while in admin panel it showing correct)
I have cleared the cache, but still not resolving, can anyone help me with this?
Note:- I am not using custom data, is that the problem?
This is admin view in admin panel,
and this is what appears on live, even I have removed all these slides and text :()
Hi @Zainalee,
This will need to be checked in more detail, can I send you a collaborator invite? it will help me debug things better
If you have multiple markets, make sure that when you're editing in Customizer it happens under proper market.
Also, make sure that current product variable is actually called product where you apply your "Custom liquid".
Otherwise, if you can share actual liquid code and link to a page where it does not work as you wish it would be easier to suggest something.
I have no other active markets yet!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024