Re: Question on lineitems
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43677
interpreted = N
texte = And, just to expound on this a little further, here is all the code that is necessary to prevent duplicate items from being added to the cart in the first place:[orderfile] [lineitems] [math show=f]added[sku]=1[/math] [/lineitems][/orderfile][formvariables name=checked&exact=false] [hideif [interpret][added[getchars start=8][name][/getchars]][/interpret]=1] [addlineitem cart=[cart]&db=catalog.db&sku=[getchars start=8][name][/getchars]][/addlineitem] [/hideif][/formvariables]See it in action here:http://www.novaderm.com/test/testadd/shoppingcart2.tplNow, go and play with both versions, and see which one you would prefer if you were the customer...Regards,WillOn Saturday, September 21, 2002, at 01:24 PM, NovaDerm Skincare Science wrote:> Wise man (me) once say:>> It is better to repair the the dam than try and stop the water once > the dam has burst.>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
And, just to expound on this a little further, here is all the code that is necessary to prevent duplicate items from being added to the cart in the first place:[orderfile] [lineitems] [math show=f]added[sku]=1[/math] [/lineitems][/orderfile][formvariables name=checked&exact=false] [hideif [interpret][added[getchars start=8][name][/getchars]][/interpret]=1] [addlineitem cart=[cart]&db=catalog.db&sku=[getchars start=8][name][/getchars]][/addlineitem] [/hideif][/formvariables]See it in action here:http://www.novaderm.com/test/testadd/shoppingcart2.tplNow, go and play with both versions, and see which one you would prefer if you were the customer...Regards,WillOn Saturday, September 21, 2002, at 01:24 PM, NovaDerm Skincare Science wrote:> Wise man (me) once say:>> It is better to repair the the dam than try and stop the water once > the dam has burst.>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
NovaDerm Skincare Science
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:
available times? (2003)
[WebDNA] WebDNA7 site randomly dropping tags (2011)
Updating Prices db (still not working) (1999)
WebCat2.0 acgi vs plugin (1997)
Overridding E-Mailer (1998)
Emailer Error 550 (Was Strange Crash) (1998)
WebCatalog Upgrade Pricing? (1997)
[HTML*] (a proposition) (1997)
WebCat2b15MacPlugin - [protect] (1997)
WebCat2b15MacPlugin - [protect] (1997)
WebDNA permissions? (2002)
calculating time (2002)
Merchant and WebCat 3.0 (1998)
Email and name capture (1999)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
customizing the color of user's pages (1997)
Suffix or Line? (1999)
WebCatalog can't find database (1997)
London WebCatalog Jobs? (2000)
I'm new be kind (1997)