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...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| How do I set number of zones needed for zone shipping in MS2.2 ? Thanks Kmazumdar |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Please can anybody answer ? Thanks |
|
#3
| |||
| |||
| yeah I can't work it out as well??? |
|
#4
| |||
| |||
| 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. |
|
#5
| ||||
| ||||
| 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 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! |
|
#6
| |||
| |||
| 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? |
|
#7
| |||
| |||
| Hello...I'm having the same problem. Have you figured out how to resolve?? Thanks. |
|
#8
| ||||
| ||||
| 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 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! |
|
#9
| |||
| |||
| 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!! |
|
#10
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help setting up Price Based Multi-Zone Shipping Rates | heathyre | osCommerce 2.2 Modification Help | 1 | 12-02-2006 05:46 PM |
| free shipping/delivery to local addresses -- add "zone& | gheffron | osCMax v1.7 Discussion | 0 | 05-13-2004 01:14 PM |
| Time Zone | rd42 | osCMax v1.7 Installation | 1 | 01-08-2004 07:33 AM |
| Zone Shipping Charges | finn | osCommerce 2.2 Modification Help | 0 | 10-01-2003 07:47 AM |
| Free Shipping/flat rate shipping in zone | cvc505 | osCommerce 2.2 Installation Help | 2 | 07-21-2003 10:29 AM |