Remembering state
Posted: Mon Mar 18, 2013 7:57 pm
I'm wondering if anyone has any idea how I could go about the following.
I have an e-commerce site built in cmsmadesimple. The products are priced in both uk pounds and also euros. There is a drop-down at the top of each page so that visitors can select the currency they want to use.
At the moment, the site has two sets of pages: one for the prices in pounds, the other for the prices in euros. But I've always been aware that this is a slightly clunky way of doing things. Is there a way that I can just remember which currency the visitor wants to use which can then be re-called to display the correct price. For example, by setting a session variable or a cookie?
I have an e-commerce site built in cmsmadesimple. The products are priced in both uk pounds and also euros. There is a drop-down at the top of each page so that visitors can select the currency they want to use.
At the moment, the site has two sets of pages: one for the prices in pounds, the other for the prices in euros. But I've always been aware that this is a slightly clunky way of doing things. Is there a way that I can just remember which currency the visitor wants to use which can then be re-called to display the correct price. For example, by setting a session variable or a cookie?