Advice and answers from the LangShop help center

In most cases, developers of themes include the snippet of the product parameters to the "cart.liquid" template.

During the theme's translating, we check the availability of this snippet. If it was not found, we create our own snippet immediately after the opening cart items loop ( example, after {% for item in cart.items %} ).

You can change position of these snippets as you need.

{% assign propertySize = item.properties | size %}
{% if propertySize > 0 %}
   {% for p in item.properties %}
      {% assign first_character_in_key = p.first | truncate: 1, '' %}
      {% unless p.last == blank or first_character_in_key == '_' %}
         <br>
         {{ p.first }}: {{ p.last }}
      {% endunless %}
   {% endfor %}
{% endif %}

Did this answer your question?

Contact Us
Chat