[Skip to main content](#vessel-content)

#   How to create delivery restructions on a postalcode level?

##

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

6 years 5 hours ago [\#326604](#326604) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326604 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")* was created by *[guyb](/forum/user/60326-guyb "View guyb's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3.12
-- Browser(s) name and version -- : firefox

What is the best approuch for defining delivering restrictions on (some) postal-code level?
It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold...
I have seen restrions on country level and on zone level, but they are to wide.

And I need to keep in mind that sometimes 1 postalcode is not sufficiant.

Is adapting 'openinghours' feasable?
Other idea's?
Thanks in advance
Guy

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 11 months ago -  6 years 4 hours ago [\#326606](#326606) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326606 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

Hello,

We can already told you that unfortunately there are no way to have restriction in shipping method on a city scale.
Because it's more a point of delivery, but maybe we have some tricky solutions to provide, but we need to better understand widely your needs in general, and this delivery need in details, through concrete example and description.

And can you explain what do you means with "***Is adapting 'openinghours' feasable? Other idea's?***", it's another question or linked to previous point ?

Regards

Last edit: 6 years 4 hours ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 11 months ago [\#326623](#326623) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  Replied by *[guyb](/forum/user/60326-guyb "View guyb's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326623 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

The product the client is buying, is warm food. And the approach is that the client pays on delivery, in the shop itself (avoiding any extra bank costs) So I'm just looking for a way to prevent that people can order food when they live +20km from the shop.

4 idea's come in mind.
1)evaluating the zone-field (but here the zone code should be in 4 caracters) during checkout
2)using the openinghours: adding a postal code in the evaluating process of the openingshours procedure
3)not allowing people to register themsefs when the postal code is not in range. (This is not my preferred solution.)
4)force this "not wanted group of clients" to pay in advance.

So basically, the solution is important. Not the approach.
Regards
Guy

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#326640](#326640) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326640 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

Hi,

How about this shipping plugin:
[ www.hikashop.com/marketplace/product/250...shipping-plugin.html](https://www.hikashop.com/marketplace/product/250-address-geocoding-shipping-plugin.html)
It was developed specifically to be able to have range limits based on the geolocated address of the customer.
So you select the address of your shop, or warehouse, and the maximum distance, and then the system will calculate automatically the distance between that point and the address of the customer and display or not the shipping method based on that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 11 months ago [\#326660](#326660) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  Replied by *[guyb](/forum/user/60326-guyb "View guyb's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326660 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

that looks promissing. Thanks!

What type of map do I need? Is the type Static Map sufficient?
And can I use any type of map whit this plugin, depending on what I exactly want to do?
Guy

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#326687](#326687) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326687 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

Hi,

I'm sorry but I don't understand your questions.
What is "Static Map" ?
This plugin doesn't display any map.
It uses the Google Maps API to geolocate (find the latitude and longitude of) the shipping address of the customer and then calculates the distance between you and them thanks to that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 11 months ago [\#326727](#326727) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  Replied by *[guyb](/forum/user/60326-guyb "View guyb's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326727 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

Found on [ cloud.google.com/maps-platform/pricing](https://cloud.google.com/maps-platform/pricing)

- [ ![Screenshot-201130010.png](/forum/attachment/51278) ](/forum/attachment/51278 "...-201130010.png") [ ](/forum/attachment/51278?download=1 "...-201130010.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#326731](#326731) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326731 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

Hi,

As explained on the link on the marketplace, you'll be using these with this plugin:
Geocoding API, Places API and Maps JavaScript API
You can see on your link that geocoding is 5$ per 1000 requests, and maps javascript API is 7$ per 1000 requests, with the first 200$ free each month.
So basically, you can geolocate about a few thousands addresses for free each month.
Note that the address is only geolocated when it's created or modified.
So basically, you'll pay nothing to use the APIs from Google unless you have a big store with thousands of new/modified addresses each month.
You'll see in your Google Maps account statistics about your usage of the APIs and how much it will cost and what you'll have to pay on that.

The following user(s) said Thank You: [guyb](/forum/user/60326-guyb "View guyb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[guyb](/forum/user/60326-guyb "View guyb's Profile")**
- [![guyb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60326-guyb "View guyb's Profile") Topic Author
- [ Offline](/forum/user/60326-guyb)

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 11 months ago [\#326842](#326842) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  Replied by *[guyb](/forum/user/60326-guyb "View guyb's Profile")* on topic *[How to create delivery restructions on a postalcode level?](/forum/27-checkout/901354-how-to-create-delivery-restructions-on-a-postalcode-level#326842 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.12 -- Browser(s) name and version -- : firefox  What is the best approuch for defining delivering restrictions on (some) postal-code level? It is for a food website who delivers warm food. And of course if one has to drive 100km, the food is probably to cold... I have seen restrions on country level and on zone level, but they are to wide.  And I need to keep in mind that sometimes 1 postalcode is not sufficiant.  Is adapting 'openinghours' feasable? Other idea's? Thanks in advance Guy")*

"Note that the address is only geolocated when it's created or modified." didn't know this.
Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTM1NC1ob3ctdG8tY3JlYXRlLWRlbGl2ZXJ5LXJlc3RydWN0aW9ucy1vbi1hLXBvc3RhbGNvZGUtbGV2ZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.074 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
