![]() |
|
|||||||
| Register | FAQ | Members List | Downloads | Calendar | Today's Posts | Search | Webmaster Resources | Webmaster Blogs |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||||
|
Hi all, I've been having a chat with Bagi about this problem, and he's explained to me that there's an inherent problem with UK postcodes, in that they use letters aswell as numbers in the 'zipcode', eg. M1 1AA. After much debate, we couldnt find a solution, so I thought I'd throw the idea open to the forum, for any other ideas people may have...
Basically, the Standard Shipping module in Boss Cart JV does not support UK postcodes. As such, one cannot offer different postal rates based on post code, but only based on weight for UK shipments. Apparently it would be very difficult (perhaps impossible?) to make the Standard Shipping module support UK postcodes because of the Letters in the code - php logical operator can only compare numbers, not letters. So I wondered, does anyone have any experience of any other shopping cart that does support UK postcodes? And if so, can we learn anything from that to either modify the current Boss Cart JV shipping module, or, add a new module for us poor people in the UK who have alphanumeric postcodes and not numeric. ?!?!? I'd be interested to hear any ideas people have on this, because, after all, some couriers in the UK actually charge more for shipments to certain remote postcodes, so, it would be essential for anyone selling to UK people to have this facility built-in to their shipping section of their ecommerce enabled site. Cheers, Jon |
|
|||||
|
I was thinking on this problem a little in the past minutes and i have an idea. So it is based on a php function which would transform the zip string into numbers. For instance if the input is abcd the output would be 1234 this way. This way they can be compared, but as i see the UK zip codes have different length. I will try to find out something, which will work.
__________________
█Time may come when you will need a shopping cart █digitális mérleg keresőoptimalizálás |
|
|||||
|
Sounds like some sort of idea yes. I suppose it would need to be defined as to how exactly the administrator of the cart would like this to work.
eg. Should there be a free text box where the administrator could list full UK postcodes separated by ";" for example Code:
m1 1aa; m1 1ab; m1 1ac; m1 2a; Code:
m1 1; m2 2; m3 3bw Not sure if this would work with Bagi's suggestion to convert to numbers? Something else I thought of, which might be easier? Is why not move away from the zipcode and take it to the town/city level. So have the shipping variable to be based upon town/city entered in the postal address as opposed to postcode? If the the city in the shipping address matches that entered in the shipping module, then it's selected as a valid shipping method. For example; Code:
chesterfield; sheffield; Hmm lots of things to consider I guess. |
|
|||||
|
Yesterday before falling asleep i think i figured out the best way of comparing the zip code with specific ranges. I think that the other suggestion about the cities could be better. As i can estimate my current tasks i would say that the solution will be ready in 2 weeks.
Thank you
__________________
█Time may come when you will need a shopping cart █digitális mérleg keresőoptimalizálás |
|
|||||
|
Bagi, the more i thought about it last night the more i started to think perhaps cities would be simpler too. It's not obviously anywhere near as accurate (because postcodes go down to the sub-street level), but, it would at least give administrators some ability to charge for varied UK postage for different geographical areas. To avoid typing mistakes from the user confusing the script, the town/city in the billing and shipping forms could be a drop-down selection box of all UK town/cities maybe?
|
|
|||||
|
The problem of the cities is the typo mistakes. If somebody could not write the name of the city correctly there will be problem when time come to calculate the shipping price. I still did not have time to map the patterns of the UK zip codes, but i will do it soon. At least i hope
![]()
__________________
█Time may come when you will need a shopping cart █digitális mérleg keresőoptimalizálás |
|
|||||
|
Bagi, I figured that the city could be a drop-down selection box. This means the users cannot possibly type it incorrectly
![]() |
|
|||||
|
I see, but JV script is used worldwide so if i substitute the input form labelled as city with a select object lising all of the UK towns the script can not be used in Australia for instance. Of course the script can be customized in accordance your need, if you have the willingness to compile a list of every UK town i will help you implement the select drop down box.
__________________
█Time may come when you will need a shopping cart █digitális mérleg keresőoptimalizálás |
![]() |
| Bookmarks |
| Tags |
| uk shipping postcodes |
| Webmaster Resources |
|
• UK WW SEO Tools • Find UK Hosts |
| The Forum Rules |
|
• Forum Rules - MUST READ |
| Site Of the Month |
![]() Nominate site of the month |
|
|
| UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons. |
| Subscribe to our feeds |