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:

possible to oscillate between a [redirect] and [authenticate] every other login attempt? (2000) WebCat b13 CGI -shownext- (1997) japanese characters (1997) RE: Missing contexts on NT (1997) SEARCH Peram (2003) IE drops support (2004) Best way to handle 404 errors with WebDNA and Web* V (2003) ThisURL and getting domain/server address (2005) WebCat2b13MacPlugIn - More limits on [include] (1997) [Sum] function? (1997) How to Display text in empty fields (1997) [WebDNA] COPYFILE & permissions (2013) Exclamation point (1997) Force a search at the default.tmpl page? (1997) WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004) politeness (was searches with dash...) Please Read (2000) WebCommerce: Folder organization ? (1997) WebCat2 beta 11 - new prefs ... (1997) NT IIS number of files limit (2003) Code validation (was: problem using...) (2004)