Shipping

{{ cart.shipping_method.name }}
{% for method in __SELF__.shippingMethods %} {% set isActiveMethod = cart.shipping_method.id == method.id %}

{{ method.name }}

{% if method.guaranteed_delivery_days %}

{% set days = method.guaranteed_delivery_days %} {{ 'offline.mall::frontend.shipping_method.guaranteed_delivery_days' | transchoice(days, {days: days}) }}

{% endif %}
{# If a shipping method has rates, we only display the price once it is selected. This way we can re-use the TotalCalculator's logic and display the effective price the user has to pay including the special rates. #} {% if method.rates.count > 0 %} {{ isActiveMethod ? (__SELF__.cart.totals.shippingTotal.totalPostTaxes | money ) : ( 'offline.mall::frontend.select_for_shipping_total' | trans ) }} {% else %} {{ method.price().integer > 0 ? (method.price().string | raw) : ('offline.mall::frontend.no_additional_charges' | trans) }} {% endif %}
{% if method.logo %} {% endif %}
{% else %}

No method available.

{% endfor %}