Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Making a zone for a city? Local delivery stuff...


Guest

Recommended Posts

Hello!

 

On my site I would like to have a local delivery rate of $4, and I would like to know the easiest way to do this.

 

I have had some ideas, but there is always a problem.

 

<b>IDEA 1</b>

 

Is it possible to make zones (within locations > taxes) that only apply to a certain city? If so, how would I do this? That whole locations and taxes section really confuses me.

 

 

<b>IDEA 2</b>

 

I installed the local delivery module.

 

Since I live in Canada, the postal codes are cryptic and go in weird patterns. I have this option in the module:

 

Zip codes

Only enable this shipping method for these zip codes. Separate with comma if several, empty if all.

 

How does a person enter Canadian (or any other non-numeric) postal codes in here?

 

 

I would really appreciate anyone's help!

Thank you,

Jen

Link to comment
Share on other sites

Have you tried entering any CDN postal codes into the module? If the person who made the contrib was on the ball, it will accept alphanumeric input. If not, you should be able to edit the database table to make sure it does, then get a list of the area postal codes you want to include. Remember not to put any spaces after the commas. Make sure the text by the radio button specifies the delivery area.

 

Jeremy

Link to comment
Share on other sites

I'm not usually this dumb - honest - but I just can't figure out how zones work!

 

I've set one up for Calgary and I've told osCommerce that it's in Canada.

 

But how does osCommerce that Calgary is a city? How does it know where to look for it in the address of the buyer?

 

 

My problem with postal codes is that there are so many and in patterns I can't figure out. Also since they are in the form of A1A1A1, I don't know how I would tell it to chose between, for example, T3B1A1 and T3B 9Z9. How would it know how to keep that pattern?

 

The contribution says you can set it up for zones, but doesn't say how.

Link to comment
Share on other sites

When I set Calgary as a zone, osCommerce thinks of it as a province of Canada (when I go to make a new address in my account, I'm given a drop-down list of provinces including Calgary.)

Link to comment
Share on other sites

K. osc will query the database to find the customer's postal code. There is on specific place in your database that has a specific code that was entered when the customer created their account. The module with the zip code option will compare the customer's code to the list of accepted ones you have entered. If it does not find a match, then the option will not show up to a customer who's postal code is not on the list.

 

As for figuring out which codes you want to allow, and which you don't you'll be best off talking to Canada Post about that. They should have Calgary maps showing the postal code boundaries. There should also be a list of Calgary's postal codes in your phone book, there is here in Edmonton. As far as setting a city as a zone, that would be specific to that contribution, I'll download it and have a look.

Link to comment
Share on other sites

UUUARRRRGH!

I've been working on this for the last... 6 hours or so and it's still not fixed. I looked in the phone book at all the postal codes and almost fell over at the thought of typing them, but even when I had entered one postal code on the site, and placed an order from that postal code, it didn't work! That stinking box just won't show up!

 

I posted this in the shipping modules forum:

http://www.oscommerce.com/forums/index.php?showtopic=142961

 

I appreciate your help though. Thank you very much for taking your time to help me!

 

-Jen

Link to comment
Share on other sites

No problem, I understand what you're going through, I've been there more than once, it takes a while to get this stuff to work sometimes! I tried installing this on my test site, and I got it to work ok. I had to put a sort order in though, I think it was set to 3 by default, and I already had one set as 3, so nothing showed up the first time I tried. After I set the sort order to 4, it showed up just fine though. I also checked if it mattered if the postal codes matched by capitals or not (Eg T6B0R2 vs t6b0r2) and it doesn't matter. You won't be able to get around entering all the postal codes one way or the other though.

 

Jeremy

Link to comment
Share on other sites

Scratch that, I did some more checking, and it is offered to evry address I tried, so I haven't got it right yet. Also I checked on CP's website, and Calgary has 34 postal code prefix zones, so that's a lot of postal codes, you won't be able to do this practically as is. I need to get some sleep, but tomorrow I'm going to see if I can get it to switch from looking at the postcode to the city cell instead.

 

Jeremy

Link to comment
Share on other sites

At this point, I will be happy if I can get the option to show up at all, even if it shows up to everyone.

 

I can't get the option to show up at all, no matter what combination of options I've chosen, and where my destination address is. I just deleted and re-installed the files this morning. Even when I have no options selected (which, it looks like will make the shipping option always appear)

 

Is it possible that code from another module is interfering with this one? I have the Canada Post Shipping Module and the Individual Shipping module. Both of them (especially individual ship) made me monkey around with code on other pages.

 

 

Thanks again for your time!

Link to comment
Share on other sites

At this point, I will be happy if I can get the option to show up at all, even if it shows up to everyone.

 

I can't get the option to show up at all, no matter what combination of options I've chosen, and where my destination address is. I just deleted and re-installed the files this morning. Even when I have no options selected (which, it looks like will make the shipping option always appear)

 

Is it possible that code from another module is interfering with this one? I have the Canada Post Shipping Module and the Individual Shipping module. Both of them (especially individual ship) made me monkey around with code on other pages.

Thanks again for your time!

 

If nothing is in the option box it should show up for every order. I just tested it on my site and it works ok. What other shipping contrubution did you install? could you put a link and I will take a look at them. Sometimes a second set of eyes are helpfull. :thumbsup:

Link to comment
Share on other sites

If nothing is in the option box it should show up for every order. I just tested it on my site and it works ok. What other shipping contrubution did you install? could you put a link  and I will take a look at them. Sometimes a second set of eyes are helpfull. :thumbsup:

 

Ok, I checked out both conturbutions and can't see a problem. I took my local delivery options and set it to "zones none" entered a test account with a BC zip code, put that zip code in the zip code form and it worked. I'm not sure what the problem is on your end. If you like, email me the files and I will take a look at them for you.

Raymond

Link to comment
Share on other sites

IT WORKS!

 

I installed the very first version of the module without a couple fancier options (postal/zip code), and it shows up, and that is all I need! I don't have a clue why it didn't work before. I didn't do anything differently, so something must have been interfering. After all this time I don't really care anymore.;)

 

Now I hope I don't screw it up!

 

 

 

Jeremy at Oddly Enough and giftmaster, I really appreciate your time! If you ever need help with something I do know (Photoshop, QuarkXpress, Flash(including Actionscript...to a point), Illustrator) I would be happy to help. Just send me a message using the messaging option in these forums.

Link to comment
Share on other sites

IT WORKS!

 

I installed the very first version of the module without a couple fancier options (postal/zip code), and it shows up, and that is all I need! I don't have a clue why it didn't work before. I didn't do anything differently, so something must have been interfering. After all this time I don't really care anymore.;)

 

Now I hope I don't screw it up!

Jeremy at Oddly Enough and giftmaster, I really appreciate your time! If you ever need help with something I do know (Photoshop, QuarkXpress, Flash(including Actionscript...to a point), Illustrator) I would be happy to help. Just send me a message using the messaging option in these forums.

 

Glad to help :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...