My site will generate and email me a coupon code if I purchase a single or multiple coupon code products. But if I add other non-coupon products to my cart and checkout, my site does not generate a code at all.

I believe my setup is correct as the code generates for one of the situations described above. I have an inactive coupon that is connected to a product through feature.

Any ideas what could be causing this? Thank you.

Comments

DrCord’s picture

I am experiencing this exact same problem. Coupons that should be generated during a checkout with multiple items are not generated at all.

DrCord’s picture

OK, I backtracked my problem: What happens is the coupon is only generated on the order being marked complete and orders with tangible (shipable) products do not get automatically marked as complete, like an order with a non-tangible product does.

DrCord’s picture

I found a solution on this issue: https://drupal.org/node/1227980 - #2

You can set the order status that triggers the coupon creation here:
http://yoursite.com/admin/store/settings/products/edit/features