{% assign multiplier = 1 -%} {% if attributes -%} {% for attributeGroup in attributes -%} {% if forloop.first -%}
{% endif -%} {% endfor -%} {% for attributeGroup in attributes -%} {% for attributeGroupItem in attributeGroup[1] -%} {% if inventoryByAttributes -%}{% assign productCode = inventoryByAttributes[forloop.index0].sku -%}{% endif -%}
{{ productCode }}
{{ name | split: ' | ' | first }} {{ attributeGroupItem.name }} {% assign manualPackageType = custom3 | split: ',' -%} {% assign totalItems = manualPackageType | size == 2 -%} {% if totalItems == 2 -%}{% assign multiplier = manualPackageType[0] -%}{% endif -%}
{% if name contains "|" -%}{{ name | split: ' | ' | last }}{% else -%} {% endif -%}
{% if minUnits > 1 -%}Min {{ minUnits }} units{% endif -%}
1 -%} readonly{% endif -%}>   
{% endfor -%} {% endfor -%} {% else -%}
{{ productCode }}
{{ name | split: ' | ' | first }} {% if custom3 != "" -%} {% assign manualPackageType = custom3 | split: ',' -%} {% assign totalItems = manualPackageType | size == 2 -%} {% if totalItems == 2 -%}{% assign multiplier = manualPackageType[0] -%}{% endif -%}
{% endif -%}
{% if name contains "|" -%}{{ name | split: ' | ' | last }}{% else -%} {% endif -%}
{% if minUnits > 1 -%}Min {{ minUnits }} units{% endif -%}
1 -%} readonly{% endif -%}>   
{% endif -%}