The following video explains how the shipping cost calculation works in the WordPress Shopping Cart plugin.
Simple Shipping Options
Option 1) Flat Shipping Charge Per Item
If you just want to use flat shipping cost for each item then just put ‘0′ in the ‘Base Shipping Cost’ option and specify the individual shipping cost in the trigger text (shortcode) for each product and you are done. For example, the following shortcode will place a button for a product that charges $2.00 for shipping.
[wp_cart_button name="Test Product" price="10.00" shipping="2.00"]
Option 2) Flat/Fixed Shipping Charge Per Checkout (no matter how many items in the cart)
If you just want to use a fixed shipping cost for the cart no matter how many items are in the cart then you can achieve this by specifying this fixed amount in the base shipping cost. Remember, the base shipping cost is only added to the cart if a product in the cart has individual shipping value specified (this way if a customer buys digital product he doesn’t get charged any shipping). Use an individual shipping value of “0.001″ for your physical items which won’t increase the shipping cost but will trigger the base shipping cost to be added as a fixed shipping rate. For example, use the following shortcode:
[wp_cart_button name="Test Product" price="10.00" shipping="0.001"]
Giving Shipping Discounts
What if you want to be a little more intelligent with the shipping cost calculation and want to use ‘Base Shipping Cost’ in conjunction with the individual product shipping cost to offer your customers a better shipping price? You can do that too.
The base shipping cost is added to the total of the individual products shipping cost. So for example if you had two products that costs $50 each and you want to charge $10 shipping for each item then someone buying both the products whould have to pay $100(product cost) + $20(shipping cost) = $120(total). That is not a very realistic shipping price since you are shipping both the products to the same address in one package so it will probably cost you $15 instead of $20.
How do you handle this situation?
You use a base shipping cost of $5 and indidividual product shipping cost of $5.
Now when someone buys both the products the shipping cost will be calculated as following:
$5(shipping for product1) + $5(shipping for product2) = $10(total individual products shipping cost)
Total shipping cost = $10(total individual products shipping cost) + $5(base shipping cost) = $15!
When someone buys one product the shipping cost will be calculated as following:
$5(shipping for product1) = $5(total individual products shipping cost)
Total shipping cost = $5(total individual products shipping cost) + $5(base shipping cost) = $10! (this is the shipping you wanted to charge for one product)
So, hopefully you can see that using the base shipping cost in conjunction with the individual product shipping cost you can be very dynamic in determining the total shipping cost for a purchase.
Option 3) Use PayPal’s Profile Based Shipping
You can also configure the shipping in your PayPal merchant account profile then tell the shopping cart to use your profile based shipping.
Step 1: Check the “Use PayPal Profile Based Shipping” field in the settings menu of this plugin
Step 2: Configure your PayPal profile based shipping in your PayPal account.
Note: The simple shopping cart can only do amount based profile shipping. The weight based profile shipping is only available in the WP eStore plugin.
Visit the WordPress Shopping Cart Plugin Page.
Note: We provide technical support for our premium plugins via our customer only support forum
Thank you Thank you Thank you for your idiot proof explanation.
got it all working inside 3 minutes.
@ Pixelologist, You would add the shipping in the shortcode like this “[wp_cart:Test Product:price:10.00:shipping:2.00:end]”.
You can find instructions for this here: http://www.tipsandtricks-hq.com/ecommerce/wordpress-shopping-cart-how-the-shipping-cost-calculation-works-297
Am I missing something? We want to be charging $3 shipping for the first item and $1 for all subsequent items. I saw your advice above and it made perfect sense to me to set the base shipping to $2 with a per item shipping charge of $1. But I don’t see a place in the plugin’s settings to specify a per item shipping charge – ONLY the base shipping.
Where is this field that would solve all my problems? 🙂
I’ve been recently using Shopify as my store provider. I’ll definitely be making the switch to wordpress and this plugin. Thanks again for such a great freaking plugin!
super blog! really like what you’ve done here.
I think I finally solved it! after 4 days…
Sorry for emailing, but I though i was stuck
For anyone who wants to know… how to apply base shipping to all add to cart purchases in elegantthemes eStore theme – Not digital products…
I changed a line in “wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php”
foreach ($_SESSION[‘simpleCart’] as $item)
$total += $item[‘price’] * $item[‘quantity’];
$item_total_shipping += $item[‘shipping’] * $item[‘quantity’];
$total_items += $item[‘quantity’];
foreach ($_SESSION[‘simpleCart’] as $item)
$total += $item[‘price’] * $item[‘quantity’];
$item_total_shipping += 0.001 * $item[‘quantity’];
$total_items += $item[‘quantity’];
Hi Bianca, Please see the following page: http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290. The section called “Using Variation Control Option” should explain what you are looking for.
I decided to just incorporate the upsize charge to the price. Now I only need the part where the buyer selects the size. How can i add this part?
I need to give the buyer an option to choose the size. Depending on the size, there is an equivalent upsize charge. However, this upsize charge is not the same for all items. Other items charge $5 per upsize, others only $3.
I did not see anything about sizes, I hope I just missed it. Please don’t tell me it’s not part of your exceptional plug-in!
Hi ScorpioRose, The following forum post will explain more about this issue and how to fix it:
If this does not fix the issue you are having please let me know.
Hi, I am very pleased with the Simple WP Shopping Cart plug-in I have added to my website, with one exception. I would like to have the option and flexibility of adding specific marketing discount coupons and coupon codes for special promotions. Is there any way to add a coupon or coupon code to be redeemed at checkout in the Simple WP Shopping Cart plug-in application?
Appreciate Your Help!
I followed your instructions and thanks for your help, the issue is finally resolved now 🙂 I’m looking forward to implement this cool plug-in to other website 🙂
Hi Lisa, I had a look at your site, this looks like a PHP session issue. You will need to contact your hosting provider to fix this issue. They will need to check that the PHP session is turned on and configured properly. This should only take them a few minutes to do.
Let us know how this goes.
Hi Lisa, Can you please send me a link to your site so I can take a look at what is happening?
The website link is http://enviocarb.com/?page_id=387
Thanks for helping.
Hi, I have added the great plug-ins to my website, I love the simplicity of it and it is a very good plug-ins. However I have this problem whereby the shopping cart page does not allow me to update the quantity even after I change it, I can see that there is an instructions for me to hit enter to update the changes, but it did not reflect the changes and instead just refresh the page. Can you please let me know what I can do to rectify this error?
Thanks a lot.
@Guest, Can you please post a link to your site so I can take a closer look at this and see what is happening?
the plug in installation is super easy, thanks! however, the shopping cart does not show the price (it comes up as $0 no matter how many items i add to the cart) and doesn’t update the total (again, it shows $0). when i go to the pay pal page, however, the price shows up fine.
this is the code i used: [wp_cart:My Product:price:10:end]
Hi, The base shipping cost will only be added to the cart when a product has a individual shipping cost also.
The best way to do this will be to make a new product for “locals only” (you can copy the product you already have) just take the “individual shipping cost” out.
You can then make a add to cart button for this product and it will not have shipping.
Remember if the customer adds a product with a base shipping cost to the cart the shipping will then be charges along with the specified individual shipping cost for the other products.
Let me know if this does not make sense.
Hi, this plugin is awesome. One minor question: is there some way, via shortcode or other method, to exempt particular items from the base shipping cost?
As described in the “giving shipping discounts” section above, I’ve set a base shipping cost in combination with a smaller per item shipping cost, which is working great. However, what I’m doing is taking preorders for an item that will be released late next month, and I want to give locals the option of prepaying online and picking up their merchandise in person when it arrives.
Ideally, I’d like to include an “add to cart” button specifically for local pickup orders, which wouldn’t automatically add the shipping charge. However, I’d still like to use the base shipping fee + individual shipping fee method for all other orders. Is this doable?
Thanks in advance!
Hi Dan, Since the Simple Shopping Cart and eStore where both designed mainly for digital products they only have simple shipping options.
Hi Ivy, unfortunately that won’t help. If it was just one item that was sold in the shop that would be fine, but the client sells 100s of items, and he wants to configure each item differently – some items only cost £0.50p to send 1, while others will cost £1 or £5.
He runs an ebay shop and ebay allows him to set a different shipping fee for each and every item for sending 1 item, and another different shipping fee additional units He needs this functionality to keep shipping fees as low as possible and stay competitive.
Hi Dan, You can set the base shipping as $2.00 this will add $2.00 to the cart no matter how many items are there. Then you would need to set a per product shipping cost of $1.00 this will add $1.00 for every item that has this shipping to the cart.
Hi, I’m interested in the plug-in but for one problem. My client wants to charge a fixed fee per product for 1 item, but then an additional fixed fee per additional item. So, for example, if you buy 1 teddy bear it will cost £3 shipping, but if you buy 2 teddy bears it will only cost an additional £1 (so £4 shipping for two teddies), and 3 teddies would cost £4 shipping. Is this possible with your plugin?
Hi, Can you please send a link to where the shopping cart and products are located, so I can take a look at this?
I am having the worst time trying to figure out the cart and shipping area of my website. When the check out button is clicked, it leads to nothing and I’m getting this:
“Error 404 – Page not found!
The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for”.
What am I not doing or doing wrong? Any help would be greatly appreciated, and thanks!
Hi Scott, We all do it, I even thought it should be CAN until I went and looked it up. =) I am just glad it is all working fine now.
If you need anything else please let me know.
Hi FeltGrinder, We have changed the shipping for the Simple shopping cart so you should not have to change the code now. In version 2.8.2 there should be the following option “Use PayPal Profile Based Shipping” This should be about the 9th option down on the list. If you check this box then it should work. If not please let me know and I will trouble shoot this a little more.
Hi Scott, It looks like you are using the wrong currency code for Canada it should be “CAD” not “CAN”. You can find a list of all the currency codes for PayPal here: https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside
You’re right! What an embarrassing mistake. Everything is working fine now. Thanks for your help.
If by the main menu you’re referring to the “Simple Paypal Shopping Cart Settings v 2.8.1”, then yes, I did.
Version 2.8.2 is what I am using Ivy
Ivy, Thank you for the response, but that doesn’t seem to work for me, there are no options like that in the simple cart that I can see, does this not involve me changing code? I deleted the section it said to above with Chris Melton and it didn’t work, when you get to paypal it still doesn’t add the shipping like I have programmed. Can you be of any more help please?
Please see option 2 (PayPal Profile Based Shipping) here: http://www.tipsandtricks-hq.com/ecommerce/how-the-shipping-cost-calculation-works-in-wordpress-estore-50
this is for the eStore but we have add this feature in the Simple Shopping Cart also.
Hi, I need to have shipping calculated by the product and where it is being shipped. I also need to add packaging cost. Can you tell me how to do this?
Is it possible?
I do not have my store live yet, because I need this issue solved first.
Hi Scott, Did you set the currency code and symbol in the main menu settings of the plugin?
Hi Scott, Can you please send me a link to where your products are so I can have a quick look at the issue?
Thanks, Ivy, but my profile is set to CAN dollar. Any other ideas?
Hi Sonya, I believe you may be using a special character (e.g. “,” or currency symbol) in the price field instead of a “.” in your price. Please make sure to read the help text under this field as it explains how to enter the price as PayPal will not accept special characters in this field.
“The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
This indicates that your currency is formatted incorrectly for PayPal’s system. For many currencies PayPal requires that the decimal be a dot or period.
If this does not fix the issue can you please send me a link to your products page.
I keep getting this error for all my items “The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
Hi Scott, You will need to make sure you have specified the CAN currency in your PayPal profile also. This should fix the problem.
Please let me know how you go.
I have my currency set to CAN in the plug-in settings, but when it gets sent to Paypal, it shows USD. What am I missing?
You could use a variation option with added price for the delivered option but the simple shopping cart doesn’t have the variation with price increase option (only eStore has that at the moment).
What if you’re selling digital products where products are downloaded but you may have the option to have it delivered. Is there a way to give customers this option without having to send them an additional email asking for shipping cost?
Hi Ivy, you can just delete the previous post from me – I have switched to base+individual-cost shipping, and it’s working as expected.
Hi Alison, You will need to use .001. Can you please send me a link to your site so I can take a look at this issue? Also have you verified that you do not have Paypal profile shipping turned on in your Paypal settings?
Hi, I have the same problem as Amanda.
Like Amanda, I want a flat, per-order shipping charge of $10.00 and I used the 0.01 in each item’s individual shipping cost. But that makes the shipping charge on the cart appear as $10.01 for an order with one item or $10.02 for an order with two items, etc.
I just want a flat rate of $10.00, no pennies added on (I think it looks unprofessional).
Amanda said that changing the individual shipping to 0.00 worked for her, so I tried that, but now it doesn’t trigger the base shipping cost at all.
Like Amanda, I tried to fiddle it by putting 0.001 for the individual shipping, so that the shipping cost would always appear as the flat $10.00, and it appeared OK on cart *while on the site* BUT when checking out via PayPal, the shipping cost was not applied at all.
I wonder why changing the individual shipping to 0.00 worked for Amanda, but not for me…?
Thanks for the reply that seemed to just add the 0.01 so it would say £5.01 of one item £5.02 for two items ect… i have now changed it to 0.00 and that seems to work, so all good now.
With this shopping cart is there any way of having a minimum order amount?
Hi Amanda, You seem to have done everything right.. please use “0.01” as the shipping of the individual product instead of “0.001”. Removing that one extra “0” should fix the issue… let me know how you go.
I think this plug in is great, ive just got one problem. I want to charge £5 shipping as standard so i have followed all the instructions to set this up (put £5 in base rate, added 0.001 in the html of individual product) then when someone adds 1 item to their cart or 2,3,4 etc it said £5 for shipping, which is correct but then when you go through to paypal to pay the £5 comes off and only the product price appears no shipping added.
What do i need to do?
Great plug in…I’m going to have to install this one!
@ Kay, Both of our shopping cart plugins have only simple shipping options. These carts where designed more for digital products. The following post explains the shipping options that are available. Even thought this post is for the WP eStore the shipping is the same for the simple shopping cart.
@Riccardo It is not possible to set 2 different shipping costs. Please see the link above for the shipping options that are offered.
Is it possible to set 2 different shipping costs?
Like “For Europe” and “For Asia”?
I do both domestic and international shipping can I set up options. Shipping based on location/
Hi Ric, Yes you can do this. The following post (option 1) should explain this more:
Even though this is for the eStore it can be used for the Simple shopping cart also.
Is it possible to set the shop to only charge one single shipping price, rather than one for each product? This is what is happening when someone buys something. I only sell stickers so there is no need to charge more shipping if two or three things are bought at the same time etc.
Thanks in advance,
By default the shopping cart do not use the shipping options specified in your PayPal profile so you shouldn’t have any issue around that.
Thanks for the quick and accurate answer^^
I am using this plug-in on one of my websites and it works great except that I already have a shipping calculation set up in my PayPal profile for another website.
My question is can I use this plug-in (each item has different shipping costs) so that it doesn’t want to pull the shipping calculation that is set up in my PayPal profile.
Is there a way that can be done?
If you don’t use an individual shipping cost for an item it will treat that as a digital product.
So, reading what’s above in the comments, how does the shopping cart tell if it’s a download or a physical product? Sorry, but I’m new at this
Vincent, We do not have a complex shipping option for any of our shopping cart plugins. Paypal has some shipping options that may be able to help you. Please see the following post: https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_ProfileAndTools#id08A9EF00IQY
Hello and thank you for such a great product.
Is it possible to include options for shipping costs ?
For example International Shipping : 10$ , FedEx shipping : 20$ …
Do you have any idea about how to do that ?
This is a wordpress plugin so it only works for wordpress site.
hello thanks for providing a great plugin i am using wordpress 2.8 it works there i want to know how i use this plugin in seperate page that is php page.
yep, downloadable products won’t have a individual shipping attached to it so the base price won’t be added to the cart. Base price is only added to the cart if one of the items in the shopping cart has an individual shipping price (meaning it’s a physical product). If you want to charge flat rate with your physical price then simply use 0.0001 as the individual shipping price of the physical items. This way the base price will simply get added to the cart but won’t really increase the shipping price.
Is it possible to use the base shipping price as you’ve outlined above, and yet NOT charge for shipping on downloadable products?
Nevermind, found out it was on Paypal’s end! Keep on rocking with this plug-in!
I really dig this plug in 🙂 A problem I am encountering is it is sometimes charging double shipping. I have a flat rate of “0” because we are charging shipping per item (which is $4.95 per item) but my client just sent me a Paypal receipt and it charged someone double shipping. Any advice on this would be most appreciated!
This is freakin awesome. thanks so much!!!
I came here with exactly the same question, removed that line from the code, and it worked perfectly! Thank you!
@Chris, that will do but you can delete the whole line including that form bit too.
Hi Chris, Yeah you need to modify the code so it doesn’t send shipping info to PayPal in order to use PayPal’s profile based shipping. Open the “wp_shopping_cart.php” file and search for the following word:
Delete the whole line once you find it. That should do it.
Thanks for the help. I’ve deleted this line:
$form .= “”;
Is this correct? your quick response is outstanding. Super client service.
Is it possible to disable the shipping option? If so, please tell me how to do it.
I would like to use the shipping calculator on the paypal website once the customer clicks “proceed to checkout”.
I’m using your plugin and really like it – except for one problem – “shipping charges”.
I use paypal’s flat rate charges – ie $.01 – $50.00 = $9.95 shipping charge
$50.01 – $150.00 = $12.95 shipping charges – these charges should be added once the customer proceeds to paypay processing.
I don’t know how to make this happen with this plugin and right now I don’t have anything in the shipping field and no shipping charges are being added by Paypal to orders.
Can you help?
Hi Jenny, yes you can put a link to the shop page anywhere like any normal HTML link
I am using your brilliant e-commerce store and I have one problem. I have added the shopping cart and visit the store as a widget to the sidebar. This is the only way they can get to the Product Page.
1} is there any way I can have an image link within the static first page of the site saying Vist the Store and can I make Visit the Store larger so people can see it in the sidebar?
Otherwise it works great, thanks