Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Adding Multiple Coupons for a Sale

Adding Multiple Coupons for a Sale

Views: 2,689

Results 1 to 11 of 11
26 Sep 2012, 2:14 PM
#1
jjmondoro avatar

jjmondoro

New Zenner

Join Date:
Aug 2012
Posts:
20
Plugin Contributions:
0

Adding Multiple Coupons for a Sale

Hi,

I am currently setting up a deal with another website to feature some of my products on their webpage. The customers that visit that website would be able to purchase a "code" to then go to my website and use that code to purchase one of my products.

What I would like to know...

Is there a way for me to set up multiple (500) randomly generated coupon codes all with the restrictions set to a specific category? Or am I going to have to do these 1 by 1?

Thank you.

Jason
https://www.hiddentreasurecandles.com

13 Apr 2013, 9:35 PM
#2
treblesand avatar

treblesand

New Zenner

Join Date:
Jun 2012
Posts:
9
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

Did you end up doing this one by one? Or did you find a solution? I need to make a similar number of codes available to a groupon type site and I'm not really looking forward to copying one by one! :)

jjmondoro:

Hi,

I am currently setting up a deal with another website to feature some of my products on their webpage. The customers that visit that website would be able to purchase a "code" to then go to my website and use that code to purchase one of my products.

What I would like to know...

Is there a way for me to set up multiple (500) randomly generated coupon codes all with the restrictions set to a specific category? Or am I going to have to do these 1 by 1?

Thank you.

Jason
https://www.hiddentreasurecandles.com

28 Apr 2013, 11:19 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Adding Multiple Coupons for a Sale

You might test this for multiple coupons ...

What it will do is overwrite your:
/your_secret_admin/coupon_admin.php
/your_secret_admin/includes/languages/english/coupon_admin.php
/your_secret_admin/includes/functions/general.php

and add files for:
/your_secret_admin/coupon_admin_export.php
/your_secret_admin/includes/languages/english/coupon_admin_export.php
/your_secret_admin/includes/extra_datafiles/coupon_exporter_database_names.php

It lets you create a Base Discount Coupon code and settings for the coupon then it will build from 1 to however many additional Discount Coupons you need with unique Discount Coupon codes built from the base code and copy the settings for the Discount Coupon and any restrictions ...

Then, you can obtain a Report for any matching Discount Coupon for the base code and export the matching Discount Coupons for creating a CVS file ...
This will be built into the Zen Cart v1.6 ... let us know how it works for you and if you need additional features ...

20 Jun 2013, 2:19 PM
#4
jsweb avatar

jsweb

Zen Follower

Join Date:
Jul 2005
Location:
UK and Ireland
Posts:
392
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

Ah Linda - that is nice and very timely! A client recently asked us for a module to generate 101 unique codes so they can team up with 'Groupon'

I look forward to testing this out on their site.

Thanks once again!

Kindest Regards

Jamie @JSWeb

20 Jun 2013, 3:06 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Adding Multiple Coupons for a Sale

Let us know how this works out for you ... :smile:

Just make sure that your Base Discount Coupons is properly defined before you generate the copies from it ...

Also on the export, I was unsure as to the format needed so any suggestions would be helpful ...

24 Jun 2013, 9:12 AM
#6
monstermaker avatar

monstermaker

New Zenner

Join Date:
Apr 2013
Location:
United Kingdom
Posts:
4
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

This is an excellent feature, but I have one problem with it. When I try to download the coupons I get a 500 error. All the coupons seem to has generated fine and I have tried to email one to myself, which worked fine, just cant download them all together. I am on the 1.5.1 version if this helps.

Any ideas?

29 Jun 2013, 5:40 PM
#7
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

Would this work with say We do a $10 coupon code for newsletters and are now have a 4th of July sale and need to allow both codes to work together?

Thanks!

29 Jun 2013, 5:49 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Adding Multiple Coupons for a Sale

You can have as many active Discount Coupons as you want, but only one Discount Coupon can be used per Order ...

29 Jun 2013, 5:51 PM
#9
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

How can 2 be used per order? I didn't see anything in the download section

29 Jun 2013, 6:19 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Adding Multiple Coupons for a Sale

Multiple Discount Coupons cannot be used on the same Order in Zen Cart, at this time ...

To change this, you would have to rewrite all the code and logic related to Discount Coupons ...

29 Jun 2013, 6:21 PM
#11
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Adding Multiple Coupons for a Sale

Ajeh:

Multiple Discount Coupons cannot be used on the same Order in Zen Cart, at this time ...

To change this, you would have to rewrite all the code and logic related to Discount Coupons ...

Thank you, I was hoping for a miracle but I do understand!