custom/plugins/ThemeOkeonline/src/Resources/views/storefront/component/product/card/box-standard.html.twig line 1

Open in your IDE?
  1. {# Note, overwriting blocks within this file will overwrite the blocks for ALL versions #}
  2. {% extends  theme_config('productListingStylesProductBoxVersion') == 'version-01' ? '@ThemeOkeOnline/storefront/component/product/card/versions/version-01/box-standard.html.twig' :
  3.             theme_config('productListingStylesProductBoxVersion') == 'version-02' ? '@ThemeOkeOnline/storefront/component/product/card/versions/version-02/box-standard.html.twig' :
  4.             theme_config('productListingStylesProductBoxVersion') == 'version-03' ? '@ThemeOkeOnline/storefront/component/product/card/versions/version-03/box-standard.html.twig' :
  5.     '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
  6. {% set enableCharacteristics = theme_config('productListingStylesProductBoxDisplayCharacteristics') and layout == 'standard' %}
  7. {% set enableAttributes = theme_config('productListingStylesProductBoxDisplayAttributes') and layout == 'standard' %}
  8. {% set enableProsCons = theme_config('productListingStylesProductBoxDisplayProsCons') and layout == 'standard' %}
  9. {% block component_product_box_variant_characteristics %}
  10.     {% if enableCharacteristics == true %}
  11.         {{ parent() }}
  12.     {% endif %}
  13.     {% if enableAttributes == true %}
  14.         {% sw_include '@parent/storefront/component/product/card/attribute-list.html.twig' ignore missing %}
  15.     {% endif %}
  16.     {% if enableProsCons == true %}
  17.         {# Title can be populated if necessary#}
  18.         {% sw_include '@parent/storefront/element/cms-element-oo-productprosandcons.html.twig' ignore missing  with {
  19.             'element': {"config":{"title":{"value":""}}}
  20.         } %}
  21.     {% endif %}
  22. {% endblock %}