Buy Now Button Variables Help

marlena-crigger
Contributor
Contributor

Hello, I am Lena and I am trying to figure out how to configure the Variables box to include a sale that I have going constantly.

 

The deal is, buy one, get one half off. So buying 2 at full price would give them the option of 2 at half off or one free. Buying 4 at full price would give them 2 free or 4 half off.

 

Sorry if that is confusing. At the very least, I need to know how to enter into the Variables box the by one get one half off discount.

 

Please dont direct me to a website with a ton of jargon I can not understand. I found this video, and it was really simple for me to catch the drift of it, but I can not get it to work correctly. (https://www.youtube.com/watch?v=VIGdfsxA3fM)

 

This is what I put into the Variable box under step #3 of creating a buy now button. :

 

discount_rate=0%
discount_rate2=50%

 

This is the code WITHOUT Variables. If someone could simply edit the code so it will reflect a buy one get one half off discount, I would greatly appreciate it! I have been pulling my hair out trying to get this to work.

 

<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="P8VQGPUL264F4">
<table>
<tr><td><input type="hidden" name="on0" value="Lengths">Lengths</td></tr><tr><td><select name="os0">
    <option value="12 Inch Leather Twist">12 Inch Leather Twist $7.50 USD</option>
    <option value="28 Inch Leather Twist">28 Inch Leather Twist $15.00 USD</option>
    <option value="36 Inch Leather Twist">36 Inch Leather Twist $20.00 USD</option>
    <option value="36+ Inch Leather Twist">36+ Inch Leather Twist $25.00 USD</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="Color Leather">Color Leather</td></tr><tr><td><select name="os1">
    <option value="Black">Black </option>
    <option value="Tan">Tan </option>
    <option value="Buckskin/Off-White">Buckskin/Off-White </option>
</select> </td></tr>
<tr><td><input type="hidden" name="on2" value="Slider Type">Slider Type</td></tr><tr><td><select name="os2">
    <option value="White Skulls">White Skulls </option>
    <option value="Silver Celtic">Silver Celtic </option>
    <option value="Pink (Kids)">Pink (Kids) </option>
    <option value="Dark Pink (Kids)">Dark Pink (Kids) </option>
    <option value="Yellow (Kids)">Yellow (Kids) </option>
    <option value="Green (Kids)">Green (Kids) </option>
    <option value="Blue (Kids)">Blue (Kids) </option>
    <option value="Dark Blue (Kids)">Dark Blue (Kids) </option>
</select> </td></tr>
<tr><td><input type="hidden" name="on3" value="Bottom Beads (2-4 Colors Max)">Bottom Beads (2-4 Colors Max)</td></tr><tr><td><input type="text" name="os3" maxlength="200"></td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.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.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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