[-] 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:
@@ -111,7 +111,9 @@ class ParentOrderControllerCore extends FrontController
|
||||
else
|
||||
{
|
||||
$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
|
||||
|
||||
Reference in New Issue
Block a user