Jump to content

Product price/currency depending on the IP address/country


Maggie Admin

Recommended Posts

Hi Gurus,

 

I have a requirement to enable different pricing for each product depending on the country the customer is. I do not want to force the customers to login though.

 

I have enabled the GeoIP and  set the specific pricing in the product but does not seem to work.

 

Am I missing anything?

 

Please advise.

 

Regards,

JJ

Edited by Maggie Admin (see edit history)
Link to comment
Share on other sites

Hi Gurus,

 

I have a requirement to enable different pricing for each product depending on the country the customer is. I do not want to force the customers to login though.

 

I have enabled the GeoIP and  set the specific pricing in the product but does not seem to work.

 

Am I missing anything?

 

Please advise.

 

Regards,

JJ

 

Hi jj, can you tell us how it is 'not' working for you?  Native localization is a pretty good idea and if implemented properly can do exactly what you have stated. el

Link to comment
Share on other sites

I have added the localization->currencies with what I require.

 

Then added the Product Price. Also added the specific price/rule/combinations

 

Now when I test as a Visitor/Guest and view the product, the price is showing the default Product Price rather than showing the specific price I have set in the rule/combinations.

 

Any advise if I have missed a step?

Link to comment
Share on other sites

I have added the localization->currencies with what I require.

 

Then added the Product Price. Also added the specific price/rule/combinations

 

Now when I test as a Visitor/Guest and view the product, the price is showing the default Product Price rather than showing the specific price I have set in the rule/combinations.

 

Any advise if I have missed a step?

 

did you use a proxy server of the country you wanted to simulate, i.e. to display the specific price for that country?  You 'must' clear any previous cookie before a country test because if country already in cookie then geo localization will not fire.  Also, make sure you disable (in localization screen), detect country by language, again that would result in geo location not firing.

 

i.e. widget A, 1.Default price and 2) price for country yyy 3) clear cookie 4) visit country from proxy server for testing country

Link to comment
Share on other sites

did you use a proxy server of the country you wanted to simulate, i.e. to display the specific price for that country?  You 'must' clear any previous cookie before a country test because if country already in cookie then geo localization will not fire.  Also, make sure you disable (in localization screen), detect country by language, again that would result in geo location not firing.

 

i.e. widget A, 1.Default price and 2) price for country yyy 3) clear cookie 4) visit country from proxy server for testing country

 

I have tried the suggested steps and it does work and follow the currency which I am located at. (e.g default currency was set to SGD and I am based in MYR)

 

However the product pricing is converted e.g from SGD 150 to RM 444 which is not what I am looking for as in the price rule/combinations I have set Malaysia to RM 45 only.

 

How can I stop it from auto converting? Thanks,

Link to comment
Share on other sites

I have tried the suggested steps and it does work and follow the currency which I am located at. (e.g default currency was set to SGD and I am based in MYR)

 

However the product pricing is converted e.g from SGD 150 to RM 444 which is not what I am looking for as in the price rule/combinations I have set Malaysia to RM 45 only.

 

How can I stop it from auto converting? Thanks,

 

when we use native geo, and to present correct currency do this:

back office-->localiization-->coutries-->edit a country-->set that currencies default currency

 

https://www.prestashop.com/forums/topic/193843-module-prestashop-geo-pricing-geo-target-specific-prices-by-country/

then follow that to module on my shop

then use he demo link to sign into back office

then click configuration on geo targeting pro module

this gives guideline for how to set product price by country and currency.

Link to comment
Share on other sites

when we use native geo, and to present correct currency do this:

back office-->localiization-->coutries-->edit a country-->set that currencies default currency

 

https://www.prestashop.com/forums/topic/193843-module-prestashop-geo-pricing-geo-target-specific-prices-by-country/

then follow that to module on my shop

then use he demo link to sign into back office

then click configuration on geo targeting pro module

this gives guideline for how to set product price by country and currency.

 

So are you saying that the standard Prestashop will do the auto conversion of pricing and no settings will be able to stop this?

 

Yes I had a look at the module but wanted to make sure before purchasing it. Very cool module btw

Link to comment
Share on other sites

So are you saying that the standard Prestashop will do the auto conversion of pricing and no settings will be able to stop this?

 

 

 

i don't understand exactly this.  if we set price by country (not anything else) you should achieve what you desire.

Link to comment
Share on other sites

i don't understand exactly this.  if we set price by country (not anything else) you should achieve what you desire.

 

Ok. I found the part where you can set the conversion rate based on the default currency with the desired country.

 

But just wondering why it does not pick the pricing based on the settings below (specific prices) and rather it does the conversion based on the default currency? What does the setting below do then?

 

 

specific_price.jpg

 

BTW, thanks for being so patient with me.. I am still discovering new things about prestashop on a daily basis. Your previous responses/feedbacks are really helpful. I truly appreciate it. :)

Link to comment
Share on other sites

Ok. I found the part where you can set the conversion rate based on the default currency with the desired country.

 

But just wondering why it does not pick the pricing based on the settings below (specific prices) and rather it does the conversion based on the default currency? What does the setting below do then?

 

 

specific_price.jpg

 

BTW, thanks for being so patient with me.. I am still discovering new things about prestashop on a daily basis. Your previous responses/feedbacks are really helpful. I truly appreciate it. :)

 

scroll down on this page to find Priority Management, where you tell PS for this product priority to be used.  IMHO you only need Price by 'Country'.  I do not see (know) advantage of group/language.

  • Like 1
Link to comment
Share on other sites

scroll down on this page to find Priority Management, where you tell PS for this product priority to be used.  IMHO you only need Price by 'Country'.  I do not see (know) advantage of group/language.

 

Thanks! That works like a charm ! 

  • Like 1
Link to comment
Share on other sites

scroll down on this page to find Priority Management, where you tell PS for this product priority to be used.  IMHO you only need Price by 'Country'.  I do not see (know) advantage of group/language.

 

had to reopened back this thread as the Geolocation stopped working after I cleared by browser cookies and cache. :(

 

The whole site just crashed.. had a panic scare and decided to turned off the Geolocation and the site was up and running.

 

Is this expected? It seems very unstable.

Link to comment
Share on other sites

had to reopened back this thread as the Geolocation stopped working after I cleared by browser cookies and cache. :(

 

The whole site just crashed.. had a panic scare and decided to turned off the Geolocation and the site was up and running.

 

Is this expected? It seems very unstable.

 

No, this is not expected, Geo Location has been around forever without to much issue.  When you see something 'crash' then enable PS  debug mode so you can see php error.  Also you can check from hosting control panel for the error you  previously had when you said crashed.  With that information it will be easier to understand the issue.

Link to comment
Share on other sites

No, this is not expected, Geo Location has been around forever without to much issue.  When you see something 'crash' then enable PS  debug mode so you can see php error.  Also you can check from hosting control panel for the error you  previously had when you said crashed.  With that information it will be easier to understand the issue.

 

I have enabled the debug mode for both the override and non Presatashop modules. But how can I view the error log file?

Link to comment
Share on other sites

I have enabled the debug mode for both the override and non Presatashop modules. But how can I view the error log file?

 

ew, don't do that...." have enabled the debug mode for both the override and non Presatashop modules. "

 

login to hosting, find php error log, if you need help there for your hosting, contact or search on how to.

 

For enabling ps debug mode:

 

https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/

Edited by El Patron (see edit history)
Link to comment
Share on other sites

HAHA thanks!

 

I tried and turns out the country I am in is blocked. But I did not restrict any countries in the GeoLocation.

 

I am now getting this error message. What could be the reason?

You cannot place a new order from your country. Asia/Pacific Region

Link to comment
Share on other sites

HAHA thanks!

 

I tried and turns out the country I am in is blocked. But I did not restrict any countries in the GeoLocation.

 

I am now getting this error message. What could be the reason?

You cannot place a new order from your country. Asia/Pacific Region

 

uhm, try this: back office-->localization-->zones

 

is that zone enabled?

 

I've never seen that issue before with geo location...

Link to comment
Share on other sites

  • 10 months later...

Hello all,

 

I've been reading this thread and I wanted to know the following:

 

###

 

I have a store that sells in a specific country, and I want to remove the VAT for all other foreign countries. That I can do, but I want the price to be kept the same and it is in the base country with VAT. 

 

Is there a way PS does this without having to manually go to each and every product and create a specific price for each Country ?

 

'm using PS 1.6.1.0

Link to comment
Share on other sites

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...