{% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
{% block component_product_box_action_inner %}
{% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
{{ parent() }}
{% else %}
{% if not shopware.config.CogiThemeTulip.config.switchBasketDetailButtons %}
{% if not shopware.config.CogiThemeTulip.config.noBasketButton %}
{{ parent() }}
{% endif %}
{% else %}
<div class="product-action">
{% if shopware.config.CogiThemeTulip.config.useQuickView %}
<button
class="btn btn-block btn-light product-details-button cogi-quickview-btn"
data-toggle="modal"
data-url="/quickview/{{ id }}"
data-modal-class="cogi-quickview"
title="{{ "cogi.theme.tulip.quickview"|trans }}">
{{ "cogi.theme.tulip.quickview"|trans }}
</button>
{% else %}
<a href="{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}"
class="btn btn-block btn-light"
title="{{ "listing.boxProductDetails"|trans|striptags }}">
{{ "listing.boxProductDetails"|trans|sw_sanitize }}
</a>
{% endif %}
</div>
{% endif %}
{% endif %}
{% endblock %}