Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Zone shipping limits


aray

Recommended Posts

help!

I have zone shipping set up. I’ve input zone table values (1:5.00, 4:10.00, 15:18.00, ….) but I am limited to how many I can enter in this field (255 characters).

 

I want to set values up to a certain weight – say 250lbs and have nothing after this, no high value. I want the program to say “Shipping cannot be determined….blah blah blah” (which I can set in the zones.php language module) when someone orders products over 250lbs and not give them the radio button option of $0 value for shipping.

 

I added this additional line of code from the add on update which is supposed to prevent this from happening: if ($shipping == -1) $this->quotes['error'] = MODULE_SHIPPING_ZONES_UNDEFINED_RATE;

 

But, it doesn’t seem to do anything, i.e. if someone orders products over 250lbs they get a shipping value of $0 AND the radio button option of choosing this value! In addition, it isn’t pulling the text from the zones.php file in the languages module.

 

Any idea what I could do to fix this or why is doesn’t seem to be working?

signature.gif
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...