Re: WebCat2: multiple currency support

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10525
interpreted = N
texte = Lars von Olleschik wrote: > > Is it possible to let WebCat2 calculate the price of each product in different currencies and put them on the shoppingcart on the fly? > I could think of a special formula that calculates the different prices according to which currency is needed and to have only one price field inside the database and the variables and values for the calculation formula within the language specific temp Hello Lars,I'm French and to have a price in Dollars and in French Francs, I create a convertmonnaie.db like :Devise valeur dollar 5.80where 5,80 is the french value of the US$ and in my result template I use the formula :[format ,2f][math][price]/[lookup db=convertmonnaie.db&lookInField=devise&value=dollar&returnField=valeur][/math][/format]and this give me the equivalent price in US $. You can replace the value dollar by any value you whantJacques VERNAY -- ============================================= - ABSIDIAL - http://www.zarcromcorp.com/absidial Decorez votre vitrine sur l'Internet mailto:absidial@zarcromcorp.com =============================================------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2: multiple currency support (Grant Hulbert 1997)
  2. Re: WebCat2: multiple currency support (Jacques VERNAY 1997)
  3. WebCat2: multiple currency support (ollesch@muenster.de (Lars von Olleschik) 1997)
Lars von Olleschik wrote: > > Is it possible to let WebCat2 calculate the price of each product in different currencies and put them on the shoppingcart on the fly? > I could think of a special formula that calculates the different prices according to which currency is needed and to have only one price field inside the database and the variables and values for the calculation formula within the language specific temp Hello Lars,I'm French and to have a price in Dollars and in French Francs, I create a convertmonnaie.db like :Devise valeur dollar 5.80where 5,80 is the french value of the US$ and in my result template I use the formula :[format ,2f][math][price]/[lookup db=convertmonnaie.db&lookInField=devise&value=dollar&returnField=valeur][/math][/format]and this give me the equivalent price in US $. You can replace the value dollar by any value you whantJacques VERNAY -- ============================================= - ABSIDIAL - http://www.zarcromcorp.com/absidial Decorez votre vitrine sur l'Internet mailto:absidial@zarcromcorp.com =============================================------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Jacques VERNAY

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Problems when user hit back (2000) [taxrate] question (1997) Need relative path explanation (1997) Where is f2? (1997) Reversed words (1997) OT: How to get more traffic to a site? (2005) ssl/empty cart problem (2003) Bug or syntax error on my part? (1997) WCS Newbie question (1997) dynamic PDF no longer working? (2004) sendmail error (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) iTools WebDNA module keeps crashing (2006) Robert Minor duplicate mail (1997) [WebDNA] Before I write this AJAX code from scratch ... (2015) OK, here goes... (1997) Bug? (1997) E-Mail Preferences in Admin Folder (1997) Not really WebCat (1997) Founditems context returning only 1 item (1997)