Shipping charges based on dollar level

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15321
interpreted = N
texte = We are currently trying to implement a shipping charge based on subtotal.0.01-25.00 = 4.00 25.01 - 50.00 = 5.00 50.01 - 100.01 = 6.00 etc. etc.I am aware that by using the [lookup] tag the matching values have to be exact. The only problem with that is that there are way too many possibilities for the subtotal and the shipping db would be way too big.Does anyone know how to do a smaller db with the lookup finding the closest possible match? Or is there another solution?? regards, Associated Messages, from the most recent to the oldest:

    
  1. Re: Shipping charges based on dollar level (Ray Hatch 1997)
  2. Shipping charges based on dollar level (Updates 1997)
We are currently trying to implement a shipping charge based on subtotal.0.01-25.00 = 4.00 25.01 - 50.00 = 5.00 50.01 - 100.01 = 6.00 etc. etc.I am aware that by using the [lookup] tag the matching values have to be exact. The only problem with that is that there are way too many possibilities for the subtotal and the shipping db would be way too big.Does anyone know how to do a smaller db with the lookup finding the closest possible match? Or is there another solution?? regards, Updates

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:

New commands in Final candidate (1997) writefile and deletefile (1998) Pithy questions on webcommerce & siteedit (1997) The Best Shopping Cart Solution I Have Come Upon (2003) too many nested tags ... (1997) Opinion: [input] should be called [output] ... (1997) Encrypting the seed (2001) WCS Newbie question (1997) Am I going senile? (Price recalc based on quantity) (1997) read and write you own cookies with webcat (1997) Denying access by IP address (2000) View order not right (1997) using showpage and showcart commands (1996) flushdatabases (2000) Merging databases (1997) Replace context problem ... (1997) serial number dishing (1997) More on the email templates (1997) The Form authentication trick (2000) emailer settings and control questions (1997)