{% if (color_info is defined) and (color_info.is_trim_color == '1' or color_info.is_ink_color == '1' or color_info.is_barrel_color == '1') and (color_info.is_standard_color == '1') %}
{% else %}
{#
#}
{% if Qty.size is defined and config.allow_size == 1 and Qty.size|length>0 and Qty.size[0] > 0 %}
{% for qIndex,qty in Qty.quantity %}
{% set thisSizeId = Qty.size[qIndex] %}
{% if Qty.actual_quantity is defined %}
{% set actualQty = Qty.actual_quantity[qIndex] %}
{% else %}
{% set actualQty = -1 %}
{% endif %}
{% endfor %}
{% else %}
{% if Qty.split_quantity is defined %}
{% for qIndex,qty in Qty.split_quantity %}
{% if Qty.actual_quantity is defined %}
{% set actualQty = Qty.actual_quantity[qIndex] %}
{% else %}
{% set actualQty = -1 %}
{% endif %}
{% if extraColors is defined and extraColors is not null and extraColors != 'null' %}
{% for qIndex,qty in extraColors %}
{% set extraColorId = qty['color'] %}
{% set extraColorAttributeId = qIndex|replace({ 'id:': '' }) %}