cancel
Showing results for 
Search instead for 
Did you mean: 

Additional shipping choice

Options
unisourcefood
Contributor
Posted on

How do I add "Common Carrier" to the list of shipping choices? Sometimes I need to hire a truck to dfeleiver my ovens to customers. I dont see any options.

1 REPLY 1

Additional shipping choice

Options
Quandary
Advisor

Unfortunately, you can't modify or add new shipping choices.  What you see is what you get.

 

However, there is a work around that does work but, it takes some manual coding, the shipping override variables and perhaps the use of a script to manage the choices and then pass that data to the PayPal Checkout Screens.

 

Here's one example you can tinker with for a few ideas.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Shipping Button Example Code</title>

<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->


<!-- Start of Script -->
<SCRIPT language=javascript>
function CalculateOrder(form)
{

if (form.os1.value == "UPS Ground - $8.00")
 {
 form.shipping.value = "8.00";
 }
 
if (form.os1.value == "UPS 2 Day - $20.00")
 {
 form.shipping.value = "20.00";
 }

if (form.os1.value == "UPS Overnight - $30.00")
 {
 form.shipping.value = "30.00";
 }
 
if (form.os1.value == "USPS Priority Mail - $8.25")
 {
 form.shipping.value = "8.25";
 } 

 if (form.os1.value == "Store Pick Up - No Charge")
 {
 form.shipping.value = "0.00";
 } 
}  
</SCRIPT>
<!-- End of Script -->


</head>

<body>

<!-- START SAMPLE CODE SECTION -->


<!-- PARAGRAPH 1 -->
Shipping &amp; Delivery Example

<br><br>

Add to Cart - Script &amp; Combination Dropdown Price &amp; <br>Local Shipping Selection Services.

<br><br>

Gold Widget

<br><br>

<!-- Start of Add to Cart Form -->
<!-- Note: target="paypal" was replaced with the variable target="_self" -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="item_name" value="Gold Widget">
<!-- Replace value with the web page you want the customer to return to -->
<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/your_web_page.html">
<!-- Replace value with the web page you want the customer to return to after a successful transaction -->
<input type="hidden" name="return" value="http://www.yourwebsite.com/ThankYou.html">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="shipping">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
<!--  -->
<input type="hidden" name="on0" value="Size">Please Select Size:&nbsp;&nbsp;
<SELECT name="os0">
<OPTION value="Small" selected>Small - $50.00</OPTION>
<OPTION value="Medium">Medium - $75.00</OPTION>
<OPTION value="Large">Large - $100.00</OPTION>
</SELECT>
<!--  -->
<!-- option_index value=0 is associated with variable on0 -->
<!-- option_index value=1 is associated with variable on1 -->
<input type="hidden" name="option_index" value="0">
<!--  -->
<input type="hidden" name="option_select0" value="Small">
<input type="hidden" name="option_amount0" value="50.00">
<input type="hidden" name="option_item_number0" value="1001-S">
<!--  -->
<input type="hidden" name="option_select1" value="Medium">
<input type="hidden" name="option_amount1" value="75.00">
<input type="hidden" name="option_item_number1" value="1001-M">
<!--  -->
<input type="hidden" name="option_select2" value="Large">
<input type="hidden" name="option_amount2" value="100.00">
<input type="hidden" name="option_item_number2" value="1001-L">
<!--  -->
<br><br>
<input type="hidden" name="on1" value="Shipping">Please Choose your Shipping Option:&nbsp;&nbsp;
<SELECT name="os1">
<OPTION value="UPS Ground - $8.00" selected>UPS Ground - $8.00</OPTION>
<OPTION value="UPS 2 Day - $20.00">UPS 2 Day - $20.00</OPTION>
<OPTION value="UPS Overnight - $30.00">UPS Overnight - $30.00</OPTION>
<OPTION value="USPS Priority Mail - $8.25">USPS Priority Mail - $8.25</OPTION>
<OPTION value="Store Pick Up - No Charge">Store Pick Up - No Charge</OPTION>
</SELECT>
<br><br>
<INPUT onclick=CalculateOrder(this.form) type="image" alt="Make payments with PayPal - it's fast, free and secure!" 
src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border=0 name="submit">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->

<br>

<!--  Start of View Cart Button Code  -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="display" value="1">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<!-- Replace value with the web page you want the customer to return to -->
<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/your_web_page.html">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_viewcart_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> 
<!--  End of View Cart Button Code  -->



<!-- END BUTTON EXAMPLES -->



<!-- END SAMPLE CODE SECTION -->

<br><br><br><br>
<hr align="left" width="50%" noshade>
<br><br>
NOTES:
<br>
In order to test the code, you must replace the &quot;business&quot; value variable with your PayPal Email Address or Account ID.

</body>
</html>

 

 

Haven't Found your Answer?

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