From 77c6d7c073575020010bd849b910f682e599dcd7 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Sun, 14 Jul 2024 16:36:40 +0200 Subject: [PATCH] optimize cart drawer --- snippets/cart-drawer.liquid | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/snippets/cart-drawer.liquid b/snippets/cart-drawer.liquid index 164a430..877baef 100644 --- a/snippets/cart-drawer.liquid +++ b/snippets/cart-drawer.liquid @@ -219,6 +219,30 @@ -%}
{%- if item.product.has_only_default_variant == false -%} + {% if item.product_type == "shx-texte" %} +
+ +
+ {%- for option in item.options_with_values -%} +
+
{{ option.name }}:
+
+ {{ option.value -}} + {%- unless forloop.last %}, {% endunless %} +
+
+ {%- endfor -%} +
+
+ {% endif %} + {%- for option in item.options_with_values -%}
{{ option.name }}: