// small change on quantity_per_user cart rule created on ValidateOrder

This commit is contained in:
gRoussac committed 2013-04-16 11:44:09 +02:00
1 parent 70176f07e6
commit 62fd5c6195
1 file changed
+1
+1
View File
@@ -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