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:

    
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:

WC Database Format (1997) RE: OK, here goes... (1997) Editor? (2000) syntax question, not in online refernce (1997) Wierd thing in ViewOrder.tpl (1999) Windows 2000 Server & Webcatalog 3.x (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) emailer settings and control questions (1997) Why won't Netscape... (2000) Wanted: More Math Functions (or, Can You Solve This?) (1997) [text] variable assignment within [search] context (2000) Tab Charactor (1997) Shipping based in distance and weight (1999) WebCatalog and WebMerchant reviewed by InfoWorld (1997) WebCat 3.04-3.07 plug-in dying on server.... (2000) alternate location for cookies (2001) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Plugin or CGI or both (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) customers getting same cart (2004)