D
D
daggett2062015-11-22 13:25:05
PHP
daggett206, 2015-11-22 13:25:05

How to make content substitution depending on the selected city?

Good afternoon!

It is necessary to implement on the site the substitution of price and phone number depending on the city selected by the user. Those. when entering the site, the first thing the user sees is a lightbox with a list of cities. When you select a city, the lightbox collapses and the site displays the current price of the goods and the contact phone number. Also, the site is multi-page, it is necessary that nothing flies when switching between pages.

I ask for help, tell me in which direction to dig or mb there is a ready-made plugin (I'm going to use wordpress). Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Davydov, 2015-11-22
@dimadv7

Look here again, the city, however, is automatically determined using the Yandex API.
smartlanding.biz/geotargeting-dlya-lendinga.html
The bottom line is that we determine the city, region and country of the user, then save these values ​​​​in variables, and then we can check them and display the desired text or any other content for a particular (city, region , countries).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question