custom/plugins/CoeHidePriceForCustomerGroup/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_inner %}
  3.     {% if not coeHideAddToCartButtons and not coeShowAddToCartTextReplace %}
  4.         {{ parent() }}
  5.     {% endif %}
  6.     {% if coeShowAddToCartTextReplace %}
  7.         {% if coeShowAddToCartRedirect %}
  8.             {% sw_include '@Storefront/storefront/component/product/redirect-button.html.twig' with {
  9.                 path: coeShowAddToCartRedirect
  10.             } %}
  11.         {% else %}
  12.             <button class="btn btn-block btn-buy"
  13.                     title="{{ "coeHidePrice.cartReplacement"|trans|striptags }}">
  14.                 {{ "coeHidePrice.cartReplacement"|trans|sw_sanitize }}
  15.             </button>
  16.         {% endif %}
  17.     {% endif %}
  18. {% endblock %}