{# Notice for plugins and theme developer: This template can be extended over sw_extends. The blocks from the templates in the /includes folder can be overwritten directly in this template merge 16.11.2020 #} {% use '@Framework/documents/includes/loop.html.twig' %} {% use '@Framework/documents/includes/footer.html.twig' %} {% use '@Framework/documents/includes/summary.html.twig' %} {% use '@Framework/documents/includes/payment_shipping.html.twig' %} {% use '@Framework/documents/includes/comment.html.twig' %} {% use '@Framework/documents/includes/shipping_address.html.twig' %} {% block document_base %} {# @var order \Shopware\Core\Checkout\Order\OrderEntity #} {# @var config \Shopware\Core\Checkout\Document\DocumentConfiguration #} {# @var context \Shopware\Core\Framework\Context #} {# @var customer \Shopware\Core\Checkout\Order\Aggregate\OrderCustomer\OrderCustomerEntity #} {% set customer = order.orderCustomer %} {% set total = order.lineItems.count %} {# @var billingAddress \Shopware\Core\Checkout\Order\Aggregate\OrderAddress\OrderAddressEntity #} {% set billingAddress = order.addresses.get(order.billingAddressId) %} {% set currencyIsoCode = order.currency.isoCode %} {% set locale = order.language.locale.code %} {% set languageId = order.language.id %} {% set nestedLineItems = order.nestedLineItems %} {% if config.itemsPerPage|intval === 0 or config.itemsPerPage <= 0 %} {% set itemsPerPage = 10 %} {% else %} {% set itemsPerPage = config.itemsPerPage|intval %} {% endif %}
{% block document_head %} {#{% if config.title %}#}