Skip to content
Code-Schnipsel Gruppen Projekte
Commit d258d03a erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: add coupony only at OrderInProcess

Übergeordneter 71a3b3b5
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -360,6 +360,10 @@ protected static function addSessionCouponsToOrder($Order, $coupons)
*/
protected static function addCouponToOrder($Order, $coupon)
{
if (!($Order instanceof QUI\ERP\Order\OrderInProcess)) {
return;
}
try {
$code = Handler::sanitizeCode($coupon);
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren