PHP promo code

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
streetwood
Forum Newbie
Posts: 1
Joined: Fri Nov 12, 2010 7:19 am

PHP promo code

Post by streetwood »

Hi Guys,

all new to this site & just learning php so hello.

I was wondering if I could get some help on something:

I'm looking to create a promo text box on a a purchase form that sends a specific email.

Basically we sell a product and we have people who are on commission. We give them a promotional code that they give to potential customers to use on the site if they decide to purchase the item. Is there any way to set it so that an email can be sent to our employees to inform them when their particular promo code has been used? For example; I give employee X promo code ABC123. They give it to customer Y who uses it in when they purchase the item. Email is sent to employee X to let him know it has been used and his commission is on the way.

Essentially we want to use this system so that employees will know that we are not just pocketing their commission by denying that the customer used their promo code (not that we would!).

I am not sure if this is possible but I would really appreciate any help I can get from you guys on this matter...

Regards,

Streetwood
whamsicore
Forum Newbie
Posts: 8
Joined: Thu Sep 30, 2010 4:18 pm

Re: PHP promo code

Post by whamsicore »

If the promo codes given to each employee is unique, this would be very easy. You don't even need to send emails, you can just use a logfile to track the usage of each individual promo code. Essentially, every time a customer would use a promo code you can append a small record on time and user and promo code id onto a text file.

Of course, emailing would be straight forward as well. Just have the server send an email to itself (or external mailing accounts, doesn't matter)

Hope this helps
cal3igh
Forum Newbie
Posts: 2
Joined: Mon Nov 22, 2010 12:20 am

Re: PHP promo code

Post by cal3igh »

There is certain software you have to use for this purpose. You can download it so that you can put a promo text box in your page. You just have to remember that when you are promoting something it’s good to be straight to the point.
Post Reply