Re: Help with Shipping Costs

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12895
interpreted = N
texte = >>TotalCost UPS Express Mail >>0 5 17.95 >>30 8 19.95 >>60 11 21.95 >>90 14 23.95 >> >>As you can see, what I want to do is have eight different shipping costs >>based on shipping method and the subtotal. I'm using the [shipCost] in my >>invoice.tmpl file. > >Is your [subTotal] *exactly* 0, 30, 60, or 90? Probably not. The >[lookup] tag looks for exact matches of text, and doesn't know anything about >close to or in the range of.Grant,I tried it with an exact match and it didn't work.In either case, I think you can see what I'm trying to accomplish. I would like a way for the system to include the correct shipping charge based on the user preferred shipping method. The costs for shipping vary according to the total price of the purchase. If this is not the correct path to follow to accomplish this goal, can you suggest an alternative?Thanks.--------------------------------------------------------- Ken Kohn Chaparral Software & Consulting Services, Inc. 429 Santa Monica Blvd., Suite 230, Santa Monica, CA 90401 310.260.1700 x102 / 310.260.1701 FAX ken@chapsoft.com / www.chapsoft.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Help with Shipping Costs (bob 1997)
  2. Re: Help with Shipping Costs (Ken Kohn 1997)
  3. Re: Help with Shipping Costs (Grant Hulbert 1997)
  4. Help with Shipping Costs (Ken Kohn 1997)
>>TotalCost UPS Express Mail >>0 5 17.95 >>30 8 19.95 >>60 11 21.95 >>90 14 23.95 >> >>As you can see, what I want to do is have eight different shipping costs >>based on shipping method and the subtotal. I'm using the [shipCost] in my >>invoice.tmpl file. > >Is your [subTotal] *exactly* 0, 30, 60, or 90? Probably not. The >[lookup] tag looks for exact matches of text, and doesn't know anything about >close to or in the range of.Grant,I tried it with an exact match and it didn't work.In either case, I think you can see what I'm trying to accomplish. I would like a way for the system to include the correct shipping charge based on the user preferred shipping method. The costs for shipping vary according to the total price of the purchase. If this is not the correct path to follow to accomplish this goal, can you suggest an alternative?Thanks.--------------------------------------------------------- Ken Kohn Chaparral Software & Consulting Services, Inc. 429 Santa Monica Blvd., Suite 230, Santa Monica, CA 90401 310.260.1700 x102 / 310.260.1701 FAX ken@chapsoft.com / www.chapsoft.com Ken Kohn

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:

Associative lookup style? + bit more (1997) SQL Tutorial (1998) sendmail and CGatePro (2003) Tax and ShipCost Problem (1997) Printing from Web pages (1998) RE: 2nd WebCatalog2 Feature Request (1996) problems with 2 tags (1997) WebCat2 - Getting to the browser's username/password data (1997) Calculating Age from DB fields (2003) shipping formula (2000) Showif for mulitple variations (1997) ShowNext and random sort (1998) Multiple Newcarts (1996) [Announce] Newest Commerce Site based on WebCatalog (1997) Deleting Multiple Database Records based on Checkbox (1998) unsubscribe (1997) Credit card processing - UK (1997) Price Change (2000) syntax question, not in online refernce (1997) Storing calculated data (2002)