custom/plugins/econdCrossSelll/src/Resources/views/storefront/block/cms-block-image-three-column.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/block/cms-block-image-three-column.html.twig" %}
  2. {% block block_image_three_column_left %}
  3.     {% set element = block.slots.getSlot('left') %}
  4.     {% if(element.type == 'econda-cross-sell') %}
  5.         {% set cs_config = element.config|json_encode() %}
  6.         <div class="col-md-4" id="ec-{{ element.id }}" data-element-id="{{ element.id }}" data-element-type="{{ element.type }}" data-widget-id="{{ element.config.widgetId.value }}" data-cross-sell-instance="{{ ECS['econdCrossSelll.config.clientId'] }}" data-csConfig="{{ cs_config }}" data-category="{{ categories|json_encode }}" data-econda-cross-sell>
  7.     {% else %}
  8.         <div class="col-md-4" data-cms-element-id="{{ id }}">
  9.     {% endif %}
  10.         {% block block_image_three_column_left_inner %}
  11.             {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  12.         {% endblock %}
  13.     </div>
  14. {% endblock %}
  15. {% block block_image_three_column_center %}
  16.     {% set element = block.slots.getSlot('center') %}
  17.     {% if(element.type == 'econda-cross-sell') %}
  18.         {% set cs_config = element.config|json_encode() %}
  19.         <div class="col-md-4" id="ec-{{ element.id }}" data-element-id="{{ element.id }}" data-element-type="{{ element.type }}" data-widget-id="{{ element.config.widgetId.value }}" data-cross-sell-instance="{{ ECS['econdCrossSelll.config.clientId'] }}" data-csConfig="{{ cs_config }}" data-category="{{ categories|json_encode }}" data-econda-cross-sell>
  20.     {% else %}
  21.         <div class="col-md-4" data-cms-element-id="{{ id }}">
  22.     {% endif %}
  23.         {% block block_image_three_column_center_inner %}
  24.             {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  25.         {% endblock %}
  26.     </div>
  27. {% endblock %}
  28. {% block block_image_three_column_right %}
  29.     {% set element = block.slots.getSlot('right') %}
  30.     {% if(element.type == 'econda-cross-sell') %}
  31.         {% set cs_config = element.config|json_encode() %}
  32.         <div class="col-md-4" id="ec-{{ element.id }}" data-element-id="{{ element.id }}" data-element-type="{{ element.type }}" data-widget-id="{{ element.config.widgetId.value }}" data-cross-sell-instance="{{ ECS['econdCrossSelll.config.clientId'] }}" data-csConfig="{{ cs_config }}" data-category="{{ categories|json_encode }}" data-econda-cross-sell>
  33.     {% else %}
  34.         <div class="col-md-4" data-cms-element-id="{{ id }}">
  35.     {% endif %}
  36.         {% block block_image_three_column_right_inner %}
  37.             {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  38.         {% endblock %}
  39.     </div>
  40. {% endblock %}