$this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
] =
round($this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
], 2
);
if (empty($this->sBasketData
[CheckoutKey::CURRENCY_NAME
])) { $this->sBasketData
[CheckoutKey::CURRENCY_NAME
] = 'EUR';
} if (empty($this->sBasketData
[CheckoutKey::CURRENCY_FACTOR
])) { $this->sBasketData
[CheckoutKey::CURRENCY_FACTOR
] = '1';
} $shop =
Shopware()->
Shop();
$mainShop =
$shop->
getMain() !== null ?
$shop->
getMain() :
$shop;
$taxfree = '0';
if (!
empty($this->sNet
)) { // Complete net delivery
$net = '1';
$this->sBasketData
[CartKey::AMOUNT_WITH_TAX_NUMERIC
] =
$this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
];
$this->sShippingcostsNumeric =
$this->sShippingcostsNumericNet;
$taxfree = '1';
} if (empty($this->sBasketData
[CartKey::AMOUNT_WITH_TAX_NUMERIC
])) { $this->sBasketData
[CartKey::AMOUNT_WITH_TAX_NUMERIC
] = '0';
}