Forums / General Questions / delete discount coupon per customer

delete discount coupon per customer

Views: 1,780

Results 1 to 10 of 10
5 Dec 2011, 6:02 AM
#1
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

delete discount coupon per customer

I apologize if I have not been good to search in the forum, but honestly I have not found anything like that. I would simply delete the use of a discount coupon from a customer, so he can use the coupon again. (the discount coupon have 1 use per customer). Thank you

5 Dec 2011, 4:56 PM
#2
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: delete discount coupon per customer

Once the coupon has been deleted it can't be undone. But you can recreate the coupon as the same way you did it.

5 Dec 2011, 5:00 PM
#3
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: delete discount coupon per customer

I do not want to delete the coupon, I just want to cancel the use of coupons for that customer.

5 Dec 2011, 5:03 PM
#4
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: delete discount coupon per customer

the only way to cancel the coupons is deleted them so it won't be used.

5 Dec 2011, 5:07 PM
#5
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: delete discount coupon per customer

I explain better: my customer has made ​​a purchase using the discount coupon. For various reasons we have to cancel this order (goods no longer available), but my customer wants to use the voucher on another order. How to solve it?

5 Dec 2011, 5:12 PM
#6
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: delete discount coupon per customer

Once the coupon has been used on a previous order and it cannot be used again. The only way is to create another voucher for another order.

5 Dec 2011, 5:13 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: delete discount coupon per customer

If the Order was canceled and you want the customer to be able to use the Discount Coupon on another order, you would need to remove the record for its previous use in the table:
coupon_redeem_track

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Dec 2011, 5:13 PM
#8
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: delete discount coupon per customer

It's right! This is a good idea!

5 Dec 2011, 5:27 PM
#9
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: delete discount coupon per customer

Ajeh:

If the Order was canceled and you want the customer to be able to use the Discount Coupon on another order, you would need to remove the record for its previous use in the table:
coupon_redeem_track
I've found the id of my customer, I'v found it into coupon_redeem_track db table and symply I've delete record.

Great Ajeh, as always!

5 Dec 2011, 5:27 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: delete discount coupon per customer

Thanks for the update that this was able to work for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!