I
I
Ivan K2019-06-11 11:48:42
Geolocation
Ivan K, 2019-06-11 11:48:42

How to make different prices for different Woocommerce cities?

Hello, similar questions have already been asked here, but the solution was not found in them. Given: WP + Woocommerce + variable products, you need to add a geo definition and change prices depending on the city. Those. there will be one base price, and several cities in which you need to set other prices.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Klepko, 2019-06-21
@gaz12

in theory, you can add the woocommerce_get_price filter, check the location in it and return the modified price. But that's in theory..

R
Roman Kusty, 2020-05-17
@roman_tlt

Using the WT Geotargeting Pro plugin, you can implement both the choice of cities and different prices. In the new version of the plugin, WooCommerce support has appeared, after which, in the admin panel, you can add prices to any product with reference to the city.
I have not tested it with variable products only, so this item is in question.
5ec37c12e851a529648632.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question