How to create delivery restructions on a postalcode level?

  • Posts: 19
  • Thank you received: 0
3 years 11 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
3 years 11 months ago #326606

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: 3 years 11 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
3 years 11 months ago #326623

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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326640

Hi,

How about this shipping plugin:
www.hikashop.com/marketplace/product/250...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 or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
3 years 11 months ago #326660

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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326687

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 or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
3 years 11 months ago #326727
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326731

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

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
3 years 11 months ago #326842

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum