When a user buys a product the system has to create a coupon code and email it with the rest of the order's info.

Comments

veshiyi2003’s picture

It would be great to have this.

volvic0402’s picture

Agreed. This is critical to a deals site, and would be great to have this.

that0n3guy’s picture

The coupon should be unique also. That way its trackable and can't be shared. To go along w/ that, there needs to be a way to output a list of coupon codes so as coupons are brought into a business, the cashier (for example) can cross the used coupon off the list.

yannisc’s picture

agree with that0n3guy.

We'll implement this in the next 2 weeks. (We have some paid work to do in the mean time).

Sansui’s picture

Definitely a crucial feature for a deals style website :)

Probably could even implement something through a cck computed field easily enough

malahide’s picture

any update on this? It's a little past the 2 weeks that were advised of above?

nchar’s picture

Status:Active» Needs work
yannisc’s picture

We're working on this, we'll have it on the next version... very soon!

nchar’s picture

Status:Needs work» Closed (fixed)
paulaM’s picture

Couponing has turned into a lifestyle for many in this limited economy. Doing whatever one can to save cash is only intelligent in times like these. A brand new report found which U.S. towns used the most online coupons. Atlanta, Ga. took the highest spot. Source of article: The most coupon-crazy cities in America

jaxon77’s picture

How or where is the coupon field being set in orders upon completion? I don't see it in the rules anywhere.

petros’s picture

can someone respond to what #11 says?

mxa055’s picture

The way I implemented all of the above is by create a module that when a deal expires I create a coupon code for each order (orders can only have 1 item) and save it along with the order.
I also change the state of the order at that moment, so a rule that sends out emails is triggered.

As for the list to give out to the store you only need to create a view that shows order related to a specific deal, having fields such as name, address, coupon code etc.

jaxon77’s picture

What I was asking is how the code is generated and where? It shows up in the orders but I'm unsure how that happens.

develop.css’s picture

What was the outcome of this issue? Does the Open Deals 7.x-1.14 version have the ability to create a coupon code and email it with the rest of the order's info?