A
A
Alexey Fisenko2020-11-23 17:05:21
WordPress
Alexey Fisenko, 2020-11-23 17:05:21

How to make regional product listing in Woocommerce wordpress?

The question arose of creating an online store with a variety of products from different sources.
And I would also like to display for each city the same goods or some specific ones.
An example of implementation on this site
snik.co/samara/obuv/rieker
snik.co/voronezh/obuv/rieker

The goods here are either pre-added or a random list is generated from those available in the category.

Is there something similar for Woocommerce?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WP Panda, 2020-11-23
@wppanda5

Determine the user's region and modify the url through the home_url filter https://github.com/WordPress/WordPress/blob/35f6c3...

A
Artem Zolin, 2020-11-23
@artzolin

To determine the user's location, you can use Yandex maps - they determine quite accurately. In addition, you may need them when calculating the cost of delivery
Request to determine the position of the user -> redirect. Or the ability to select a city from the list. The distribution of goods by city is a purely technical task, for the manager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question