'subject' =>
$this,
'details' =>
$this->sBasketData
[CartKey::POSITIONS
],
'orderId' =>
$orderID,
]);
// Save Billing and Shipping-Address to retrace in future
$this->
sSaveBillingAddress($this->sUserData
['billingaddress'
],
$orderID);
$this->
sSaveShippingAddress($this->sUserData
['shippingaddress'
],
$orderID);
$this->sUserData =
$this->
getUserDataForMail($this->sUserData
);
$details =
$this->
getOrderDetailsForMail( $this->sBasketData
[CartKey::POSITIONS
] );
$variables =
[ 'sOrderDetails' =>
$details,
'billingaddress' =>
$this->sUserData
['billingaddress'
],
'shippingaddress' =>
$this->sUserData
['shippingaddress'
],
'additional' =>
$this->sUserData
['additional'
],
'sShippingCosts' =>
$this->sSYSTEM->sMODULES
['sArticles'
]->
sFormatPrice($this->sShippingcosts
) . ' ' .
$this->sBasketData
[CheckoutKey::CURRENCY_NAME
],
'sAmount' =>
$this->sAmountWithTax ?
$this->sSYSTEM->sMODULES
['sArticles'
]->
sFormatPrice($this->sAmountWithTax
) . ' ' .
$this->sBasketData
[CheckoutKey::CURRENCY_NAME
] :
$this->sSYSTEM->sMODULES
['sArticles'
]->
sFormatPrice($this->sAmount
) . ' ' .
$this->sBasketData
[CheckoutKey::CURRENCY_NAME
],
'sAmountNumeric' =>
$this->sAmountWithTax ?
$this->sAmountWithTax :
$this->sAmount,