Shipping button dilemma

JohnycDesign
Contributor
Contributor

I created an "add to cart" button to sell 2 shirts, Navy & Green. My shipping cost for 1 Navy tee is $5.95. If I increase it to 2 Navy tees, shipping changes to say $8.00 for both.

if I order 1 Green shirt and add to cart instead of it being added and seeing shipping price for 3 shirts at say $9.40, it adds full initial shipping of $5.95.

So if I order 1 Navy, then go to "continue shopping" and order 1 Green.

Shipping becomes $5.95 x 2. Instead of 2 shirts at $8.00. Question. Why is it seeing it as new entry instead as discounted shipping as set in my profile. I can order 9 shirts, with discounted pricing. Yet the minute I switch to Green, shirt #10 in cart gets $5.95 charged. Thanks J

Login to Me Too
6 REPLIES 6

MTS_Ciaran
Moderator
Moderator

Hey, Can you post your button code and we can take a look. 

Login to Me Too

JohnycDesign
Contributor
Contributor

Now a 2nd button for GREEN is the same. Ordering 1 Navy tee adds $5.95 shipping.

Adding 1 Green tee instead of adding $2.75 for additional shipping on any shirt after the 1st, it adds $5.95. Shopping cart shows 2 shirts, but as 2 separate entries. My customers would not like to be charged full $5.95 shipping for each shirt.

 

<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="E99PTP8692GDC">
<table>
<tr><td><input type="hidden" name="on0" value="NAVY">NAVY</td></tr><tr><td><select name="os0">
    <option value="SMALL">SMALL $17.60 USD</option>
    <option value="MEDIUM">MEDIUM $17.60 USD</option>
    <option value="LARGE">LARGE $17.60 USD</option>
    <option value="XLARGE">XLARGE $17.60 USD</option>
    <option value="2XLARGE">2XLARGE $19.20 USD</option>
    <option value="3XLARGE">3XLARGE $19.20 USD</option>
</select> </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

MTS_Ciaran
Moderator
Moderator

So this is happening because the button is designed to add the shipping cost to each item being added to the cart. I would recommend using the profile based shipping instead as it gives you more control, having the shipping value set in the button is static and doesnt allow the price to dynamically change. 

 

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/ProfileAndTools...

Login to Me Too

JohnycDesign
Contributor
Contributor

I did what you recommended and set the pricing accordingly. Ist item ships at $5.95. I edited pricing to increase by $2.75 for each item after that.

I created 1 Navy and Green button each shirt for checkout. Placing 1 navy shirt in shopping cart, showed $5.95 shipping. Adding 1 green shirt to basket also added $5.95 when it s/b and additional $2.75 as I set it to be.

Again, my customers should not be paying $5.95 2x at check out. So this method does not work or apply to me.

J

 

 

<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="E99PTP8692GDC">
<table>
<tr><td><input type="hidden" name="on0" value="NAVY">NAVY</td></tr><tr><td><select name="os0">
    <option value="SMALL">SMALL $17.60 USD</option>
    <option value="MEDIUM">MEDIUM $17.60 USD</option>
    <option value="LARGE">LARGE $17.60 USD</option>
    <option value="XLARGE">XLARGE $17.60 USD</option>
    <option value="2XLARGE">2XLARGE $19.20 USD</option>
    <option value="3XLARGE">3XLARGE $19.20 USD</option>
</select> </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

MTS_Martin
Moderator
Moderator

Apart from dabbling with Javascript or creating a more advanced cart solution, you could just use one button.

if the only thing that changes is the color, why not use one button with 1 pricing drop down (size) and another drop down (no price change) for the color.

Login to Me Too

JohnycDesign
Contributor
Contributor

What appears to happen with 2 buttons is that after selecting Navy at $5.95 S/H then selecting "continue shopping" to go and purchase a Green shirt. Customer then is charged again $5.95 S/H, instead of reduced rate for 2 or more. It treats it as 2 individual purchases instead of 2 combined purchases.

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.