Re: buy 2 items get this free

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48861
interpreted = N
texte = Yes, and I've used this method before.Does Jimi want to count 2 instances of the same SKU as 2 items, or must the SKU's be unique?i.e.: Can I get a free item by purchasing 2 WebDNA hats, or do I have to buy a WebDNA hat and a ASP hat?On 3/24/03 11:33 AM, Velma Kahn wrote:> Inside an OrderFile context, [NumLineItems] is available, isn't it? > Velma > > At 12:25 PM 3/24/2003, you wrote: >> Sure there is: >> [math]itemcount=0[/math] >> [lineitems] >> [math]itemcount=itemcount+1[/math] >> [/lineitems] >> >> You have [itemcount] in your cart! [if [itemcount]>1][then]Whoopee you get >> a free thingy.[/then][/if] >> >> On Monday, March 24, 2003, at 12:14 PM, Jimi Sweet wrote: >> >>> ...but is there a way to calculate [number_of_items_in_cart]? --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: buy 2 items get this free (John Peacock 2003)
  2. Re: buy 2 items get this free (Donovan 2003)
  3. Re: buy 2 items get this free (Clint Davis 2003)
  4. Re: buy 2 items get this free (Velma Kahn 2003)
  5. Re: buy 2 items get this free (Charles Kline 2003)
  6. buy 2 items get this free (Jimi Sweet 2003)
Yes, and I've used this method before.Does Jimi want to count 2 instances of the same SKU as 2 items, or must the SKU's be unique?i.e.: Can I get a free item by purchasing 2 WebDNA hats, or do I have to buy a WebDNA hat and a ASP hat?On 3/24/03 11:33 AM, Velma Kahn wrote:> Inside an OrderFile context, [NumLineItems] is available, isn't it? > Velma > > At 12:25 PM 3/24/2003, you wrote: >> Sure there is: >> [math]itemcount=0[/math] >> [lineitems] >> [math]itemcount=itemcount+1[/math] >> [/lineitems] >> >> You have [itemcount] in your cart! [if [itemcount]>1][then]Whoopee you get >> a free thingy.[/then][/if] >> >> On Monday, March 24, 2003, at 12:14 PM, Jimi Sweet wrote: >> >>> ...but is there a way to calculate [number_of_items_in_cart]? --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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://webdna.smithmicro.com/ Clint Davis

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:

WebCat b13 CGI -shownext- (1997) Am I going senile? (Price recalc based on quantity) (1997) setting taxable to true (1997) ShowIf & HideIf Question? (1998) [WebDNA] External email server/service? (2016) ShoppingCarts (2000) tracking variables across a site... (2000) WebCatalog for guestbook ? (1997) Add - optional parameters textA=.... (1997) Deleting Multiple Database Records based on Checkbox (1998) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Altivec (Velocity engine) (2000) Multiple prices (1997) Here's how to kill a Butler Database. (1997) WebCat2_Mac RETURNs in .db (1997) Email Formatting (1998) Date or time comparisons have bugs ... (1998) unable to launch acgi in WebCat (1997) Gil's in the lead (1999) last word listed (2000)