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
PHP promo code
Moderator: General Moderators
-
whamsicore
- Forum Newbie
- Posts: 8
- Joined: Thu Sep 30, 2010 4:18 pm
Re: PHP promo code
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
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
Re: PHP promo code
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.