Střecha — vyznačte plochu pro novou krytinu not found: /var/www/default/templates/web_template//templates/widget-info-icon.xsl array (
'twig' =>
array (
'categories.webmap' => '{{data.item|json_encode|raw}}
',
'products.list' => '{% if data.xml_data_category_id == 116523 %}
{% else %}
{% set cats = [] %}
{% for item in data.item %}
{% if item.default_category not in cats %}
{% set cats = cats|merge([item.default_category]) %}
{% endif %}
{% endfor %}
{% for cat in cats %}
{% if cats|length > 1 %}
{% for item in data.item if cat == item.default_category %}
{% if loop.first %}
{{item.categories[ item.default_category].item.name}}
{% endif %}
{% endfor %}
{% endif %}
{% for item in data.item if cat == item.default_category %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{#
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}
',
'products.detail.alternatives' => '{% if data.item and data.item|length > 0 %}
{{data.app_texts.products_alternatives_heading}}
{% endif %}
{% for item in data.item %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}
Výřezy — vyznačte vše, co má na střeše zůstat not found: /var/www/default/templates/web_template//templates/widget-info-icon.xsl array (
'twig' =>
array (
'categories.webmap' => '{{data.item|json_encode|raw}}
',
'products.list' => '{% if data.xml_data_category_id == 116523 %}
{% else %}
{% set cats = [] %}
{% for item in data.item %}
{% if item.default_category not in cats %}
{% set cats = cats|merge([item.default_category]) %}
{% endif %}
{% endfor %}
{% for cat in cats %}
{% if cats|length > 1 %}
{% for item in data.item if cat == item.default_category %}
{% if loop.first %}
{{item.categories[ item.default_category].item.name}}
{% endif %}
{% endfor %}
{% endif %}
{% for item in data.item if cat == item.default_category %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{#
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}
',
'products.detail.alternatives' => '{% if data.item and data.item|length > 0 %}
{{data.app_texts.products_alternatives_heading}}
{% endif %}
{% for item in data.item %}
{% for group in item.attributes.group if group.group_id == 95 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'img\' %}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key == \'\' %}
{{items.attribute_name}}
{{items.content}}
{% endfor %}
{% endfor %}
{% for group in item.attributes.group if group.group_id == 91 %}
{% for items in group.items if items.content != \'\' and items.attribute_key != \'\' %}
{{items.attribute_name}}
{% endfor %}
{% endfor %}