custom/static-plugins/CytexTheme/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_bar  %}
  3. {% endblock %}
  4. {% block component_product_box_action_detail_bar %}
  5. {% endblock %}
  6. {% block component_product_box_action_detail %}
  7.     <a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
  8.        class="btn btn-block cytex-btn-hover-secondary"
  9.        title="{{ "listing.boxProductDetails"|trans|striptags }}">
  10.         {{ "listing.boxProductDetails"|trans|sw_sanitize }}
  11.     </a>
  12. {% endblock %}
  13. {% block page_product_detail_custom_quantity_field_select_button_minus %}
  14. {% endblock %}
  15.  {% block page_product_detail_custom_quantity_field_select_input_field %}
  16.      <label class="card-action-label" for="lineItems[{{ product.id }}][quantity]">
  17.          <input id="lineItems[{{ product.id }}][quantity]"
  18.                 class="custom-quantity-field-input h-100"
  19.                 name="lineItems[{{ product.id }}][quantity]" type="text"
  20.                 value="{{ product.minPurchase }}">
  21.      </label>
  22.  {% endblock %}
  23.  {% block page_product_detail_custom_quantity_field_select_button_plus %}
  24.  {% endblock %}
  25. {% block page_product_detail_custom_quantity_field_button %}
  26.     <div class="d-flex flex-wrap custom-quantity-field-btn">
  27.         <button class="btn btn-block btn-buy cytex-btn-hover-secondary"
  28.                 title="{{ "listing.boxAddProduct"|trans|striptags }}">
  29.             {{ "listing.boxAddProduct"|trans|striptags}}
  30.         </button>
  31.     </div>
  32. {% endblock %}