Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Shipping Zones


simonloweuk

Recommended Posts

I am having difficulty locating information to add zones. I have 1 zone listed so far, I have had a look through the contributions and it states that I need tyo click on the green dot only I cant find a green dot.

 

I want Zone 1 for UK, zone 2 for Europe and zone 3 for usa, canada & the rest of the world.

 

Can anybody help? :blush:

Link to comment
Share on other sites

I am having difficulty locating information to add zones. I have 1 zone listed so far, I have had a look through the contributions and it states that I need tyo click on the green dot only I cant find a green dot.

 

I want Zone 1 for UK, zone 2 for Europe and zone 3 for usa, canada & the rest of the world.

 

Can anybody help? :blush:

 

Read the directions inside the file catalog/includes/modules/shipping/zones.php, it will give you a good idea of how it works and which one number you need to change to get additional zones. There should also be a contribution which gives you automatically a zone 1, zone 2 and a zone 3 with countries not available with 1 and 2.

Link to comment
Share on other sites

I have same problems with adding zones and i need only 2 zones

 

*/

 

class zones {

var $code, $title, $description, $enabled, $num_zones;

 

// class constructor

function zones() {

$this->code = 'zones';

$this->title = MODULE_SHIPPING_ZONES_TEXT_TITLE;

$this->description = MODULE_SHIPPING_ZONES_TEXT_DESCRIPTION;

$this->sort_order = MODULE_SHIPPING_ZONES_SORT_ORDER;

$this->icon = '';

$this->tax_class = MODULE_SHIPPING_ZONES_TAX_CLASS;

$this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);

 

// CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED

$this->num_zones = 2; <---- this i have change

}

 

 

But now i wonder where i exactly put the country's into code

1: SE

2: EU

Link to comment
Share on other sites

I have same problems with adding zones and i need only 2 zones

 

*/

 

  class zones {

    var $code, $title, $description, $enabled, $num_zones;

 

// class constructor

    function zones() {

      $this->code = 'zones';

      $this->title = MODULE_SHIPPING_ZONES_TEXT_TITLE;

      $this->description = MODULE_SHIPPING_ZONES_TEXT_DESCRIPTION;

      $this->sort_order = MODULE_SHIPPING_ZONES_SORT_ORDER;

      $this->icon = '';

      $this->tax_class = MODULE_SHIPPING_ZONES_TAX_CLASS;

      $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);

 

      // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED

      $this->num_zones = 2; <---- this i have change

    }

But now i wonder where i exactly put the country's into code

    1: SE

    2: EU

 

Hello Jari,

 

After you have changed the zones number you only have to go to your Admin and choose from there Modules->Shipping

There you probably have already activated the zones module and if not now is the time to install it. If you already had it installed then first choose Remove and directly after that Install it again. Only this way the change you made will be reflected correctly within the module. Now you can put the countries you need for each zone into their place. Choose Edit and fill in the Zone 1 and Zone 2 countries with all the other appropriate values for each zone.

That should be it.

Link to comment
Share on other sites

Hello Jari,

 

After you have changed the zones number you only have to go to your Admin and choose from there Modules->Shipping

There you probably have already activated the zones module and if not now is the time to install it. If you already had it installed then first choose Remove and directly after that Install it again. Only this way the change you made will be reflected correctly within the module. Now you can put the countries you need for each zone into their place. Choose Edit and fill in the Zone 1 and Zone 2 countries with all the other appropriate values for each zone.

That should be it.

 

I DID IT, BUT DIDN'T SEE ANY CHENGE - STILL SAME - ONE ZONE :-(....

 

Can anybody help?

Link to comment
Share on other sites

Now i notice new problem, for finnish orders everything is fine but when i order for sweden there are no shipping costs at all so where is the problem?

 

 

Zone 1 Countries
FI

Zone 1 Shipping Table
3:9.00,4:15,5:0.00

Zone 2 Countries
SE,DE,NO,DK

Zone 2 Shipping Table
3:15.00,5:20.00

Link to comment
Share on other sites

hi there,

 

i wanted to add zones, just as described in this thread and in the file. zone based rates was already installed, so i changed the number of zones in the zones.php file to 3. then there were blank boxes, so i deinstalled the zones module, as described here. but now when i want to re-install it i get this error:

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'True', 'False'), ', now())' at line 1

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Enable Zones Method', 'MODULE_SHIPPING_ZONES_STATUS', 'True', 'Do you want to offer zone rate shipping?', '6', '0', 'tep_cfg_select_option(array('True', 'False'), ', now())

[TEP STOP]

 

what is going on ? :'(

 

regards,

estatic

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...