custom/plugins/DtgsGoogleTagManagerSw6/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_detail %}
  3.     {# @deprecated tag:v6.5.0 - Bootstrap v5 removes `btn-block` class, use `d-grid` wrapper instead #}
  4.     {% if feature('v6.5.0.0') %}
  5.         <div class="d-grid">
  6.             <a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
  7.                class="btn btn-light product-button-detail"
  8.                title="{{ "listing.boxProductDetails"|trans|striptags }}">
  9.                 {{ "listing.boxProductDetails"|trans|sw_sanitize }}
  10.             </a>
  11.         </div>
  12.     {% else %}
  13.         <a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
  14.            class="btn btn-block btn-light product-button-detail"
  15.            title="{{ "listing.boxProductDetails"|trans|striptags }}">
  16.             {{ "listing.boxProductDetails"|trans|sw_sanitize }}
  17.         </a>
  18.     {% endif %}
  19. {% endblock %}
  20. {% block component_product_box_action_meta %}
  21.     {{ parent() }}
  22.     {% sw_include 'storefront/plugins/TagManager/product-card-action.html.twig' %}
  23. {% endblock %}