[*] BO : new dimension added to the product filter in the cart rules

This commit is contained in:
dMetzger
2012-01-26 13:30:16 +00:00
parent 8164a7326e
commit 126ea0267a
14 changed files with 721 additions and 298 deletions
+1 -1
View File
@@ -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();