Jump to content

"Country>Currencies>Group" is not working!


Recommended Posts

Hi everyone!

 

I would like to show my website and pricing to another country for example USA, and visitors from USA will be automatically shown the exclusive pricing.

 

My default currency is in pounds.

 

I tested the website and !lthough i'm located in the USA, it is still unable to detect that im from USA, and still showing me the wrong prices.

 

I have to click on "US Dollars" before it show me the prices.

 

Is there any ways that visitors from USA, will be automatically detected and will show them the exclusive pricing??

 

Thank you!

Link to comment
Share on other sites

Hi there,

 

You should follow up the operation of Product::getPriceStatic() function.

 

For price to be changed automatically depending on visitor’s access country, try as follows:

 

1) Set up the pricing policy in your back office in “Prices” tab;

2) Determine user’s required country data in $cookie->id_country; address is the only standard possibility to identify the country. However you can inherit this class and redefine this function’s behavior, identifying the country via IP. IP addresses database can be easily found on the internet.

 

Regards

Link to comment
Share on other sites

Hi there,

 

You should follow up the operation of Product::getPriceStatic() function.

 

For price to be changed automatically depending on visitor’s access country, try as follows:

 

1) Set up the pricing policy in your back office in “Prices” tab;

2) Determine user’s required country data in $cookie->id_country; address is the only standard possibility to identify the country. However you can inherit this class and redefine this function’s behavior, identifying the country via IP. IP addresses database can be easily found on the internet.

 

Regards

 

Hi Andrei,

 

Thanks for your help here!

 

But it's really too advance for me to take it! I'm not a trained programmer.

 

Where do i insert "Product::getPriceStatic() function"?

 

Pricing policies under "Prices" in back office has already been set.

 

Thanks again!!

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...