Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Im using the Os system for a customer of mine that needs to charge for delivery by zone

 

The thing i havent got a clue how to set the zone rates up.

The zones i will be suing are not countries so i have deleted all the countries from the datbase and i am adding towns and cities instead

 

I dont want the shipping cost to have anything to do with weight or percentage costs at all

I just want to change the charge according to zone

so lets say

 

zone 1=?10 delivery

zone 2=?20

zone 3=?30

 

and so on

simple but not to simple to set up in the os sysytem without involving weights or other factors

 

I have tryed to change the zones.php file and changed this line

 

$this->num_zones = 1;

 

it adds form fields to the zones module in the admin but what am i supposed to put in these fileds as they have no lables

 

:blink:

 

so any ways any help will be cool thanks

Posted
Im using the Os system for a customer of mine that needs to charge for delivery by zone

 

The thing i havent got a clue how to set the zone rates up.

The zones i will be suing are not countries so i have deleted all the countries from the datbase and i am adding towns and cities instead

 

I dont want the shipping cost to have anything to do with weight or percentage costs at all

I just want to change the charge according to zone

so lets say

 

zone 1=?10 delivery

zone 2=?20

zone 3=?30

 

and so on

simple but not to simple to set up in the os sysytem without involving weights or other factors

 

I have tryed to change the zones.php file and changed this line

 

$this->num_zones = 1;

 

it adds form fields to the zones module in the admin but what am i supposed to put in these fileds as they have no lables

 

:blink:

 

so any ways any help will be cool thanks

 

Can anyone help with this as it seems to be fairly popular as a "need" for many of us in the UK especially.

Allan Young

Posted (edited)
Can anyone help with this as it seems to be fairly popular as a "need" for many of us in the UK especially.

 

YE HA

I ve finally sussed it oot

 

What i did was i deleted all the countries and added Scotland as a coutry

then i opened

 

includes>modules>zones.php

and changed this line

 

// CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED

$this->num_zones = 6;

 

as you can see i put it up to 6

 

then i installed the zones module in the admin section

 

now in the zones section of the admin i added all the zones i needed and basically mde up the ISO codes my self like this

 

Dundee DUN and DU

Wormit WOR and WO

 

and so on

then as i have installed the zones with 6 in the line above i now have 6 sections to enter diferent zone rates

as for the weight i just put it like this

 

100:0 in other words anything up to 100 in weight is free shipping but the zone rate was ?20 so although the weight isnt adding shipping costs the flat rate for the specific zone was ?20 which is what i wanted in the first place

 

so the whole thing works a treat now it just took a little farting around with to get the correct effect

Edited by barry100
  • 2 weeks later...
Posted
includes>modules>zones.php

and changed this line

 

// CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED

$this->num_zones = 6;

 

You get my thanks for this since you are the first post I come across giving me what I need to know :)

  • 3 weeks later...
Posted
You get my thanks for this since you are the first post I come across giving me what I need to know :)

 

i had try to do what to said... it seems nothing to achieve...

 

i try to change $this->num_zones = 3;

 

then it will add 6 empty textbox under 'Zone 1 Handling Fee'

 

no matter i enter what...and press 'update'... nothing was change...

 

for my purpose is... i have 6 zone... and i would like to calculate the weight charge for different zone...

 

let's say:-

zone A - weight 2kg will charge US3.00

zone B - weight 2kg will charge US4.00

zone C - weight 2kg will charge US5.00

zone D - weight 2kg will charge US6.00

zone E - weight 2kg will charge US7.00

zone F - weight 2kg will charge US8.00

 

how can i do it???

 

can you teach me since you know how to do it...

 

thank you lengcai...

 

smith

****

Hello World! ^.^ I'm a Internet naive. Browse my working profile

Malaysia Web Services - OPerion Website Marketing System

  • 1 month later...
Posted

i had try to do what to said... it seems nothing to achieve...

 

i try to change $this->num_zones = 3;

 

then it will add 6 empty textbox under 'Zone 1 Handling Fee'

 

no matter i enter what...and press 'update'... nothing was change...

 

 

 

Had exactly the same problem.

 

Sadly, despite many posts about this, the documentation inside Zones.php still isn't very clear - if you installed Zones with the default single zone, and then changed the number of zones, you just have to uninstall and reinstall the module.... then all the labels for the various zones show up and you can actually enter things in them :-)

Posted
YE HA

I ve finally sussed it oot

 

now in the zones section of the admin i added all the zones i needed and basically mde up the ISO codes my self like this

 

Dundee DUN and DU

Wormit WOR and WO

 

 

so the whole thing works a treat now it just took a little farting around with to get the correct effect

 

 

 

 

barry100:

 

Does the cart automatically determine if they're in DUN, WOR, etc. or does a list of zones appear from which people choose? I would like to have the latter, but I suspect it's doing the former.

 

If it does happen automatically, are DUN, WOR, etc. showing as a drop down list in the customer address form? The ISO codes I would be making up would be non-standard, so I need a way for people to properly spell the code so the system picks it up...

 

Do you have a place where we could see your zones at work?

 

Thanks in advance!

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...