$this->
View()->
assign(CheckoutKey::SHIPPING_COSTS_DIFFERENCE,
$this->
View()->
getAssign('sBasket'
)[CheckoutKey::SHIPPING_COSTS_DIFFERENCE
] ?? null
);
$this->
View()->
assign(CheckoutKey::AMOUNT,
$this->
View()->
getAssign('sBasket'
)[CheckoutKey::AMOUNT
]);
$this->
View()->
assign(CheckoutKey::AMOUNT_WITH_TAX,
$this->
View()->
getAssign('sBasket'
)[CheckoutKey::AMOUNT_WITH_TAX
] ?? 0.0
);
$this->
View()->
assign(CheckoutKey::AMOUNT_TAX,
$this->
View()->
getAssign('sBasket'
)[CheckoutKey::AMOUNT_TAX
]);
$this->
View()->
assign('sAmountNet',
$this->
View()->
getAssign('sBasket'
)[CartKey::AMOUNT_NET_NUMERIC
]);
$this->
View()->
assign('sPremiums',
$this->
getPremiums());
$this->
View()->
assign('sNewsletter',
isset($this->session
['sNewsletter'
]) ?
$this->session
['sNewsletter'
] : null
);
$this->
View()->
assign('sComment',
isset($this->session
['sComment'
]) ?
$this->session
['sComment'
] : null
);
$this->
View()->
assign('sShowEsdNote',
$this->
getEsdNote());
$this->
View()->
assign('sDispatchNoOrder',
$this->
getDispatchNoOrder());
$this->
View()->
assign('sRegisterFinished', !
empty($this->session
['sRegisterFinished'
]));
$this->
saveTemporaryOrder();
if ($this->
getMinimumCharge() || \
count($this->
View()->
getAssign('sBasket'
)[CartKey::POSITIONS
]) <= 0 ||
$this->
View()->
getAssign('sInvalidCartItems'
)) { $this->
forward('cart'
);
return;
}