• Resolved doublemarvellouscork

    (@doublemarvellouscork)


    Hi there – I am wondering why the products still show Euro(€) when the site is visited from the UK, if the Shopify it is pulling from shows GBP(£)? Shouldn’t the prices change accordingly? Is there a way to do this?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Andrew

    (@andrewmrobbins)

    @doublemarvellouscork

    Hey there,

    What currency do you see set within the ShopWP settings here?

    ShopWP - Settings - Pricing

    You should be able to adjust the currency here.

    Let me know!

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    HI Andrew,

    is only one currency available? The products are in Euro and GBP on Shopify depending on what country are viewing from

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    Hi Andrew,
    Apologies, I see the area you mean, looks like things are not set up on Shopify side. Thanks!

    Plugin Author Andrew

    (@andrewmrobbins)

    Ah, makes sense. Yeah the currency needs to be setup within the Shopify Markets settings.

    Let me know if you need anything else!

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    Thanks! I need access to the Markets area to check this, but it is already showing GBP if I use a VPN to visit from the UK, is there an extra step to get this to work in ShopWP?

    In Settings->Pricing there is a drop down with both countries. Changing it just changes the currency for the ShopWP products across the whole site, what I want to do is have the price change only when the user is in that country. So if a user is in UK it will show the GBP price. Sorry if I’m missing something obvious

    Plugin Author Andrew

    (@andrewmrobbins)

    @doublemarvellouscork

    Ah! I see what you mean.

    At the moment, ShopWP doesn’t have an automatic currency detection. So there will only be a single currency shown no matter what location the user comes from.

    However, you can still customize this by updating the following database columns:

    
    currency_code
    country_code 
    language_code
    

    Theoretically, you could update these values before the page loads to reflect the user’s location.

    So if the user comes from the UK, you would set them to these values:

    
    currency_code = GBP
    country_code = GB
    language_code = en-gb
    

    I know this isn’t ideal. I’m working on creating an auto detection feature, but it’s still probably a few months away.

    Plugin Author Andrew

    (@andrewmrobbins)

    I should note, these database columns exist in the wp_wps_settings_general table.

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    Hi again. I was about to change these values using wpdb but realised that was the same as changing settings in the plugin right – it would be global so would change the price for all users….are these three values possibly outputted as an object to the page that I can then update before it loads so that the currency is correct for UK users?

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    Hi there, anything on this? Is there anywhere on the page that I can change the currency for the user before the plugin loads?

    To reiterate, I need a user in UK to see the Shopify prices in GBP and non-UK users to see euro -same as they would if they visited the actual Shopify store I am connected to.

    I implemented your suggestion but it just switched the currency globally, same as if I switched settings in the plugin?

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    Hi again, not sure this should be resolved?

    Plugin Author Andrew

    (@andrewmrobbins)

    @doublemarvellouscork I have a PHP filter called, shopwp_settings that you can use to customize the codes. Here’s an example:

    https://docs.wpshop.io/php-filters#shopwp_settings

    I’m not sure if this will help your situation, but it’s worth a shot.

    Thread Starter doublemarvellouscork

    (@doublemarvellouscork)

    That seems like it would be a perfect solution…but it seems to do nothing. Am calling it on an init hook in functions file. Thanks anyway

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How do you localise the prices?’ is closed to new replies.