Forums / Developer / S.O.S : Multi-currency setup cache selection ?

S.O.S : Multi-currency setup cache selection ?

Author Message

H-Works Agency

Monday 03 March 2008 10:54:12 am

Hello,

My products class has a multiple-currencies setup.

Based on the country IP of the client i need to display prices in one of those currencies but the language has to be the same (eng-GB).

How should i handle that :

1) Sould i use one siteaccess playing with "preferred_currency_code" inside _SESSION ? :

- The problem is that when cache is enabled this currency change doesn't work anymore. It get stuck on the first displayed currency after cache regeneration.

- How can the cache system recognize this variable and display the right "cached" version using this currency ?

2) Should i use different siteaccesses for each currency ?

Thanx in advance for any help

EZP is Great