[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:

List Address Changed! (1998) Alpha numeric [CreateDate] (2000) multi-paragraph fields (1997) Server Freeze (1998) Plugin or CGI or both (1997) WebMerchant 1.6 and SHTML (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) LookUp Tag (1997) WebCat B13 Mac CGI -- Frames question (1997) E-mailer application times out (1998) RAM variables (1997) Mac v. NT (1998) WebCat2b13MacPlugIn - [include] (1997) default error on NT? (1997) incrementing a counter remotely? (1999) Sorting by date (1997) WebCat2 - storing unformatted date data? (1997) ShipCosts database (1997) Firesite and WebCat (1999) Re[2]: showcart (2000)