Page 1 of 2

[READ BEFORE POSTING] Common Weight Based Shipping questions

Posted: Tue Aug 20, 2013 9:23 pm
by Johnathan
Before posting any questions about Weight Based Shipping, please check all of the following items:

1. Check your store's default weight class and currency settings (in System > Settings > Local). Make sure they're set to what you want.

2. Check your store's weight class values (in System > Settings > Localisation > Weight Classes). Make sure your default class is set to 1.0000, and the others are set to appropriate conversion values. For example, if your default weight class is kg, then you would set its value to 1.0000, and set the value for grams to 1000.

3. Check your store's default currency value (in System > Settings > Localisation > Currencies). Make sure your default currency value is set to 1.0000.

4. Since your default weight class is used in Weight Based Shipping, make sure your rates are using the appropriate values based on this weight class. So if you're using the rates 1:5.00, 2:7.00, etc. with a default weight class of kg, that means, "Up to 1 kg charge 5.00, up to 2 kg charge 7.00, etc."

5. Check whether you have a tax class applied to Weight Based Shipping, and if so, that that tax class is set up appropriately.

6. Check your product weights and weight classes, and make sure they're set to what you want.

Re: Weight based shipping questions

Posted: Wed Nov 13, 2013 11:11 pm
by mgreaves
I have recently paid for a website to be produced for my daughters new business only to find the support offered is next to useless and searching around came across this forum and thread which I hoped would be the answer to my problem but unfortunately it is not, I have no experience in this field so please be gentle with me and any advice given or questions to put to my "support line" will be gratefully received.

The business is selling its products in weights from 50 grams to 15KG and all the increments between and the initial setup from the web "designer" gave some startling shipping prices this resulted in my shamelessly copying and pasting the information from this post with the offered correction made

0.1:1.80, 0.25:2.20, 0.5:2.50, 0.75:3.00, 1:3.70, 2:4.20, 5:5.40, 999999:5.40

This I hoped would be a basis upon which to work from but as you can see from the following amounts entered into the site there is still something amiss

50gm gives a shipping weight of 1.00kg shipping price 3.70
100gm shipping weight 2kg shipping price 4.20
150gm shipping weight 3kg shipping price 5.40
500gm shipping weight 0.0 shipping price 1.80
500gm through to 2kg shipping weight 0.0 shipping price 1.80
2.5kg through to 4kg shipping weight 0.01 shipping price 1.80
5kg through to 10kg shipping weight 0.02 shipping price 1.80

I only have access to the open cart administration page and pre-empting some of the questions I have seen elsewhere on this forum I have no knowledge of what version open cart has been used or what package was used to produce the website.

If you have got as far as reading this last line I thank you for your patience.

Mark

Re: Weight based shipping questions

Posted: Mon Nov 18, 2013 1:12 am
by Aztk
Hi,

For some reason the weight base shipping in OC version 1.5.6 calculates the shipping rate as a percent of the item's price!

For example in one geozone I have put 1:1.00.
If the item is 1kg and the item's price is 100, the shipping calculated would be 10. (instead of 1)

Could you please advise if you've observed such behavior and maybe a way to deal with it?

Thanks!

Re: Weight based shipping questions

Posted: Mon Nov 18, 2013 9:50 am
by Johnathan
A standard 1.5.6 installation does not do this. I verified this in the Github code for 1.5.6. You must have installed something or made these changes to the /catalog/model/shipping/weight.php file.

Try restoring from the original download, and it should fix that issue. If that doesn't work, double-check your currency conversions, and make sure your default currency value is set to 1.0000.

Re: Weight based shipping questions

Posted: Tue Nov 19, 2013 4:31 pm
by Aztk
Thank you, Johnathan!

Actually something strange happened:

I have only one currency and it was of course default and with value 1.0000.
However, when I checked it, I found the value now was 1.45.
It is absolutely sure I have not changed the value.
the whole thing i s a mystery...
Anyway, it works now OK, so thanks once again!

Re: Weight based shipping questions

Posted: Tue Nov 19, 2013 6:58 pm
by threeoaks
I'm having a strange problem with weight-based shipping. It's adding to the shipping cost. I checked all four items recommended by Jonathan, and all are okay. Here's what I've entered for rates. For example, when the order is 39.60 pounds, I get $19.84. Ordering 3 pounds comes up to $14.48. Any ideas?

6:13.50,9:14.00,12:14.50,17:15.00,22:15.50,24:16.00,27:16.50,32:17.00,35:17.50,38:18.00,42:18.50,47:19.00,51:19.50,60:20.00,63:20.50,66:21.00,70:21.50,72:22.00,73:24.50

Diana

Re: Weight based shipping questions

Posted: Tue Nov 19, 2013 10:58 pm
by Johnathan
Sounds like you have a tax class applied to Weight Based Shipping, and it's charging tax on the shipping rates. If that's not it, you should check your currency conversions like I suggested for Aztk.

Re: Weight Based Shipping questions

Posted: Wed Nov 20, 2013 2:51 am
by rocketfoot
If my default weight class is pounds and it is 1.00000...should ounces be set to 16?

Re: Weight Based Shipping questions

Posted: Wed Nov 20, 2013 10:31 am
by threeoaks
Thank you. Taxes were applied to Weight based shipping. I didn't see that before.

I'm also interested in the ounces question. I changed mine to 16, so hoping that was correct.

Re: Weight Based Shipping questions

Posted: Wed Nov 20, 2013 11:21 pm
by Johnathan
Yes, whatever your default weight class is should be 1.0000, and the others would be the relevant value on the other side of an equals sign. For example:

1 lb = 16 oz
1 lb = 0.4535 kg
1 lb = 453.592 grams

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Fri Mar 21, 2014 5:39 am
by cre8rod
i have weight based shipping enabled, i.e. 12:5.00,24:10.00,34:13.00,48:17.00,,72:22.00,99:32.00; weight classes set up, i.e. oz=1.0 lb=0.0625, and on checkout I get Warning: No Shipping options are available. Please contact us for assistance! What am I missing?

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Fri Mar 21, 2014 11:02 pm
by Johnathan
#6: Check your product weights and weight classes. It sounds like the weight is not getting converted right and is over the limits. Also, you have a double-comma in your rate list.

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Sat Mar 22, 2014 3:35 am
by cre8rod
It was a different thing altogether, after a restore, the postal zones had been deleted in the Geo Zones page!

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Tue May 13, 2014 4:51 am
by Dhaupin
Hey all, kinda new to OpenCart and unsure of this... is there a way to make weight based shipping active only when minimum weight is reached? For example, only to kick-in when Fedex caps at 150lbs? Currently, 0.00 to 150lbs triggers a min weight ship price of ~$110

Heres what our store would operate like in that situation:
0.00lbs = free shipping
0.01-150lbs = fedex
150.01-15,000 = weight based triggers

Any thoughts or angles for an extension that could work with this, it would be great. Currently running 1.5.x

Thank you

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Tue May 13, 2014 9:21 pm
by Johnathan
There's no real solution in the built-in Weight Based Shipping, although you could set a really high rate so the customer would always end up choosing Fedex:

0:0, 150:999999, etc.

If you don't want to do that, my Weight-Based Shipping extension can do non-consecutive brackets.

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Thu May 15, 2014 12:39 am
by Dhaupin
Johnathan wrote:If you don't want to do that, my Weight-Based Shipping extension can do non-consecutive brackets.
Yeah its currently set where they always get a weight est that is higher than ship est. Not quite 9999 but its high enough. Thats a pretty cool mod though, but at this time i dont really need all that....we use weight based as just a fallback. Anyone got a snippet or thesis on how to just "hide" weights that arent defined lower than 150?

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Fri May 16, 2014 3:13 am
by Johnathan
I haven't tested this, but try this edit so that negative shipping costs do not display:

Code: Select all

IN:
/catalog/model/shipping/weight.php

REPLACE:
if ((string)$cost != '') { 

WITH:
if ($cost >= 0) { 

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Wed Jun 04, 2014 4:59 am
by Dhaupin
Ah thanks man, i dont know why we didnt even think to look for a weight model. Still new to OC :) Although your code seems to be based on cost, worked from the same target and it seems all is good. Will have to test a bit more to make sure but:

Code: Select all

In: /catalog/model/shipping/weight.php

Replace:
if ((string)$cost != '') { 

With:
if ((string)$cost != '' && $weight >= 150.001) { 
Left the extra space at the end after { since it was in original. This hides weight ship when its under 150 pounds, which is the cutoff for Fedex. If you only use USPS, change the 150.001 with 70.001. I dunno what the UPS cutoff is. You can use this to set a min weight for weight-freight est at any number based on cart.

To test it, leave default and make a product thats 150.00001 pounds, you should see no shipping methods. Change it to 150 and you should see fedex. Change to 150.01 and you should see ship by weight.

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Tue Dec 02, 2014 8:02 am
by lozzareeves
Hey

one day its all working fine and now all of a sudden its stopped working and get the error message:
Warning: No Shipping options are available. Please contact us for assistance!
no matter what i put in the cart

I have deleted and tried all and left one i know works fine and is setup fine but i still get the error message

Re: [READ BEFORE POSTING] Common Weight Based Shipping quest

Posted: Fri Jan 30, 2015 12:09 am
by jmagro
Dauphin, thanks for the quick fix! Perfect solution.