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:

Webcat/Webmerchant (1998) Free WebDNA snippets (Extending WebCatalog) (1997) Quitting WebMerchant ? (1997) caching -check- (2001) show all problem (1997) EIMS & emailer conflicts? (1999) Navigator 4.01 (1997) webcat and OS 8 (1997) Two prices in shoppingcart? (1997) Sort Order on a page search (1997) possible bug in unix version? (2000) Search returns all, not 20 (1997) Strange search... (2001) Emailer (WebCat2) (1997) Possible Bug in 2.0b15.acgi (1997) Whoops... meant to send it to her directly ... !!!! WebCatProgrammer Opening for Growth eCommerce Startup !!!! (1999) PCS Emailer's role ? (1997) DDEConnect not working (2006) FREE Stuff .. (2003) WebCat3.04/w*4/OS8.5.1 and aliases (1999)