{% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
{% block component_product_box_action_inner %}
{% if not shopChannel %}
<div class="product-action">
{{ block('page_product_detail_product_buy_button') }}
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block component_product_box_action_form %}
{% if not shopChannel %}
{% block component_product_box_action_buy_redirect_input %}
{{ parent() }}
{% endblock %}
{% block page_product_detail_buy_product_buy_info %}
{{ parent() }}
{% endblock %}
{% block page_product_detail_product_buy_meta %}
{{ parent() }}
{% endblock %}
{{ block('page_product_detail_product_buy_button') }}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block page_product_detail_product_buy_button %}
{% if not shopChannel %}
{% set shopUrlHALLO = shop_url_for_product(product.id, context.id, context.languageId) %}
{% set shopUrl = null %}
{% if shopUrl %}
<a class="scsw-product-buy-online" href="{{ shopUrl }}" title="{{ "steinco.buyOnline"|trans|sw_sanitize }}">
<button style="width: 100%; border: none; text-align: right; padding: 3px 1rem; color=#cdd5dc; font-weight: bold; ">
{% sw_icon 'cart' style { 'color': 'sc-blue'} %}<span>{{ "steinco.buyOnline"|trans|sw_sanitize }}</span>
</button>
</a>
{% else %}
{% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
showText: true,
size: 'md',
productId: product.id
} %}
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}