// small change on quantity_per_user cart rule created on ValidateOrder
This commit is contained in:
1 parent
70176f07e6
commit
62fd5c6195
1 file changed
+1
@@ -435,6 +435,7 @@ abstract class PaymentModuleCore extends Module
|
|||||||
|
|
||||||
$voucher->id_customer = $order->id_customer;
|
$voucher->id_customer = $order->id_customer;
|
||||||
$voucher->quantity = 1;
|
$voucher->quantity = 1;
|
||||||
|
$voucher->quantity_per_user = 1;
|
||||||
if ($voucher->add())
|
if ($voucher->add())
|
||||||
{
|
{
|
||||||
// If the voucher has conditions, they are now copied to the new voucher
|
// If the voucher has conditions, they are now copied to the new voucher
|
||||||
|
|||||||
Reference in new issue
Block a user