Post by jason_class » Thu Jan 01, 2009 11:26 am

Hi All

First I apologise if I repeat any of the questions asked in the past.
I checked all related posts about shipping and really cant get it right.

Simple, I wish to create a flat rate shipping fee for different countries and how can I set it right in the admin?
I checked by default there are all zone, UK zone. I added Singapore and so on. However I seem to be able to use only 1 shipping fee for all those countries.
Am I wrong with the concept?
I tried per item, by zone....

Once I have the above right, I will check the possibility of having payment by item weight.
Kindly advise how this will be different with weight factor taken into consideration

Thanks All!

Jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm

Post by bruce » Thu Jan 01, 2009 2:14 pm

Hi Jason,

You are correct in your assessment of flat rate shipping. It can only have one zone.

If you want to create a flat rate, zone based shipping module, the best way I can think of to solve this for you is to create a copy of the zone based shipping files and rename it throughout to (say) zone2. The code does not have to be descriptive, just unique. Then with your zone2 shipping, you can select the zones you want and only define one fee per weight range.

eg: 100000:12 will give you a cost of 12 (store currency units) for an order weight up to 100000 (store weight units). You can do this with different values for any or all of the zones you have defined.

If you want to have different shipping costs per zone per kg then the zone based shipping module will work for you just as it is. Each weight/charge combination that you want is defined as I showed above. If you have more weight/charge combinations for a particular zone then you add them, separated by a comma, as follows

20:25,90:15,100:10,1000:5

Hence if the order weight is,

Code: Select all

** weight values are in the weight units of the store (local tab in settings) **
** currency values are in the currency units of the store (local tab in settings) **
             up to   20 => 25
over 20  and up to   90 => 15
over 90  and up to 100  => 10
over 100 and up to 1000 => 5
over 1000               => shipping is free
so, what we have created is a sliding scale of shipping that gives the customer a better rate as the order increases.

Hope this helps

Bruce

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by jason_class » Thu Jan 01, 2009 9:53 pm

Hi Bruce

Thanks a lot for writing in length & effort. I am pondering over the method you shared.
I will write back with my questions.

Thanks!
Jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm

Post by jason_class » Sat Jan 03, 2009 7:23 pm

Hi Bruce

Thanks once again.
I have below questions which need help for the case where I want shipping fee to group by different country.(zone=country for my case)

1) First, I should use the admin tool to create say zone1, zone2, zone3 so they are available in the shipping tab selection later. Plus I need to enable each of them and disable Flat and per item option.

2) Then I need to duplicate zone.php under directory catalog\extension\shipping & make sure I have zone1.php,zone2.php,zone3.php

3) Within all those zone?.php file, there are code with variable zone, zone_, shippingzone, and so on. Which one I should add in the number1, 2, 3 for each zone1, zone2, and zone3 related file to ensure code execution work?

4) Then will key in 100000:12  for example in the shipping option under the admin tool and make sure each zone shipping option is enable.

Can you help to advise the above any other php file(which directory), or admin tool setting I need to alter before I actually execute my plan?
Thanks you Bruce and All for teaching me.

best rgds
jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm

Post by bruce » Sat Jan 03, 2009 7:57 pm

Actually, do not do step 2 or 3. Just do steps 1) and 4) with the existing zone based shipping. You do not need to make any new files.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by jason_class » Sun Jan 04, 2009 12:27 am

Hi Bruce & All

I did the action1) and 4) as guided

I tried many times and keep having errors as follow. I just can't get the load goes to shipping method after I log in as buyer and select the item at checkout
----------------------------------------
Delivery Information
Error: Shipping method required!
-----------------------------------

Could you help to use below login to test and advise me what should be corrected?
username email: opencarttest@yahoo.com
password: testing123
my site is http://testcart.awardspace.com/catalognew/upload

Actually at Admin tool, Under extension, I have 3 option which is FLAT RATE, PER ITEM RATE & ZONE.
1)Should I insert more ZONE as ZONE1(Singapore), ZONE2(China) and so on? Or
2) I click Zone under EXTENSION, then I would be able to see SINGAPORE , CHINA which I have created in ADMIN->SETTING->LOCALISATION->GEO ZONE (not ZONE). With this I just do the configuration setting(Config icon clicking) by enabling for each zone and set in the right weight:price info

Actually I did 2) already as explained but that still gives me the error.

I believe I have not fully got the concept of how to set up the shipping term in Opencart. Therefore kindly help

I am sorry for taking your time.

best rgds
Jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm

Post by Qphoria » Sun Jan 04, 2009 1:36 am

jason_class wrote: Hi Bruce & All

I did the action1) and 4) as guided

I tried many times and keep having errors as follow. I just can't get the load goes to shipping method after I log in as buyer and select the item at checkout
----------------------------------------
Delivery Information
Error: Shipping method required!
-----------------------------------

Could you help to use below login to test and advise me what should be corrected?
username email: opencarttest@yahoo.com
password: testing123
my site is http://testcart.awardspace.com/catalognew/upload
That user information doesn't work. So I created an account
user: test@test.com
pass: test

I checked out normally. I added Product 4 to cart, clicked on checkout. It asks me to choose shipping. I chose zone 1. Then payment, then checkout confirm

I also tried "Happy Cookie". That skips shipping because you did not set "Requires Shipping" for that product in the admin area, so it goes right to payment.

But never is there an error that you show above unless you try to click next without choosing a radio button on the shipping page, which is user error.
Last edited by Qphoria on Sun Jan 04, 2009 1:37 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jason_class » Sun Jan 04, 2009 9:01 am

Hi Qphoria & All (to Bruce too)

Thank you very much for the help given.
I believe it should be true that happy cookie was not set with the shipping option as I kept trying on happy cookie & Book1.
I seem to have a better idea now regarding the compulsory setting. Anyway I will log in and verify for all the dummy product listed

For unknown reason I could not load my cart on the free hosting site(since it is free, I often have this loading prob). I will log in and verify and shall feedback the findings.

I thank you for your time spent in helping out.

Jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm

Post by jason_class » Mon Jan 05, 2009 8:34 pm

Hi Qphoria & Bruce

Thanks for helping out.
I did a check based on your suggestion and input. I found one important thing.
I missed the step of inserting the zone in my geo zone. Therefore with the shipping address point other than UK, I have problems.
Now it seems solved and I am constantly checking for any other errors and shall feedback

Thanks!

Jason

New member

Posts

Joined
Tue Dec 23, 2008 11:03 pm
Who is online

Users browsing this forum: No registered users and 4 guests