What is this suspicious code on our Shopify?

20 0 6

We have been having many problems with our store. The product prices have been scrambled and manual price edit won't fix the issue. The prices are different on the collection page than on the product page for the same product.


I found this code in featured-collections.liquid:


{%- capture hack -%}
{%- comment -%}This is just an ugly hack to make those variables appear as part of the theme editor in the General Settings{%- endcomment -%}
{% if section.settings.layout_mode == 'grid' %}{{ settings.product_list_horizontal_spacing }},{{ settings.product_list_vertical_spacing }}{% endif %}
{%- endcapture -%}


What could this code be and should we be concerned?

Replies 0 (0)