[QuantityPrice] Not working in WebCatNT 2.0.1???

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14059
interpreted = N
texte = Has anyone tried [QuantityPrice] in a [LineItems] context? The docs state that it should work, but when I add it onto my invoice page, it displays the literal [QuantityPrice] instead of the correct value. I replaced it with [Math][Quantity]*[Price] [/Math] and that worked correctly, so I know the other values are being set properly.I am working on upgrading my invoice code from 1.x to 2.x with JavaScript to allow you to alter the quantity and see what the total order will be, assuming your browser can handle JavaScript. So far I have everything working but the tax, but that is trivial. I wanted to do this so that my users could print out an orderform with their items listed and mail or fax it to me (do not have SSL capabilities yet). Would others be interested in seeing my code as an example? After all of my sweating to force JavaScript to behave, I would like to be sure that someone is making use of the code ;) I'll even go back and document everything so that you can see what I am doing... Associated Messages, from the most recent to the oldest:

    
  1. Re: [QuantityPrice] Not working in WebCatNT 2.0.1??? (Grant Hulbert 1997)
  2. [QuantityPrice] Not working in WebCatNT 2.0.1??? (jpeacock@nbnbooks.com 1997)
Has anyone tried [QuantityPrice] in a [lineitems] context? The docs state that it should work, but when I add it onto my invoice page, it displays the literal [QuantityPrice] instead of the correct value. I replaced it with [math][Quantity]*[Price] [/Math] and that worked correctly, so I know the other values are being set properly.I am working on upgrading my invoice code from 1.x to 2.x with JavaScript to allow you to alter the quantity and see what the total order will be, assuming your browser can handle JavaScript. So far I have everything working but the tax, but that is trivial. I wanted to do this so that my users could print out an orderform with their items listed and mail or fax it to me (do not have SSL capabilities yet). Would others be interested in seeing my code as an example? After all of my sweating to force JavaScript to behave, I would like to be sure that someone is making use of the code ;) I'll even go back and document everything so that you can see what I am doing... jpeacock@nbnbooks.com

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:

adding up in a db (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) using showpage and showcart commands (1996) Can a database get stomped by simultaneous access? (1997) Emailer port change (1997) Problems passing [SKU] with $Replace in 2.0 (1997) [CART] (1997) WebDNA Book? (2003) [BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011) Search for dates greater than [date] (1997) color (1999) Subdomain mapping for SSL (2002) CART question (2004) math on date? (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) Another question (1997) WebCat2: Items xx to xx shown, etc. (1997) Is WebCat 3.0 necessary for calculating shipping? (2000) Search/sort in URL Was: GuestBook example (1997) Email within tmpl ? (1997)