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 is what I have done so farIn 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.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 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/ 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 is what I have done so farIn 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.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 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/ 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:

Formulas.db (1997) generator prob (2001) re: keep W* in front applescript? (try Cron) (1998) add to cart within a page? (1997) emailer w/F2 (1997) Banner DNA (1997) Sort & Shownext (1999) WebDNA Solutions ... sorry! (1997) quitting (1997) Template Security error (1997) Not really WebCat- (1997) [cart] not being interpreted inside [founditems] (1997) Re:Remote stockroom ? (1998) using showpage and showcart commands (1996) WebCommerce: Folder organization ? (1997) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) Help! WebCat2 bug (1997) searchable list archive (1997) Multiple cart additions (1997) A few questions... (1999)