Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

what is wrong with table rate by weight??????


Guest

Recommended Posts

Posted

I am trying to set up table rate by weight, I dont understand what its doing:

 

100:1.00,200:2.00

 

as in

 

100 gramms = 1 EURO, 200 gramms = 2.00 EURO etc

 

Ok fine but when I have 1 item in the basket which is exactly 100 gramms the price of shipping is calculated to 10 euro's. (wierd)

 

Ok so I change the table to this:

 

100:0.1,200:0.2

 

works fine.

 

But when I add another item which is 30 grams the price is calculated to be 1.30 Euro.

 

So instead of treating it as ranges its calculating the shipping per unit of weight!?!?

 

I am totaly lost.

Posted

WHAT? I just changed it to

 

1000:0.1,2000:0.2

 

and using the same item in the basket I am getting exactly the same shipping payment calculation as in the previous post:

 

100:0.1,200:0.2

 

whats the deal? what am I missing?

Posted

IF up to 100 is 0.1 ... and up to 1000 is 0.1 ... umm what change are you expecting to occure?

Posted

Hello,

 

I've had the same problem while trying to get set up. I looked into the code and originally thought there was a bug related to the $num_shipping_boxes variable. But looking further I found out that the max weight setting in the configuration>shipping and package admin screen is the culprit. If you leave this set for 50 (lbs!) then try using grams in the rate table then you will find that it takes 200g packages and divides them into 10 boxes of 50 (lbs!) each. Can't mix lbs and grams. The answer is to go and put the max weight in grams as a value like 25,000 or so. Then small packages aren't broken up into multiple boxes. This is why it was taking your $ value and multiplying it by some bizarre value. I have edited this max weight value and found that now my shipping calculations are working ok.

 

Hope this helps!

 

Chris :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...