Re: formula part 3
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34830
interpreted = N
texte = not that I know of. probably the author of that code you found was passing in a valuefor that var (or generating it locally via [lineitems] in conjunction with [text] or[math])Arturo Vargas wrote:> Ok I know I ask lots of questions!! :)>> I am trying to have a customer buy 3 items and get the 4th one free. This is> what I have done so far>> In the invoice.tpl I added this code that I found in another existing page> that does what I need.> [showif [totalQty]>3][AddLineItem> cart=[cart]&db=catalog.txt&sku=Discount2]quantity=1[/addlineitem][/showif]>> Discount2 is a product that exists on my db, the price of discount2> is -19.95>> This is not working>> It adds the discount2 product no matter the quantity is.>> Any Suggetions??> and is [totalQty] a tag ?? if so where is it I can't find it.>> Arturo Vargas> The World Wide Web Store>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
not that I know of. probably the author of that code you found was passing in a valuefor that var (or generating it locally via [lineitems] in conjunction with [text] or[math])Arturo Vargas wrote:> Ok I know I ask lots of questions!! :)>> I am trying to have a customer buy 3 items and get the 4th one free. This is> what I have done so far>> In the invoice.tpl I added this code that I found in another existing page> that does what I need.> [showif [totalQty]>3][AddLineItem> cart=[cart]&db=catalog.txt&sku=Discount2]quantity=1[/addlineitem][/showif]>> Discount2 is a product that exists on my db, the price of discount2> is -19.95>> This is not working>> It adds the discount2 product no matter the quantity is.>> Any Suggetions??> and is [totalQty] a tag ?? if so where is it I can't find it.>> Arturo Vargas> The World Wide Web Store>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
John Butler
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:
How To question on setting up downloads (1997)
Uh...can someone help me out with the b10? (1997)
[WebDNA] windows ssh client? (2009)
[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011)
Wanted: Broader string manipulation functions (1997)
How To question on setting up downloads (1997)
[Shownext] (1997)
[search] resources (code.. longish sorry) (2000)
WC on Linux question (2001)
No luck with taxes (1997)
Re[3]: searches with dash, period etc. (back form politenes (2000)
shownext problems (1998)
WebCat2b15MacPlugin - showing [math] (1997)
Re:E-Mailer (WebCatb15acgiMac) (1997)
Don't know if this is a sily question... (2003)
Single Link browsing (1997)
PCS Frames (1997)
Card clearance, problems - solutions? (1997)
[CART] (1997)
[WebDNA] webdna.us (2008)