Y
Y
Yan Alexandrov2018-08-24 21:18:34
Online shopping
Yan Alexandrov, 2018-08-24 21:18:34

How is multicurrency implemented correctly in IM?

Site on Wordpress. How is multicurrency implemented in IM in the most optimal way?
Necessary:

  1. User-friendliness (which is better: with page reload or not)?
  2. At the same time, it is necessary to take into account the work with caching with 100% confidence in adequate work.

I thought to implement either on JS with cookies (but "jumping-recalculations" of prices are possible here)
On php through get requests, then what about the load?
Do you have any other options?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan Hasanli, 2018-08-24
@azerphoenix

Hello!
Do you want to write it yourself or are ready-made plugins suitable?
https://wpml.org/documentation/related-projects/wo...
https://ru.wordpress.org/plugins/woo-multi-currency/

A
Alex-1917, 2018-08-24
@alex-1917

item 1. - what do you think?)))
Of course, do it in JS, change prices smoothly through fade - everything will look like chocolate.
here you need to clarify a couple of nuances:
1. Upload (into a session or localstorage, or even just into a js-array) initially the exchange rate, this is just one or two numbers.
2. By clicking on the currency change, a banal recalculation and replacement in the corresponding blocks, it will take 50ms on the client
. The Russian Federation is allowed only in one currency, then there is no need for troubles with a basket, etc.. I.e. the original price in rubles will be added to the order!
I doubt that you are talking about a mega store with 20 currencies that sells all over the world. so all three of the above points are the very thing !! ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question