I have a Buy X Get Y coupon set up and it works, but it seems to do some weird stuff when using a Maximum Discount Qty.
Coupon Set Up:
Buy 2 of a product and get 1 free of the same product.
Maximum Discount Qty = 3
Here's how the coupon behaves in different scenarios:
Example 1: Add product to cart with quantity of 2. Coupon updates qty to 3 and gives a discount for 1 of the products.
Example 2: Add product to cart with quantity of 4. Coupon updates qty to 6 and gives a discount for 2 of the products.
Example 3: Add product to cart with quantity of 6. Coupon updates qty to 9 and gives a discount for 3 of the products.
Example 4: Add product to cart with quantity of 7. Coupon updates qty to 9 and gives a discount for 3 of the products.
Example 5: Add product to cart with quantity of 8. Coupon doesn't change the quantity and gives a discount for ONLY 2 of the products when it should be giving a discount for 3 of the products.
Example 6: Add product to cart with quantity of 9. Coupon doesn't change the quantity and gives a discount for 3 of the products.
Example 7: Add product to cart with ANY quantity above 9. Coupon doesn't change the quantity and gives a discount for 3 of the products.
The real problem is Example 5. Can this be fixed?
Also, it seems more logical to me for the coupon to always add 3 more to the quantity if the customer has entered a quantity of 6 or more. For example, if the customer adds a product with a quantity of 10 the coupon would update the quantity to 13 and give a discount for 3 of the products. Is this doable?
I'm using AwoCoupon Pro 1.5.2 and Virtuemart 1.1.5
Thanks!
Coupon Set Up:
Buy 2 of a product and get 1 free of the same product.
Maximum Discount Qty = 3
Here's how the coupon behaves in different scenarios:
Example 1: Add product to cart with quantity of 2. Coupon updates qty to 3 and gives a discount for 1 of the products.
Example 2: Add product to cart with quantity of 4. Coupon updates qty to 6 and gives a discount for 2 of the products.
Example 3: Add product to cart with quantity of 6. Coupon updates qty to 9 and gives a discount for 3 of the products.
Example 4: Add product to cart with quantity of 7. Coupon updates qty to 9 and gives a discount for 3 of the products.
Example 5: Add product to cart with quantity of 8. Coupon doesn't change the quantity and gives a discount for ONLY 2 of the products when it should be giving a discount for 3 of the products.
Example 6: Add product to cart with quantity of 9. Coupon doesn't change the quantity and gives a discount for 3 of the products.
Example 7: Add product to cart with ANY quantity above 9. Coupon doesn't change the quantity and gives a discount for 3 of the products.
The real problem is Example 5. Can this be fixed?
Also, it seems more logical to me for the coupon to always add 3 more to the quantity if the customer has entered a quantity of 6 or more. For example, if the customer adds a product with a quantity of 10 the coupon would update the quantity to 13 and give a discount for 3 of the products. Is this doable?
I'm using AwoCoupon Pro 1.5.2 and Virtuemart 1.1.5
Thanks!