Jump to content

Setting currency based on language selection


Recommended Posts

Has anyone been able to do this?

 

i.e. www.blahblah.co.uk/fr/123-product.html

 

Ideally, this should display the currency default for France (i.e Euros). Instead, it just displays the default currency.

 

It is particularly relevant if you are using the Google Merchant module and loading products into the Google Product Database. If your site is multi-language, one of the checks google does to validate your feed, is to check the currency in your feed, matches the currency on the link you submitted.

Link to comment
Share on other sites

 

Thanks guys, but the real problem is that when you submit your product feed to the Google products database. Amongst other info, you send a URL of the product, the price and currency. One of the checks Google does is to see that the price on the feed, matches the price on the webpage. Take this example feed record:

 

Product: Product xyz

Price: 33.22

Currency: Euros

Link: canineconcepts.co.uk/fr/accueil/2549-toits-fencemaster-dog-run.html

 

So when Google follows the URL they get to the page, the but the currency is in the default shop currency which is UK pounds (instead of Euros), so they remove the record from their products DB as it does not match the feed.

 

Prestashop uses the /fr/ to determine which language to display, ideally it should also us this to pick up the default currency already stored for the language.

Link to comment
Share on other sites

×
×
  • Create New...