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:

[WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char? (2009) lookups (2000) UPS Shipping (1999) WebCat2 beta 11 - new prefs ... (1997) Huge databases and RAM (1998) [protect admin] (1997) problem serving foreign languages text (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re[2]: Enhancement Request for WebCatalog-NT (1996) [WebDNA] High-profile WebDNA sites? (2008) [format xs] freeze (1997) process SSI (1998) Time Tracking (2003) WebCat2b12 CGI Mac - [shownext] problem (1997) WebCatalog for guestbook ? (1997) [Replace] (2000) Email Formatting and Encryption (1998) with Link i need to (1997) What am I doing wrong? (2000) WebCat2b12--[searchstring] bug (1997)