Re: WebCat2: multiple currency support

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10569
interpreted = N
texte = >Is it possible to let WebCat2 calculate the price of each product in different currencies and put them on the shoppingcart on the fly?Yes. Add an extra parameter to your $Add and $ShowCart and $Purchase hyperlinks that tells which currency to use, such as $Add?currency=drachma. Then put [showif [currency]=drachma]... into your formulas.db for price.>An second question: I'd like to calculate shipping cost acording to the final weight of the whole order. Is that possible? Yes. Put the weight of the product into the product database, and either add up the weight in your [lineitems] loop, or change the Formulas.db shipCost formula to add up all the weights and calculate the cost there.Formulas.db: shipCost [math]1.75*([LineItems][weight]+[/LineItems]0)[/math]Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.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)
>Is it possible to let WebCat2 calculate the price of each product in different currencies and put them on the shoppingcart on the fly?Yes. Add an extra parameter to your $Add and $ShowCart and $Purchase hyperlinks that tells which currency to use, such as $Add?currency=drachma. Then put [showif [currency]=drachma]... into your formulas.db for price.>An second question: I'd like to calculate shipping cost acording to the final weight of the whole order. Is that possible? Yes. Put the weight of the product into the product database, and either add up the weight in your [lineitems] loop, or change the formulas.db shipCost formula to add up all the weights and calculate the cost there.formulas.db: shipCost [math]1.75*([lineitems][weight]+[/LineItems]0)[/math]Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Grant Hulbert

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:

[HIDEIF] inside [FOUNDITEM] (1997) Authorize.net? (2003) Affiliate Program code (2000) math on date? (1997) Date Calulation (1997) Linux WebDNA Server probs (2004) Shipping based on qty (1998) Symantec VIsual Page 1.0.3 (1997) I'm having trouble using [url][interpret][math] together in lookup (1997) Email Set-Up? (1997) Merging databases (1997) all records returned. (1997) Duplicate record (2005) WebCat odd log behavior (1998) Where is f2? (1997) Sort Order on a page search (1997) Forms Search Questions (1997) New public beta available (1997) Problem 2: Prefs file... (1997) Sorting by date (1997)