{% sw_extends '@Storefront/storefront/page/account/_page.html.twig' %} {% block page_account_main_content %} {% block page_account_overview %}
{% block page_account_overview_shipping_warning %} {% set ableToShipToShippingCountry = context.customer.defaultShippingAddress.country.shippingAvailable %} {% if not ableToShipToShippingCountry %} {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'warning', content: 'account.overviewNotAbleToShip'|trans|sw_sanitize } %} {% endif %} {% endblock %} {% block page_account_overview_request_group_info %} {% if page.customer.requestedGroup %} {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'info', content: 'account.overviewCustomerGroupRequest'|trans({ '%group%': page.customer.requestedGroup.translated.name }) } %} {% endif %} {% endblock %} {% block page_account_overview_welcome %}

{{ 'account.overviewTitle'|trans|sw_sanitize }}

{% block page_account_overview_welcome_intro %}

{{ 'account.overviewInfo'|trans|sw_sanitize }}

{% endblock %}
{% endblock %} {% block page_account_overview_main %}
{% block page_account_overview_profile %} {% endblock %}
{% endblock %} {% block page_account_overview_newsletter %}
{% block page_account_overview_newsletter_title %}

{{ 'account.newsletterTitle'|trans|sw_sanitize }}

{% endblock %} {% block page_account_overview_newsletter_content %}
{% sw_include '@Storefront/storefront/page/account/newsletter.html.twig' with { newsletterAccountPagelet: page.getNewsletterAccountPagelet() } %}
{% endblock %}
{% endblock %} {% block page_account_overview_addresses_include %} {% sw_include '@Storefront/storefront/page/account/address.html.twig' %} {% endblock %} {% block page_account_overview_newest_order %} {% if page.newestOrder %}
{% block page_account_overview_newest_order_title %}

{{ 'account.overviewNewestOrderHeader'|trans|sw_sanitize }}

{% endblock %} {% block page_account_overview_newest_order_content %} {% block page_account_overview_newest_order_table %}
{% block page_account_overview_newest_order_table_body %}
{% sw_include '@Storefront/storefront/page/account/order-history/order-item.html.twig' with { order: page.newestOrder } %}
{% endblock %}
{% endblock %} {% endblock %}
{% endif %} {% endblock %}
{% endblock %} {% endblock %}