Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with weight based shipping.


Joy-Bay

Recommended Posts

Posted

Okay,.. here I go again. My brain is bending:P

 

I'm shipping product by weight.

 

I've set ..8:8.00,10:9.00,12:10,...

 

The item weighs in at 10 pounds,.. yet shipping comes up as $10.00 not $9.00

 

When the item weight is 9 pounds,.. the shipping comes up as $9.00. This is correct. 9.99 pounds is still correct. Why is 10 pounds not $9.00????

Thanks,

 

Mike & Joyce

www.joy-bay.com

Posted

Which shipping module are you using?

 

I've checked in zone.php. The comparison operator is '<=' which should give the correct result.

 

Christian

Christian Lescuyer

Posted

I found the file, but I am kind of weak in PHP,.. there is lots of stuff in the zones.php file. Where exactly do I look? There are many > and >='s:(

Thanks,

 

Mike & Joyce

www.joy-bay.com

Posted

I think the problem is in the table.php file instead of the zones.php? I'm not real good with PHP yet:( I don't know what $i is? but there's and $i<$keys_size and a $i<$n,... maybe one or both of these should be <=??? I'm not sure what $n is either:(

Thanks,

 

Mike & Joyce

www.joy-bay.com

Archived

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

×
×
  • Create New...