custom/plugins/WabWishlist/src/Resources/views/storefront/page/product-detail/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  2. {% block page_product_detail_buy_inner %}
  3.     {{ parent() }}
  4.     <div class="wabs-wishlist-product-page">
  5.         <span class="wabs-wishlist-product-page-login-prompt"
  6.               style="{{ context.customer == null ? "":"display:none" }}">
  7.                 <a href='{{ path('frontend.account.login.page') }}?redirectTo=frontend.detail.page&redirectParameters={"productId":"{{ page.product.id }}"}'>
  8.                     {{ shopware.config.WabWishlist.config.ProductPageNotLoggedInLinkText }}
  9.                 </a>
  10.         </span>
  11.         <span class="wabs-wishlist-product-page-add"
  12.               style="{{ not page.extensions.on_wishlist.onWishlist and (context.customer != null) ? "":"display:none" }}">
  13.             <a href="#" class="wabs-wishlist-product-page-add-link"
  14.                data-product-number="{{ page.product.productNumber }}">
  15.                 {{ shopware.config.WabWishlist.config.ProductPageAddLinkText }}
  16.             </a>
  17.         </span>
  18.         <span class="wabs-wishlist-product-page-added"
  19.               style="{{ page.extensions.on_wishlist.onWishlist and (context.customer != null) ? "":"display:none" }}">
  20.             {{ shopware.config.WabWishlist.config.ProductPagePreWishlistLinkText }}
  21.             <a href="{{ path('wabs.wishlist.index') }}">
  22.                 {{ shopware.config.WabWishlist.config.ProductPageWishlistLinkText }}
  23.             </a>
  24.         </span>
  25.     </div>
  26. {% endblock %}