{% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
{% block page_product_detail_buy_inner %}
{{ parent() }}
<div class="wabs-wishlist-product-page">
<span class="wabs-wishlist-product-page-login-prompt"
style="{{ context.customer == null ? "":"display:none" }}">
<a href='{{ path('frontend.account.login.page') }}?redirectTo=frontend.detail.page&redirectParameters={"productId":"{{ page.product.id }}"}'>
{{ shopware.config.WabWishlist.config.ProductPageNotLoggedInLinkText }}
</a>
</span>
<span class="wabs-wishlist-product-page-add"
style="{{ not page.extensions.on_wishlist.onWishlist and (context.customer != null) ? "":"display:none" }}">
<a href="#" class="wabs-wishlist-product-page-add-link"
data-product-number="{{ page.product.productNumber }}">
{{ shopware.config.WabWishlist.config.ProductPageAddLinkText }}
</a>
</span>
<span class="wabs-wishlist-product-page-added"
style="{{ page.extensions.on_wishlist.onWishlist and (context.customer != null) ? "":"display:none" }}">
{{ shopware.config.WabWishlist.config.ProductPagePreWishlistLinkText }}
<a href="{{ path('wabs.wishlist.index') }}">
{{ shopware.config.WabWishlist.config.ProductPageWishlistLinkText }}
</a>
</span>
</div>
{% endblock %}