change discount conditions
This commit is contained in:
parent
5f4f10355e
commit
660c2c51be
@ -35,11 +35,7 @@ include dirname(__FILE__).'/../../config/config.inc.php';
|
||||
// Db::getInstance()->ExecuteS('
|
||||
// UPDATE ps_discount
|
||||
// SET
|
||||
// `value` = 0,
|
||||
// `id_discount_type` = 3,
|
||||
// `minimal` = 10,
|
||||
// `include_tax`= 0,
|
||||
// `id_currency` = 0
|
||||
// `include_tax`= 1,
|
||||
// WHERE id_discount IN ('.implode(',',$discount_toclean).')
|
||||
// ');
|
||||
|
||||
@ -93,7 +89,7 @@ function generateDiscount($id_customer)
|
||||
$discount->cumulable = 0;
|
||||
$discount->cumulable_reduction = 1;
|
||||
$discount->minimal = 10;
|
||||
$discount->include_tax = 0;
|
||||
$discount->include_tax = 1;
|
||||
$discount->cart_display = 0;
|
||||
$discount->active = 1;
|
||||
$discount->quantity = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user