Zen Cart Logo
Forums / General Questions / Is there an addon or easy way to do this?

Is there an addon or easy way to do this?

Views: 512

Results 1 to 3 of 3
15 Aug 2011, 9:25 PM
#1
neo2810 avatar

neo2810

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Is there an addon or easy way to do this?

I need to work out an easy way to create a unique discount code I can mass email all customers who have purchased a particular product.
I've got the email system set up to select all pending orders for each product ID already so all I need is a way to generate a random code for each email and store that code in a list somewhere which I can then refer to or copy.

Now I know I could use the gift cert emailer which will do exactly that, however the codes will not be for this site, they will be given as a list to the 3rd party supplier who will then set up the coupons on their own website for the discount to apply there. So, using the gift cert would cause all sorts of issues with my site and also create a huuuuge gift cert queue which I can do nothing about.

So, any ideas?

15 Aug 2011, 9:56 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Is there an addon or easy way to do this?

Not really. Though it wouldn't be difficult for a developer to knock you up a custom page that loaded your customers email addresses and used Zen Cart's mail function to send out emails with a random code.

But shouldn't the codes be generated by the system that needs to recognise them?

18 Aug 2011, 8:45 PM
#3
neo2810 avatar

neo2810

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Re: Is there an addon or easy way to do this?

Thanks Kuroi, I think I've worked out a way I can use the gift cert system to do what I need it to by disabling certain elements and modding some of it. I'm ok with PHP enough to do what I need to so I think we're good.

The codes are irrelevant, they just need to be recorded so we can send them to the relevant supplier who will load them onto his own website or keep a record to redeem against printed emails. :yes: