custom/plugins/AtmosTheme/src/Resources/views/storefront/component/product/card/wishlist.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/wishlist.html.twig' %}
  2. {% block component_product_wishlist_button %}
  3.     <button
  4.         class="product-wishlist-{{ productId }} product-wishlist-action{% if appearance == 'circle' %}-circle{% endif %} product-wishlist-not-added product-wishlist-loading icon-btn"
  5.         title="{{ "listing.toggleWishlist"|trans|sw_sanitize }}"
  6.         data-add-to-wishlist="true"
  7.         data-add-to-wishlist-options="{{ addToWishlistOptions|json_encode }}"
  8.     >
  9.         {% block component_product_wishlist_icon %}
  10.             {% sw_icon 'note' style {'pack' : 'atmos'} %}
  11.             {% if showText %}
  12.                 <span class="icon-btn-text product-wishlist-btn-content text-wishlist-not-added product-wishlist-btn-content-{{ size }}">
  13.                     {{ "AtmosTheme.listing.note"|trans|sw_sanitize }}
  14.                 </span>
  15.                 <span class="icon-btn-text product-wishlist-btn-content text-wishlist-remove product-wishlist-btn-content-{{ size }}">
  16.                     {{ "AtmosTheme.listing.noteRemove"|trans|sw_sanitize }}
  17.                 </span>
  18.             {% endif %}
  19.         {% endblock %}
  20.     </button>
  21. {% endblock %}