Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jigoshop Support – Marcin

    (@azrielnefezen)

    Hi,
    I’m guessing you have the logic figured out already.
    Line 23 in Jigoshop1x / src / Jigoshop / Extension / MultiCurrencies.php
    You might want to apply a filter to $this->getLocation(), and in your GeoIP (or functions.php if you like) add a filter that’d return the country.
    I’ll leave the debugging to you ??

    Thread Starter Peter Hebert

    (@peterhebert)

    I understand how to retrieve the current currency, what I need to figure out is how to set it. I want to do this behind the scenes, without the currency selector widget, so the customer automatically gets the currency that corresponds to his/her geo location, if in the available currencies, if not ignore and use the defaults from the plugin.

    Plugin Author Jigoshop Support – Marcin

    (@azrielnefezen)

    If that’s the case then check lines 100 and 194-227 in MultiCurrencies.php ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrate GeoIP detection to set currency’ is closed to new replies.