Automatically switch currency based on IP

This topic has 2 replies, 2 voices, and was last updated 1 years, 11 months ago ago by Olga Barlow

  • Avatar: fabio_vito
    May 30, 2022 at 09:30

    Dear Support,

    I am reaching you because I would like to implement the feature of automatically loading the website with the relevant currency based on the client IP.
    I have read that I should activate in Woocommerce the option Load product price in the background however, to work properly it requires XStore to use the WooCommerce function $product->get_price_html() to output the price.

    Could you please tell me if XStore uses this wocommerce function?

    Alternatively, could you please tell me how to implement the automatic currency change based on IP feature?

    Best regards,


    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 30, 2022 at 14:17


    Yes, we use this function in XStore theme files. Additional customization is outside of our support so unfortunately, I can’t help you with additional customization. But you can submit customization request here to get a quote if you need help with that.

    If you plan to do customization by yourself don’t forget to use the child theme for these purposes, and don’t make changes in parent theme files.


  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.