How do i create my own discount promo codes

nate_24
Contributor
Contributor

I'd like to email out a promotion code for $20 off online purchases to our internet newletter subscribers.
How do i set this up. Also if it can be done to have this promotional code only apply to certain products.

Login to Me Too
29 REPLIES 29

skier
Advisor
Advisor

Nice!

 

 

Regards,

 

skier

Login to Me Too

rita_tocco
New Community Member

Skier,

 

Hi there and hope all is well.

 

You seem to be the expert here with promo code work arounds w/ PayPal shopping carts.

 

The URL link you shared on this post is no longer avail. Can you please email me the code so that I can look to modify the buttom and use the same code. I am very new at paypal and dont know if it makes sense to go with a third party shopping cart. if my venture fails, then it would be waste.

 

I sell one product but with many different sizes (5,6,7,8,etc). All are priced the same. I want to be able to have a promo code for a fixed dollar amount, say $15.00 off and would like offer it on my direct mail post cards.

 

I would rather not have another landing page and wanted to know if there was another way around it.

 

thanks for your insights,

rita

Login to Me Too

pharwell
Member
Member

I am trying to get the codes as well, and can't access the links above. Can you tell me what the codes are?

Login to Me Too

outdoornh
New Community Member

I am looking for a way to integrate discount/promo codes.  Specifically I want to be able to track reps selling our product by their individual code, and offer a discount at the same time.  Each reps code will give a standard 10% off published price, will I be able to see a report at the end of the month showing which rep had which sales?

 

The links for the quilting site are down, are there any other links you could send me to?  

Login to Me Too

chevyfixr
Contributor
Contributor

 

This is how I did it. It takes 2 simple php files and I will keep it simple with no formatting.
1st file 
<!--referal_by.php-->
<form method="post" action="send_to_paypal.php">
Enter Discount Coupon Code here.</font><br />
<input type='text' name='salesrep' size='10' /><br />
Leave it blank if you don't have one.</font><br />
<input name="submit" type="submit" value="Your button's name goes here" />
</form>

 2nd file

 

<!--send_to_paypal.php-->
<?php
$salesrep = $_POST['salesrep'];

if ($salesrep == "Dan") {
$name = "paypal button code for Dan goes here";
}
elseif ($salesrep == "Sally") {
$name = "paypal button code for Sally goes here";
}
elseif ($salesrep != '') {
$name = "<h1>Code not on file</h1> 
UPPERCASE and lowercase matters make sure it was just as you saw it<br />
use your browsers back to try again";
}

 else { 
$name = "paypal button code with no discount goes here";
}

echo $name;
?>

 That is it 🙂

 

Oh on more thing. When entering the paypal code make sure you replace the " with '    It matters! Dan and Sally is the code. you can change it to whatever you like.

 

Hope you can figure it out 🙂

 

 

Login to Me Too

sakeith
Contributor
Contributor

is this code (1 and 2) used instead of paypal's code or dropped inside of it? Please tell me where to input it. Also, you say, make sure you replace the "with'? what do u mean by that?

 

thanks so much!

Login to Me Too

chevyfixr
Contributor
Contributor

in the paypal button code replace " with '

example

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="paypalnum">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 should now look like

 

<form target=‘paypal’ action=‘https://www.paypal.com/cgi-bin/webscr’ method=‘post’>
<input type=‘hidden’ name=‘cmd’ value=‘_s-xclick’>
<input type=‘hidden’ name=‘hosted_button_id’ value=‘paypalnum’>
<input type=‘image’ src=‘https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif’ border=‘0’ name=‘submit’ alt=‘PayPal - The safer, easier way to pay online!’>
<img alt=‘‘ border=‘0’ src=‘https://www.paypal.com/en_US/i/scr/pixel.gif’ width=‘1’ height=‘1’>
</form>

 

 

 

 

Login to Me Too

sakeith
Contributor
Contributor

If I promote an item for $10 off if they buy 2 items of equal or greater price, couldn't i just offer a partial refund? rather than make a special coupon code?

Login to Me Too

chevyfixr
Contributor
Contributor

Sure.

 

I made this code to track my sales team so I can pay them the correct commissions. It just happens to fill a void that you can't get from paypal at the moment unless you want to buy a professional shopping cart. If the code I supplied is byond your scope of understanding then you might find that it is money well spent to get your store up and running and buy a cart or have a programmer develop a custom cart. If you have the time you can learn how to code. sitepoint.com is a good place to start. 

 

Good luck this holiday 🙂

Login to Me Too

amnesia
Member
Member

so the answer is, you can't do a discount through paypal?!?

 

none of the links work and i dont have time to learn "advanced programing" skills.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.