{% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
{# ----- add detail button before buy button ----- #}
{% block component_product_box_action_buy %}
<div class="detailButton">
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
class="btn btn-block btn-outline-dark"
title="{{ "listing.boxProductDetails"|trans|striptags }}">
{{ "listing.boxProductDetails"|trans|sw_sanitize }}
</a>
</div>
{{ parent() }}
{% endblock %}