This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="font-family:arial; font-size:12px;"> | |
{% set currencyIsoCode = order.currency.isoCode %} | |
{{ order.orderCustomer.email }} | |
Hallo {{order.orderCustomer.salutation.letterName }} {{order.orderCustomer.firstName}} {{order.orderCustomer.lastName}},<br> | |
<br> | |
vielen Dank für Ihre Bestellung im {{ salesChannel.name }} (Nummer: {{order.orderNumber}}) am {{ order.orderDateTime|date }}.<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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 lineItems = order.lineItems %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="font-family:arial; font-size:12px;"> | |
{% set currencyIsoCode = order.currency.isoCode %} | |
Hallo {{order.orderCustomer.salutation.letterName }} {{order.orderCustomer.firstName}} {{order.orderCustomer.lastName}},<br> | |
<br> | |
vielen Dank für Ihre Bestellung im {{ salesChannel.name }} (Nummer: {{order.orderNumber}}) am {{ order.orderDateTime|date }}.<br> | |
<br> | |
<strong>Informationen zu Ihrer Bestellung:</strong><br> | |
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function getRedirectUrl($action) | |
{ | |
$token = Shopware()->Container()->get(\Shopware\Components\Cart\PaymentTokenService::class)->generate(); | |
//Shopware 5.3 + supports cart validation. | |
//In order to use it, we have to slightly modify the return URL. | |
if ($this->requestParams->getBasketUniqueId()) { | |
return $this->router->assemble( | |
[ | |
'controller' => 'PaypalUnified', |