[-] CORE : After adding cart rule redirect improvements
This allows us display success message after adding CartRule or create other actions
This commit is contained in:
1 parent
1d5cf86d19
commit
edb72662bf
1 file changed
+3
-1
@@ -111,7 +111,9 @@ class ParentOrderControllerCore extends FrontController
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->context->cart->addCartRule($cartRule->id);
|
$this->context->cart->addCartRule($cartRule->id);
|
||||||
Tools::redirect('index.php?controller=order-opc');
|
if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 1)
|
||||||
|
Tools::redirect('index.php?controller=order-opc&addingCartRule=1');
|
||||||
|
Tools::redirect('index.php?controller=order&addingCartRule=1');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user