Resending - Please help

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22134
interpreted = N
texte = I am resending this, because I have not seen it on the list. Sorry for the trouble.**********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 ***v Associated Messages, from the most recent to the oldest:

    
  1. Re: Resending - Please help (PCS Technical Support 1999)
  2. Resending - Please help (Nitai 1998)
I am resending this, because I have not seen it on the list. Sorry for the trouble.**********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 ***v 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:

Notepad problems (1998) [OT] Airport Network (2003) Size limit for tmpl editor ? (1997) Arbitrary limits on length of data in cart header fields? (2000) webcat restarting script on Linux? (1999) Cool new site (1996) Database Helper Update (1998) quantity minimum problem (1997) Part 2 - [showif] if variable exists (1998) Shareware Listserver (1998) HTML Editors (1997) Migrating to NT (1997) WebCat2.0 acgi vs plugin (1997) Languages (1997) autosensing lanague selection (1997) SiteEdit Pro Update Announcement (1997) NTbeta18 corrupted? (1997) WebCommerce: Folder organization ? (1997) RE: Problem (1997) Re:2nd WebCatalog2 Feature Request (1996)