{% extends '::baseAjax.html.twig' %} {% block ajax_body %} {# if attributes|length>0 %} {% for attr in attributes%} {% if attr.id==attribute_id and attr.values[attribute_value_id]|length>0 %} {% endif %} {% endfor %} {% endif #} {% set sizePart='' %} {% set colorName='' %} {% if attributes|length>0 %} {% for attr in attributes%} {% if attr.label=="Colors" %} {% set colorName= attr.values[attribute_value_id]%} {% endif %} {% if attr.label=="Size" %} {% for key,size in attr.values %} {% set sizePart=sizePart~'
  • '~size~'
  • ' %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% endblock ajax_body %}