{% set product = variant.product %}
{{ item.productName }} {{ variant.code }} {% if product.hasOptions() %} {% for optionValue in variant.optionValues %} {{ optionValue.value }} {% endfor %} {% elseif item.variantName is not null %} {{ item.variantName }} {% endif %}