S
S
Sergey2016-10-22 12:51:47
WordPress
Sergey, 2016-10-22 12:51:47

How to limit street shipping in WooCommerce?

Good day.
We make a site for a pizzeria on WooCommerce.
Delivery of the ordered pizza is currently only possible in certain areas.
How can I restrict orders to only available areas at the checkout stage?
I suppose to unload the streets of the necessary districts from the address directories, but how to implement this in the engine?
Are there any solutions or plugins for this topic?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Petrovsky, 2016-10-28
@Redjek

That's honestly, long and tedious to hack the code, which in the end does not pay off

A
Alexander Gruzdev, 2018-02-08
@Shuriban

I was also looking for an answer to this question. Plugins and add-ons are good, but not what we need. I had to implement my own version using the Google Maps API.
In short, the idea is this:
WooCommerce - determines the area by postal code.
On the shipping page, we determine the postal code using the above API, substitute it in the appropriate "Index" field, then WooCommerce itself determines the available shipping methods.
Described the solution in more detail in the blog

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question