changing currency preference in scriplet
Posted: Fri Dec 26, 2008 9:24 am
Hi,
Ablecommerce is having feature for user to change currency of his preference.
I would like to change it programatically in scriplet.
I wrote #set ($User.Usercurrency.currencyid=2)(aus currency which i added) in the currency page scriplet.
But the product currency display doesn't change to australian dollar amount when I browse the products page.
Can scriptlets be used to do some programming or is it only HTML.
I tested a lot,and it looks like all the properties are ready only and cannot be set programatically.
Any one please help.
Thanks in advance
Carol
Ablecommerce is having feature for user to change currency of his preference.
I would like to change it programatically in scriplet.
I wrote #set ($User.Usercurrency.currencyid=2)(aus currency which i added) in the currency page scriplet.
But the product currency display doesn't change to australian dollar amount when I browse the products page.
Can scriptlets be used to do some programming or is it only HTML.
I tested a lot,and it looks like all the properties are ready only and cannot be set programatically.
Any one please help.
Thanks in advance
Carol