{{option.productTitle}}
{% if storeConfig.sku_spu_set == "4" %}
{% elsif storeConfig.sku_spu_set == "2" %}
{{lang.account.orders_detail.spu}}: {{option.spu | default:"-" }}
{% elsif storeConfig.sku_spu_set == "3" %}
{{lang.account.orders_detail.sku}}: {{option.sku | default:"-" }}
{% elsif storeConfig.sku_spu_set == "1" %}
{{lang.account.orders_detail.spu}}: {{option.spu | default:"-" }}, {{lang.account.orders_detail.sku}}: {{option.sku | default:"-" }}
{% else %}
{% endif %}
{% if option.sku_value %}
{{option.sku_value | replace : "
", ";" }}
{% endif %}
{% for item in option.custom_attr %}
{{ item.name }}
:
{% if item.type == "file" %}
{{ lang.account.orders.property_detail }}
{%- unless item.price == '0' -%}
(
{%- if item.price > 0 -%}
+
{%- else -%}
-
{%- endif -%}
{{ item.price | money }}
)
{%- endunless -%}
{%- elsif item.type == "image_group" -%}
{%- for el in item.value -%}
{{ el.value }}
{%- unless el.price == '0' -%}
(
{%- if el.price > 0 -%}
+
{%- else -%}
-
{%- endif -%}
{{ el.price | money }}
)
{%- endunless -%}
{%- unless forloop.last -%}
,
{%- endunless -%}
{%- endfor -%}
{% elsif item.type == "public_image" %}
{%- if item.price_type == '1' -%}
{%- for el in item.value -%}
{{el.value}}
{%- if el.price != 0 -%}(
{%- if el.price > 0 -%}+{%- else -%}-
{%- endif -%}
{{el.price | money }}
)
{%- endif -%}
{%- unless forloop.last -%},
{%- endunless -%}
{%- endfor -%}
{%- else -%}
{%- for el in item.value -%}
{{el.value}}
{%- if forloop.last -%}
{%- if item.price != 0 -%}(
{%- if item.price > 0 -%}+{%- else -%}-
{%- endif -%}
{{ item.price | money }}
)
{%- endif -%}
{%- endif -%}
{%- unless forloop.last -%},
{%- endunless -%}
{%- endfor -%}
{%- endif -%}
{% elsif item.type == "image_gallery" %}
{{ item.value }}
{%- unless item.price == '0' -%}
(
{%- if item.price > 0 -%}
+
{%- else -%}
-
{%- endif -%}
{{ item.price | money }}
)
{%- endunless -%}
{%- elsif item.type == "checkbox" or item.type == "block_text" or item.type == "image" -%}
{%- for el in item.value -%}
{{ el.value }}
{%- unless el.price == '0' -%}
(
{%- if item.price > 0 -%}
+
{%- else -%}
-
{%- endif -%}
{{ el.price | money }}
)
{%- endunless -%}
{%- unless forloop.last -%}
,
{%- endunless -%}
{%- endfor -%}
{% else %}
{{ item.value }}
{%- unless item.price == '0' -%}
(
{%- if item.price > 0 -%}
+
{%- else -%}
-
{%- endif -%}
{{ item.price | money }}
)
{%- endunless -%}
{% endif %}
{% endfor %}