Re: Problem 2 of 2 (was: Shipping Confusion)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35322
interpreted = N
texte = John, you're brilliant -- not only does this three-line snippet stop it from adding unwanted items, but it now automagically removes the mailing tube lineitem when the user removes the poster from their cart. Many, many thanks.>Yeah, the problem is that your hideif is testing the SKU outside of the>lineitems loop, so it will always be false. If you always want to have>only one SKU=10001, put a [removelineitem] within the [lineitems] loop,>then add a single mailing tube afterwards.>>[lineitems]>[showif [url][SKU][/url]=10001]> [removelineitem cart=[cart]&index=[lineindex]]>[/showif]>...>[/lineitems]>>John Peacock-- Regards,Christopher Mackay, Director of Technical ServicesTantramar Interactive, http://www.tantramar.com/506/364-1097 cell: 364-7659 fax: 536-2409NEW! Tantramar Vistas: 360-degree photos of Tantramar.Posters, postcards and a book with bonus CD-ROM for Mac and Windows!On sale at http://www.tantramarpublishing.com/-------------------------------------------------------------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:
John, you're brilliant -- not only does this three-line snippet stop it from adding unwanted items, but it now automagically removes the mailing tube lineitem when the user removes the poster from their cart. Many, many thanks.>Yeah, the problem is that your hideif is testing the SKU outside of the>lineitems loop, so it will always be false. If you always want to have>only one SKU=10001, put a [removelineitem] within the [lineitems] loop,>then add a single mailing tube afterwards.>>[lineitems]>[showif [url][SKU][/url]=10001]> [removelineitem cart=[cart]&index=[lineindex]]>[/showif]>...>[/lineitems]>>John Peacock-- Regards,Christopher Mackay, Director of Technical ServicesTantramar Interactive, http://www.tantramar.com/506/364-1097 cell: 364-7659 fax: 536-2409NEW! Tantramar Vistas: 360-degree photos of Tantramar.Posters, postcards and a book with bonus CD-ROM for Mac and Windows!On sale at http://www.tantramarpublishing.com/-------------------------------------------------------------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/
Christopher Mackay
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:
sort problems....bug or brain fart? (1997)
Search design (1997)
[Sum] function? (1997)
webcat 2.1 new cart fields - please explain more (1998)
back button problem (1999)
WebCatalog Hosting (1996)
WebCat2b15MacPlugin - showing [math] (1997)
WebCat2 beta 11 - new prefs ... (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Can't get appendfile to work (1997)
To Cookie or Not to Cookie? Was: duplicate cart numbers (2002)
Webcat Security (1998)
Using ticks (2000)
HELP WITH DATES (1997)
Re:E-Mailer (WebCatb15acgiMac) (1997)
MacAuthorize order data fields WAS:How To question... (1997)
problem: type 2 errors (1997)
Bug Report, maybe (1997)
Credit Card Checksum (1997)
search form problem.. (1997)