Title: not working for ploylang
Last modified: April 17, 2018

---

# not working for ploylang

 *  Resolved [losvincent](https://wordpress.org/support/users/losvincent/)
 * (@losvincent)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/)
 * installed:
    – polylang – WooCommerce Price Based on Country plugin Problem: when
   user not login on site,switch to english language,products shows chinese currency,
   and sitch chinese language,it shows USD currency how to make it work right for：
   show chinese currency in chinese language show USD currency in english language
   and if login on,it works 100% ok,why this for no login user?how to solve it? 
   thanks! [@oscargare](https://wordpress.org/support/users/oscargare/)
    -  This topic was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [losvincent](https://wordpress.org/support/users/losvincent/)
 * (@losvincent)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10189065)
 * and i enable Geolocate with page caching support
    so far more question: 1.is 
   there another way to set like: show chinese currency in chinese language show
   USD currency in english language just via language,not via user IP 2.after enable
   Geolocate with page caching,it shows :v=1c2903397d88 fater URL how to hide it?
   3.now when switch to english language,products shows chinese currency,and sitch
   chinese language,it shows USD currency and this seems sometimes occur,and sometimes
   okay,seems happen on internet explorer how to avoid this? thanks [@oscargare](https://wordpress.org/support/users/oscargare/)
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10190102)
 * Hi,
    1. PBC displays the price and currency for the zone of the customer country.
   If can change the customer country based on language and PBC display for this
   country.
 * 2. This is normal when you set default customer address with page caching support,
   please read: [https://www.pricebasedcountry.com/docs/getting-started/geolocation-cache-support/](https://www.pricebasedcountry.com/docs/getting-started/geolocation-cache-support/)
 * 3. It seems a problem related with cache.
 * Regards,
    Oscar.
 *  Thread Starter [losvincent](https://wordpress.org/support/users/losvincent/)
 * (@losvincent)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10192330)
 * [@oscargare](https://wordpress.org/support/users/oscargare/)
    thanks for reply
   1.so you mean i can enable the option Load products price in background (recommended).,
   and do not need to enable Geolocate with page caching support(i really don’t 
   want this,add ？v=to my URL,not good) i w’ll try Load products price in background
   i understand this plugin detect via user really IP and when this is enable,the
   price loads delay 2-3 second，how to speed it 2.show chinese currency when switch
   to chinese via polyalng switcher show USD currency when switch to english via
   polyalng switcher we can’t do this? plugin detect by user computer defaut language,
   not polylang language? can you add this function in future? very thanks,like 
   your plugin
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10195108)
 * Hi,
    If you enabled_ load product price in background_, you only need to set 
   _Default customer location_ to **Geolocate** PBC displays the price and the currency
   for the customer’s country, the geolocation by IP is provided by WooCommerce.
   When you enabled load product price in background, Price Based on Country fires
   an AJAX request on each page to refresh prices dynamically. The ajax request 
   is required to change the prices according to the location of the customer. This
   request can require more time on slow servers.
 * 2. You can change the country of the customer based on languages by a snippet(
   This type of support is outside the free support we offer through these forums).
 * Thank you for your feedback! 🙂
 *  Thread Starter [losvincent](https://wordpress.org/support/users/losvincent/)
 * (@losvincent)
 * [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10196608)
 * [@oscargare](https://wordpress.org/support/users/oscargare/) thankyou verymuch
   
   so how to find this snippet ?update to your pro plugin?
    -  This reply was modified 8 years ago by [losvincent](https://wordpress.org/support/users/losvincent/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘not working for ploylang’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-price-based-on-countries/assets/icon-
   256x256.png?rev=1976858)
 * [Price Based on Country for WooCommerce](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [losvincent](https://wordpress.org/support/users/losvincent/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/not-working-for-ploylang/#post-10196608)
 * Status: resolved