[*] BO : new dimension added to the product filter in the cart rules
This commit is contained in:
1 parent
8164a7326e
commit
126ea0267a
14 files changed
+721
-298
No files matched your search
@@ -330,7 +330,7 @@ abstract class PaymentModuleCore extends Module
|
||||
|
||||
if ($id_order_state != Configuration::get('PS_OS_ERROR') && $id_order_state != Configuration::get('PS_OS_CANCELED'))
|
||||
{
|
||||
// Create a new instance of Cart Rule without id_lang, in order to update it quantity
|
||||
// Create a new instance of Cart Rule without id_lang, in order to update its quantity
|
||||
$cart_rule_to_update = new CartRule($cart_rule_obj->id);
|
||||
$cart_rule_to_update->quantity = $cart_rule_to_update->quantity - 1;
|
||||
$cart_rule_to_update->update();
|
||||
|
||||
Reference in new issue
Block a user