{% sw_extends "@Storefront/storefront/component/delivery-information.html.twig" %}
{% block component_delivery_information_default_text %}
{% set FURNPLAN_CONTAINER_LINE_ITEM_TYPE = constant('ArboroFurnplan\\Core\\Checkout\\Furnplan\\LineItemFactoryHandler\\FurnplanContainerLineItemFactory::TYPE') %}
{% if lineItem.type == FURNPLAN_CONTAINER_LINE_ITEM_TYPE %}
{% block component_delivery_information_default_text_furnplan %}
{% set shippingTime = product.deliveryTime.name|trans %}
{{ "detail.deliveryTimeAvailable"|trans({
'%name%': shippingTime
})|sw_sanitize }}
{% endblock %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}