currency switcher

12/03/2013 9:24 pmlightwalkerBeta Tester

currency switcher

Dear Webassist,I am wanting to add a currency switcher to my ecart installation. I am storing the cart as a cookie and would like to be able to do something like when a user changes the currency on a form to loop through the carts contents and update the Price to a new price from a DB table, then repackage the cart cookie with the updated prices. I assume I can use the function UpdateCart(), but I am unclear as to how this function works.

The new currency prices are held in a DB table. Is is possible to run a loop and update all items prices to the new currency? And does UpdateCart() rebuild the cookie once it is updated? Or is there a better way to do this using the built in ecart function?

How would you suggest I do this.

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.