Post by Johnathan » Tue Aug 20, 2013 9:23 pm

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by mgreaves » Wed Nov 13, 2013 11:11 pm

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

Newbie

Posts

Joined
Wed Nov 13, 2013 10:35 pm

Post by Aztk » Mon Nov 18, 2013 1:12 am

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!

Newbie

Posts

Joined
Fri Oct 25, 2013 8:16 pm

Post by Johnathan » Mon Nov 18, 2013 9:50 am

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Aztk » Tue Nov 19, 2013 4:31 pm

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!

Newbie

Posts

Joined
Fri Oct 25, 2013 8:16 pm

Post by threeoaks » Tue Nov 19, 2013 6:58 pm

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

Newbie

Posts

Joined
Tue Nov 19, 2013 6:52 pm

Post by Johnathan » Tue Nov 19, 2013 10:58 pm

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by rocketfoot » Wed Nov 20, 2013 2:51 am

If my default weight class is pounds and it is 1.00000...should ounces be set to 16?

OpenCart 3.0.3.8
www.wattstruckcenter.com/shop


User avatar
Active Member

Posts

Joined
Fri Nov 15, 2013 10:47 pm

Post by threeoaks » Wed Nov 20, 2013 10:31 am

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.

Newbie

Posts

Joined
Tue Nov 19, 2013 6:52 pm

Post by Johnathan » Wed Nov 20, 2013 11:21 pm

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

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by cre8rod » Fri Mar 21, 2014 5:39 am

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?

Newbie

Posts

Joined
Tue Mar 04, 2014 2:07 am

Post by Johnathan » Fri Mar 21, 2014 11:02 pm

#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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by cre8rod » Sat Mar 22, 2014 3:35 am

It was a different thing altogether, after a restore, the postal zones had been deleted in the Geo Zones page!

Newbie

Posts

Joined
Tue Mar 04, 2014 2:07 am

Post by Dhaupin » Tue May 13, 2014 4:51 am

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

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by Johnathan » Tue May 13, 2014 9:21 pm

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Dhaupin » Thu May 15, 2014 12:39 am

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?

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by Johnathan » Fri May 16, 2014 3:13 am

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) { 

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Dhaupin » Wed Jun 04, 2014 4:59 am

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.

Attachments

vQmod of this


https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by lozzareeves » Tue Dec 02, 2014 8:02 am

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

New member

Posts

Joined
Fri Feb 25, 2011 7:10 am

Post by jmagro » Fri Jan 30, 2015 12:09 am

Dauphin, thanks for the quick fix! Perfect solution.

New member

Posts

Joined
Thu May 12, 2011 3:31 am
Who is online

Users browsing this forum: No registered users and 2 guests