• Resolved losvincent

    (@losvincent)


    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

    • This topic was modified 6 years, 11 months ago by losvincent.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter losvincent

    (@losvincent)

    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

    • This reply was modified 6 years, 11 months ago by losvincent.
    • This reply was modified 6 years, 11 months ago by losvincent.
    • This reply was modified 6 years, 11 months ago by losvincent.
    Plugin Author Oscar Gare

    (@oscargare)

    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/

    3. It seems a problem related with cache.

    Regards,
    Oscar.

    Thread Starter losvincent

    (@losvincent)

    @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 6 years, 11 months ago by losvincent.
    • This reply was modified 6 years, 11 months ago by losvincent.
    • This reply was modified 6 years, 11 months ago by losvincent.
    Plugin Author Oscar Gare

    (@oscargare)

    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

    (@losvincent)

    @oscargare thankyou verymuch
    so how to find this snippet ?update to your pro plugin?

    • This reply was modified 6 years, 11 months ago by losvincent.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘not working for ploylang’ is closed to new replies.