formula part 3
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34828
interpreted = N
texte = 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 iswhat I have done so farIn the invoice.tpl I added this code that I found in another existing pagethat does what I need.[showif [totalQty]>3][AddLineItemcart=[cart]&db=catalog.txt&sku=Discount2]quantity=1[/addlineitem][/showif]Discount2 is a product that exists on my db, the price of discount2is -19.95This is not workingIt 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 VargasThe 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/
Associated Messages, from the most recent to the oldest:
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 iswhat I have done so farIn the invoice.tpl I added this code that I found in another existing pagethat does what I need.[showif [totalQty]>3][AddLineItemcart=[cart]&db=catalog.txt&sku=Discount2]quantity=1[/addlineitem][/showif]Discount2 is a product that exists on my db, the price of discount2is -19.95This is not workingIt 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 VargasThe 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/
Arturo Vargas
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:
Return records from another (1997)
RE: [WebDNA] Styling search results [using css] (2009)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
[CreateDate], [ListFiles] context tag broken on Linux? (2000)
redirect with frames (1997)
Using Currencies other than Dollars (1997)
test (2002)
FYI: virus alert (1996)
UPDATE PROBLEM (1997)
[format] (1998)
WebDNA Developer Resource Center (2002)
Locking up with WebCatalog... (1997)
Cart questions (1997)
foreign languages, email, webcat (1998)
Mass Mail (2000)
[if] and [showif] (2002)
emailer (1997)
Banner DNA (1997)
Frames and WebCat (1997)
WebCatb15 Mac CGI -- [purchase] (1997)