Проверьте шаблон Shopify
{% comment %}
Try using the conditional statements below in your liquid file
{% endcomment %}
{% if template == "product" %}
do something for products here
{% elsif template == "category" %}
do something for categories here
{% else %}
do something for everything else here
{% endif %}
CoderHomie