{# Pakt alles uit andere files. ook kwa filter zie restocking en sold out #}
{% sw_extends '@parent/storefront/component/delivery-information.html.twig' %}
{# (shopware) parent switches between blocks #}
{# Available #}
{% block component_delivery_information_default %}
{% sw_include "@parent/storefront/component/delivery-widget.html.twig" ignore missing %}
{% endblock %}
{# Available with deliverydate #}
{% block component_delivery_information_available %}
{% sw_include "@parent/storefront/component/delivery-widget.html.twig" ignore missing %}
{% endblock %}
{# Restocking #}
{% block component_delivery_information_restock %}
{% sw_include "@parent/storefront/component/delivery-widget.html.twig" ignore missing with { 'availability': 'LimitedAvailability' } %}
{% endblock %}
{# Sold out #}
{% block component_delivery_information_soldout %}
{% sw_include "@parent/storefront/component/delivery-widget.html.twig" ignore missing with { 'availability': 'OutOfStock' } %}
{% endblock %}