Post by slapbang » Mon Feb 02, 2015 1:47 pm

Hi,

I was going to buy this postcode based shipping extension but the instructions are vague.
http://www.opencart.com/index.php?route ... on_id=6687
I want to add a shipping zone database table to the database with these fields: product ids, postcodes and shipping from a large csv file.
Is there a way to do this without the extension as the extension doesn't appear to do it.

Newbie

Posts

Joined
Fri Jan 23, 2015 3:40 pm

Post by Johnathan » Mon Feb 02, 2015 11:28 pm

Postcode-Based Shipping is for postcode-based flat rates for the entire cart. If you want to have ones for individual products, you could use Category & Product-Based Shipping, which can do that.

You can back up its settings into a a .txt file, which you can then edit in a spreadsheet editor. It has a particular format that you'll need to follow, which you can read more about how to edit here:

http://www.getclearthinking.com/tutoria ... ckup-files

For your purpose, you would be adding rules for the postcode range(s), and rule for the associated product. If you'd like to discuss the format further, or have any questions, feel free to contact me at www.getclearthinking.com/contact

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by slapbang » Tue Feb 03, 2015 5:38 am

Hi Jonathan,
The shipping price for each product varies according to the postcode. Which extension do I need for this?
Thanks.

Newbie

Posts

Joined
Fri Jan 23, 2015 3:40 pm

Post by Johnathan » Tue Feb 03, 2015 7:19 am

If they are flat or per item rates, you can use a Postcode type charge, and enter the ranges like this:

1000-1199 = 5.00
1200-1299 = 7.00
etc.

You then add a "Product" rule to the charge, to restrict it to just that product. If you have more complex charge structures (like a weight-based scheme) then you need to set up the brackets that way, and then use a "Postcode" rule to restrict the charge to those postcodes.

I don't check the forum as often as my e-mail, so again, please use my contact form if you'd like to discuss it further.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by slapbang » Tue Feb 03, 2015 8:32 am

Hi Jonathan,

I tried what you said in the postcode based shipping demo.
I added a charge by clicking the +Add Charge button:

1. In the first field added admin reference (a name for it): Postcode Charge
2. In the second field added the title displayed to customer: [postcode] (this will display the calculated postcode).
3. In the charge field added the postcode ranges and prices, e.g.
1000-1199 = 5.00
1200-1299 = 7.00
etc.
4. Then clicked +Add Rule and tried to add a "Product" rule to the charge, to restrict it to just that product.

But you have to choose the rule type from a dropdown list, which doesn't have a product rule type in it.

Newbie

Posts

Joined
Fri Jan 23, 2015 3:40 pm

Post by Johnathan » Tue Feb 03, 2015 11:08 pm

The extension I referenced that has Product rules is Category & Product-Based Shipping. Use the demo link on that page, to get to the right admin panel area.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 3 guests