[quantity] within formulas

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12763
interpreted = N
texte = Hi,I have tried desperately to use the [quantity] tag within the formula db, with no success. All the other lineitems tags and other tags configure, but not the [quantity] tag.The way I have it now on my cart page is:In my formulas db I have:shipCost [showif [quantity]=1]1.00[/showif][showif [quantity]=2]2.00[/showif]There are more surrounding variables that I will add that will make it more complex but in any case the basic one above will always return 0.00 no matter what.Are there other variables with the [quantity] tag that I am missing?Kevin Associated Messages, from the most recent to the oldest:

    
  1. Re: [quantity] within formulas (Grant Hulbert 1997)
  2. [quantity] within formulas (Kevin Furuta 1997)
Hi,I have tried desperately to use the [quantity] tag within the formula db, with no success. All the other lineitems tags and other tags configure, but not the [quantity] tag.The way I have it now on my cart page is:In my formulas db I have:shipCost [showif [quantity]=1]1.00[/showif][showif [quantity]=2]2.00[/showif]There are more surrounding variables that I will add that will make it more complex but in any case the basic one above will always return 0.00 no matter what.Are there other variables with the [quantity] tag that I am missing?Kevin Kevin Furuta

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:

Introduction/Tutorial/QuickStart (1997) request for new command (1997) Null Chars (1999) Change Subtotal (2000) Range Comparisons (2000) Random (2000) Help name our technology! (1997) 2.1 pricing? (1998) Virtual hosting and webcatNT (1997) Max Record length restated as maybe bug (1997) Hyperboard/bulletin board available (1998) 2.0Beta Command Ref (can't find this instruction) (1997) Summing fields (1997) quantity minimum problem (1997) test (2002) {Comparisons} in [showif] vs. [if] Bug? Inconsistency? (2002) suffix mapping for NT? (1997) Database Options (1997) Protect and Serve (1999) How To question on setting up downloads (1997)