How do I set number of zones needed for zone shipping in MS2.2 ?
Thanks
Kmazumdar
This is a discussion on Zone Shipping within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; How do I set number of zones needed for zone shipping in MS2.2 ? Thanks Kmazumdar...
How do I set number of zones needed for zone shipping in MS2.2 ?
Thanks
Kmazumdar
Please can anybody answer ?
Thanks
yeah I can't work it out as well???
Some problem here. The Edit only gives to possibility to enter countries and shipping table for Zone 1, that is, it's not really doing much more than normal table rate.
Read the comment in the file ZONE.PHP. It expains how to add more ZONES...
USAGE
By default, the module comes with support for 1 zone. This can be
easily changed by editing the line below in the zones constructor
that defines $this->num_zones.
and on aprox line 111 change:
// CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
$this->num_zones = 1;
to
// CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
$this->num_zones = 3; //or what ever you need!
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Thanks for your answer. When I change the number though, I get more fields to fill in admin of this module, but no descriptions for them. Also, whichever values I fill into them, the values won't stick at all (they do not show after edit nor when I edit again).
If I then access the checkout with the module active, I get:
Warning: Couldn't find constant MODULE_SHIPPING_ZONES_COUNTRIES_2 in catalog/includes/modules/shipping/zones.php on line 123
Warning: Couldn't find constant MODULE_SHIPPING_ZONES_COUNTRIES_3 in catalog/includes/modules/shipping/zones.php on line 123
(note: I'm using MAX, if it makes any difference)
Where is it supposed to be defined?
Hello...I'm having the same problem. Have you figured out how to resolve?? Thanks.
It should only LIST the zones - like Zone 1, Zone 2, etc.... The "Zone X" is hard coded.
You have to INSTALL the shipping module AFTER you make the change. This should loop and install these variables in the table as MODULE_SHIPPING_ZONES_COUNTRIES_x .
If already installed - uninstall it BEFORE you make the change to the code. Then "install" it after the change.
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Sorry for the dumb question...how do I uninstall/install a shipping module? I don't see any way to uninstall a specific module. Thanks!!![]()
You go to the Modules section of the admin interface, then choose shipping modules you want to uninstall and click on Remove from the right hand side.
Install is similar, except you click on install.
Bookmarks