custom/plugins/SwagCustomizedProducts/src/Resources/views/storefront/component/product/card/action.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
  2. {% block component_product_box_action_buy %}
  3.     {% set customizedProductsTemplate = product.extensions.swagCustomizedProductsTemplate %}
  4.     {% if customizedProductsTemplate and customizedProductsTemplate.active %}
  5.         {% block component_product_box_action_detail %}
  6.             {{ parent() }}
  7.         {% endblock %}
  8.     {% else %}
  9.         {{ parent() }}
  10.     {% endif %}
  11. {% endblock %}