getUserDataForMail example


        $this->eventManager->notify('Shopware_Modules_Order_SaveOrder_ProcessDetails', [
            '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],
            
Home | Imprint | This part of the site doesn't use cookies.