templates/product/templates/_like-cart.html.twig line 1

Open in your IDE?
  1. {% if productConfig.isEcommerce == true %}
  2.       <div class="flex-row space-around p-05">
  3.     <button type="button"
  4.     class="wishlist-btn btn p-1 bg-none b-none pointer svg-2"
  5.     data-wish-type="product"
  6.     data-relation-id="{{ product.saleItem.id }}"
  7.     {% if app.user %}
  8.         data-url="{{ path('app_user_wish_toggle') }}"
  9.     {% endif %}
  10. >
  11.         {% include 'svg/heart.svg' %}
  12.     </button>
  13.     <button type="button"
  14.     class="cart-btn btn p-1 bg-none b-none pointer svg-2"
  15.     data-sale-item-id="{{ product.saleItem.id }}"
  16.     {% if app.user %}
  17.         data-url="{{ path('app_user_cart_toggle') }}"
  18.     {% endif %}
  19. >
  20.         {% include 'svg/cart.svg' %}
  21.     </button>
  22. </div>
  23.     {% endif %}