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:
Any limit to [include] (1997)
Session Number (1998)
emailer (1997)
Order not created error (1997)
WCS Newbie question (1997)
Formatting date to number (2000)
Variable security (2000)
[OT] Happy Turkey Day! (2003)
WebCat2 several catalogs? (1997)
Nav. 4 probs with cart (1997)
Secure server question (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Summarising on two fields (1998)
Snake Bites (1997)
and vs or vs not (1998)
PhotoMill -> PhotoMaster (1997)
[include] (1998)
Navigator Parsing (1997)
Generating Searches on the fly? (1999)
[WebDNA] Parsing JS value to WebDNA variable or