I'm playing around with commerce_coupon and would like to request a feature to allow coupons for a free product.

EG - Spend $100 and get a free "Drupal Hat" [Pick Product from your Catalog]

I'm new to commerce (as I guess most people are) so even if there's not enough interest to move this to the priority list if you could suggest a few ideas for how this might be done I can take a look at writing a patch.
(I'm also fairly new to module development but you can't learn without trying ;)

Thanks for your work on this module.

Comments

hunziker’s picture

Status: Active » Closed (works as designed)

I have not tested it yet, but it should work as follow:

Create a rule, which gets triggered after an order is created. If the order is bigger then 100$, create a new coupon. The coupon code can be send to the customer by rules over e-mail.

Such use cases will never be a part of the coupon module, because they are to specific and they can be implemented by rules.

If something not works, then post a bug report. For instance I close this issue.

afoster’s picture

Thank you for the response but I was thinking about a different use case. What you've outlined would be great for rewarding a person for spending a certain amount on money and then sending them a coupon, but I was hoping to accomplish something a little different.

What I'm trying to implement is a coupon code where if they spend a certain amount of money, and enter the coupon code, a product get added to their cart which is free. Basically the key mechanism would be to some how add a specific product to the cart as a result of entering the coupon. This product could either have a $0 cost, or you could add a cash discount equal to the product's cost.

So the steps the shopper would go though would be:

1. Shopper has a coupon emailed to them - "Spend $100 at my store and get a free hat"
2. In the store they add products to the cart until they've spent more then $100, then they checkout.
3. Enter in their coupon
4. A hat is added to the cart (Either with a cost of $0 or with a cash discount equal to the hat's regular price)

Let me know if you think this is possible.

Thank you

oturpin’s picture

Issue summary: View changes

Hello,

Is there any new thoughts about the feature ?
I am also testing coupon module , and I don't see any of this functionnality ?

Thx for feedback