custom/plugins/CrayssnLabsLeinwandbilder/src/Resources/views/storefront/page/search/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/search/index.html.twig' %}
  2. {% block page_search %}
  3.     {% if page.listing.total > 0 %}
  4.         {{ parent() }}
  5.     {% else %}
  6.         {% sw_include "@ClConfigurator/storefront/element/cms-element-stockphotos.html.twig" with {
  7.             element: {
  8.                 type: 'stockphotos',
  9.                 config: {
  10.                     search: {
  11.                         value: page.searchTerm
  12.                     },
  13.                     selectedCategory: {
  14.                         value: ''
  15.                     },
  16.                     enableExtremeIdentification: {
  17.                         value: '0'
  18.                     },
  19.                     enableMinAspectRatio: {
  20.                         value: '0'
  21.                     },
  22.                     enableSandbox: {
  23.                         value: '0'
  24.                     },
  25.                     enableUserSearch: {
  26.                         value: '1'
  27.                     },
  28.                     enableSquareGrid: {
  29.                         value: '0'
  30.                     }
  31.                 }
  32.             }
  33.         } %}
  34.     {% endif %}
  35. {% endblock %}