{% sw_extends "@Storefront/storefront/page/product-detail/buy-widget.html.twig" %}
{% block page_product_detail_buy_form %}
{# DEV-3611#}
{% if
2023 == "now"|date("Y") and
11 == "now"|date("m") and
29 < "now"|date("d") and
31 > "now"|date("d") and
page.product.manufacturer.translated.name == 'Schwarzwaldmarie'
%}
<div class="alert alert-has-icon alert-info" role="alert">
{% sw_icon 'marketing' %}
<div class="alert-content-container">
<div class="alert-content">
{{ "zweipunkt.promotion.banner"|trans }}
</div>
</div>
</div>
{% elseif
2023 == "now"|date("Y") and
12 == "now"|date("m") and
page.product.manufacturer.translated.name == 'Schwarzwaldmarie'
%}
<div class="alert alert-has-icon alert-info" role="alert">
{% sw_icon 'marketing' %}
<div class="alert-content-container">
<div class="alert-content">
{{ "zweipunkt.promotion.banner"|trans }}
</div>
</div>
</div>
{% endif %}
{% if page.product.restockTime >= 99 and page.product.availableStock < 1 %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}