Forums / Addon Shipping Modules / Wanted - Local Delivery by Postcode

Wanted - Local Delivery by Postcode

Locked

Views: 8,071

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
12 May 2006, 8:43 PM
#1
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Wanted - Local Delivery by Postcode

I have other people looking into this, but I thought I'd spell it out here in the hope that somebody has already invented this particular wheel. I'll listen to any offers (and detailed explanations of a better way to achieve this), but, in the absence of the Commercial Help forum (pleeeeease can we have that back dev team? - it only takes a minute to add a forum!) please send any commercial responses via PM or e-mail.

**Purpose: To allow free (or paid for express) delivery to certain postcodes, whilst still allowing "normal" shipping options. Postcodes need to be set through Admin** Add an option in admin to enter and store a variable number of post codes (I have about 20 to begin with - I'd suggest a comma delimited list similar to entering prices per weight in the Table Shipping.) The php code to check the current "ship to" post code against these free delivery post codes - the check would need to take place after a new shipping address was entered as well as on first display of Step 1 of the Checkout. If one of the stored postcodes matches the ship to postcode then the shipping module can display.

I think to someone thoroughly familiar with Zencart and proficient in php/MySql, this would really be quite simple - IF my thinking is right, it's simply a case of adding a table to the database, passing the "free" postcodes to it and recovering those codes to check against. But I'm a long way from being proficient in php/MySql!

So, I'd be looking for the file(s) necessary to create the Admin side and the snippet of code to perform the check which I could add to whichever shipping module I wanted to apply this to. The ones I am using (it's a 1.3 cart) are freeoptions and storepickup (the former being used for free delivery, the latter being used for express delivery to the same areas)

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

12 May 2006, 9:39 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Wanted - Local Delivery by Postcode

Did you notice the new Free Shipping Module (freeoptions) ...

This has a zone setting that could be utilized ... and shows at the same time as other modules so you can offere a Free Shipping to a given Zone based on a variety of reasons and amounts ... while at the same time offer all the other shipping modules ...

The trick is ... defining the zone for it to work with ... :blink:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 May 2006, 10:36 PM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Wanted - Local Delivery by Postcode

I'm going to be really cheeky here and respond with "did you read all my post - including the bit...The ones I am using (it's a 1.3 cart) are freeoptions..."? :wink2:

I have that showing when relevant...

The free delivery postcodes are all contained within one **county **which is the only thing in the zone which allows free delivery - the difficulty is getting a zone down to the postcode level.

As we only seem to be able to enter countries and counties into zones ( :unsure: if I'm wrong, please correct me and type the answer slowly for me :laugh: ), another method for identifying post codes needs to be established; there are thousands of postcodes available, but I only want to identify a handful, and I just can't see a better way of doing this..unless you can spell something else out?

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

12 May 2006, 10:52 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Wanted - Local Delivery by Postcode

RYK,

I know this isn't what you are looking for (exactly), but the ot_local_tax mod works by selecting only postcodes that you select.

I'm thinking the logic for making the comparisons you are looking for are there.

maybe someone could modify it and the delivery mod to work the way you want.

I'm not technical enough to tackle it though.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 May 2006, 11:08 PM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Wanted - Local Delivery by Postcode

Thanks - I'll take a look tomorrow - it's my bed time now!:sleepy:

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

24 Jul 2006, 10:13 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

I need something similar - a shipping "calculator" based on the OUTBOUND part of the UK postcode (CB1 1DM - "CB1" is the OUTBOUND part). Any ideas anyone???

20 years a Zencart User

30 Jul 2006, 11:29 PM
#7
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Wanted - Local Delivery by Postcode

If you're still looking for this schoolboy, PM me.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

10 Aug 2006, 4:10 PM
#8
splieg avatar

splieg

New Zenner

Join Date:
Jul 2005
Location:
Newfoundland, Canada
Posts:
59
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

I'm trying to accomplish this as well. I need to be able to offer free delivery to only select postal codes. Ideally, if a customer is registered and their postal code is one on a list I create, then they see a free local delivery option. Otherwise, the free local delivery is not even displayed. I tried the old Local delivery mode but this isn't suitable. Can anyone suggest something or point me in the right direction??

5 Oct 2006, 10:02 PM
#9
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

Hey there everyone.

Just wanted to ask if anyone was able to come up with a solution for this as I too would like to offer shipping by postcode "in particular free local delivery"

If someone managed to find a solution, please let us know!! :smile:

Cheers Heavenlynights
http://www.heavenlynightslingerie.com.au
Warning: Adult Content - Zen 1.3.8a

8 Oct 2006, 5:51 AM
#10
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

I have to say this type of feature would be great. Its really making thhe zone more granular. Not sure how handy this would be in the US, but in Canada this would work great for me. Yes there would be a maintenance aspect to it but it would allow reasonably detailed control on what shipping methods will show.... I have to say customers selecting flat rate when thhey are 400 km from here is NOT a great problem to have.... and either I need to remove flat rate as an option or find a better solution.

8 Oct 2006, 5:53 AM
#11
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

I have to say this type of feature would be great. Its really making thhe zone more granular. Not sure how handy this would be in the US, but in Canada this would work great for me. Yes there would be a maintenance aspect to it but it would allow reasonably detailed control on what shipping methods will show.... I have to say customers selecting flat rate when thhey are 400 km from here is NOT a great problem to have.... and either I need to remove flat rate as an option or find a better solution.

8 Oct 2006, 9:59 PM
#12
splieg avatar

splieg

New Zenner

Join Date:
Jul 2005
Location:
Newfoundland, Canada
Posts:
59
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

heavenlynights:

Hey there everyone.

Just wanted to ask if anyone was able to come up with a solution for this as I too would like to offer shipping by postcode "in particular free local delivery"

If someone managed to find a solution, please let us know!! :smile:

RYK wrote a script that I am using....he charges a small fee but I paid him and he set it up for me.....works great for US ZIP codes. Just PM him.

9 Oct 2006, 7:32 AM
#13
siege avatar

siege

New Zenner

Join Date:
Apr 2005
Posts:
32
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

I have a module that will only become available if the delivery address postcode appears in the list of postcodes in the admin panel.

It works on the earlier version of Zen Cart but I should be testing it with 1.3.5 soon

Let me know if anyone needs it

Siege

P.S. I will post again once I have confirmed that it works with v1.3.5

Siege

Servant of the LORD.

Ask, and it will be given to you
Seek, and you will find;
Knock, and it will be opened to you...

Matthew 7:7

9 Oct 2006, 8:52 AM
#14
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Wanted - Local Delivery by Postcode

splieg:

RYK wrote a script that I am using....he charges a small fee but I paid him and he set it up for me.....works great for US ZIP codes. Just PM him.

Thanks for the plug, but I must make it clear that I didn't write it...the original author was Dan Syme. I had to pay for it to be written because I didn't have a clue where to start! However, having got it, I did make some zenhancements myself to try to eliminate customer entry errors.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

18 Oct 2006, 3:15 AM
#15
siege avatar

siege

New Zenner

Join Date:
Apr 2005
Posts:
32
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

Just to let those of you interested in a postcode based delivery module that I have one and it works with the current version of Zen Cart.

I am trying to add an extra feature so that you can limit the number of deliveries that can be selected for certain day.

Again if anyone need this code just let me know, I'm still working on the max delivery count part of it but the postcode section is working fine.

Siege

Siege

Servant of the LORD.

Ask, and it will be given to you
Seek, and you will find;
Knock, and it will be opened to you...

Matthew 7:7

18 Oct 2006, 7:16 AM
#16
siege avatar

siege

New Zenner

Join Date:
Apr 2005
Posts:
32
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

For those interested in an advanced local delivery by postcode shipping module

Look here:

http://www.zen-cart.com/forum/showthread.php?p=279001#post279001

Cheers

Siege

Siege

Servant of the LORD.

Ask, and it will be given to you
Seek, and you will find;
Knock, and it will be opened to you...

Matthew 7:7

31 Oct 2006, 1:02 PM
#17
briandmiller avatar

briandmiller

New Zenner

Join Date:
May 2006
Posts:
11
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

Thanks. This looks great.

Q: What do I edit so that the Shipping Cost window, etc. shows "Free Local Delivery" instead of "MODULE_SHIPPING_DRMDELIVERY_TEXT_TITLE (MODULE_SHIPPING_DRMDELIVERY_TEXT_WAY)"?

siege:

For those interested in an advanced local delivery by postcode shipping module

Look here:

http://www.zen-cart.com/forum/showthread.php?p=279001#post279001

Cheers

Siege

14 May 2010, 1:35 AM
#18
cavatappo avatar

cavatappo

New Zenner

Join Date:
May 2010
Location:
New York, NY
Posts:
10
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

briandmiller:

Thanks. This looks great.

Q: What do I edit so that the Shipping Cost window, etc. shows "Free Local Delivery" instead of "MODULE_SHIPPING_DRMDELIVERY_TEXT_TITLE (MODULE_SHIPPING_DRMDELIVERY_TEXT_WAY)"?

I racked my brain forever on this one. Then it finally hit me!

In the \includes\languages\english\modules\shipping\drmdelivery.php file ...

... Change the MONDAYAM in 'MODULE_SHIPPING_MONDAYAM_TEXT_TITLE', 'MODULE_SHIPPING_MONDAYAM_TEXT_DESCRIPTION', and 'MODULE_SHIPPING_MONDAYAM_TEXT_WAY' to DRMDELIVERY.

Slight oversight, I'm assuming, no offense, on Siege's part. That should solve all your problems. I walked through this with several scenarios of zipcodes. It works brilliantly.

Thanks Siege! :clap:

19 May 2010, 12:59 PM
#19
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Wanted - Local Delivery by Postcode

Hi Siege,

I am fairly new to Zen Cart, have managed to get most of my site sorted (https://www.thepetsemporium.co.uk). Now I only have 1 last thing to resolve, and that is my shipping. But seem to have a bit of a headache here! I have 4 options, free to UK postcode (1 post code), 1 delivery fee to 2 other post codes, another to the rest of the UK, and 1 last one for international. I managed to get the shipping sorted for option 2 (post codes RH & TN), is there any way to duplicate this module so it will work for the above?

Barend