<no subject>

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22111
interpreted = N
texte = Hi all,I am still struggling getting the right shipping cost in my invoice.tpl working. I am working on it since one week now and I cant get it to work.I hope someone can help me.The goal: We have a recycling fee here in Switzerland which has to be applied. I solved this in the way that I have a entry in the products.db called recycling and let Webcatalog do a lookup with the formulas.db and return the field Recycling. It also loops trough each lineitem so that it adds it up. Thats is working great.NOW, I need to do exactly the same with the shipping cost but with weight this time. I don't care anymore if I have to put a entry in the products.db for shipping or if Webcat is calculating it.I tried several things but to no success. As soon as I enter a formula with shipCost in the formulas.db I calculates everything together. As stated in the manual, shipCost is for calculating the whole order.All I need is to add up the weight of the ordered items, look it up in a Datatable and spit out the price according to the weight.Is that so difficult?I am desperate trying it now for a week.Sincerely, Nitai*** MacTrade - http://www.mactrade.ch More Mac for your money EMail: Info@mactrade.ch Fax: 052 / 654 15 59 *** Associated Messages, from the most recent to the oldest:

    
  1. (Aaron Lynch 2003)
  2. (Jay Van Vark 2002)
  3. (Jimi Sweet 2002)
  4. Re: (Rob Marquardt 2001)
  5. Re: (Donovan Brooke 2001)
  6. Re: (Andrew Simpson 2001)
  7. Re: (Brian Fries 2001)
  8. (Andrew Simpson 2001)
  9. Re: (John Peacock 2000)
  10. Re: (Mark Sherwood 2000)
  11. Re: (John Peacock 2000)
  12. (Mark Sherwood 2000)
  13. Re: - selectable size to an ecommerce app? (Bob Minor 2000)
  14. Re: - selectable size to an ecommerce app? (Mark Sherwood 2000)
  15. Re: - selectable size to an ecommerce app? (John Butler 2000)
  16. (Mark Sherwood 2000)
  17. Re: (Glenn Busbin 2000)
  18. (Chris Brandt 2000)
  19. Re: (Chuck Rice 2000)
  20. Re: (Jesse Proudman 2000)
  21. Re: (Joseph D'Andrea 2000)
  22. Re: (Kenneth Grome 2000)
  23. (Bob Minor 2000)
  24. (dale@gmr.dresdner.net 2000)
  25. Re: WebDelivery sweep speed (was Re: ) (WebDNA Support 2000)
  26. FW: (Bob Minor 1999)
  27. (Nitai 1998)
Hi all,I am still struggling getting the right shipping cost in my invoice.tpl working. I am working on it since one week now and I cant get it to work.I hope someone can help me.The goal: We have a recycling fee here in Switzerland which has to be applied. I solved this in the way that I have a entry in the products.db called recycling and let Webcatalog do a lookup with the formulas.db and return the field Recycling. It also loops trough each lineitem so that it adds it up. Thats is working great.NOW, I need to do exactly the same with the shipping cost but with weight this time. I don't care anymore if I have to put a entry in the products.db for shipping or if Webcat is calculating it.I tried several things but to no success. As soon as I enter a formula with shipCost in the formulas.db I calculates everything together. As stated in the manual, shipCost is for calculating the whole order.All I need is to add up the weight of the ordered items, look it up in a Datatable and spit out the price according to the weight.Is that so difficult?I am desperate trying it now for a week.Sincerely, Nitai*** MacTrade - http://www.mactrade.ch More Mac for your money EMail: Info@mactrade.ch Fax: 052 / 654 15 59 *** Nitai

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:

Help ! Frustrating Problem (1999) truncating email part II (1997) Search on encrypted field (2000) SHOWIF/HIDEIF empty fields (2005) unable to launch acgi in WebCat (1997) Pass a form (2003) HomePage Caution (1997) Find one not all, code not working (2003) WCS Newbie question (1997) FM and Webcat together? (1998) Credit card processing - UK (1997) japanese characters (1997) Error handling for accountNum (1997) [addlineitems] (1997) Searching an Email database (1997) Purchase Plugin Missing (1996) Date math format (1998) URGENT! Locked DB's (2001) [subtotal] and others (1997) taxTotal, grandTotal (1997)