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 theSKU's be unique?i.e.: Can I get a free item by purchasing 2 WebDNA hats, or do I have to buya 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
Yes, and I've used this method before.Does Jimi want to count 2 instances of the same SKU as 2 items, or must theSKU's be unique?i.e.: Can I get a free item by purchasing 2 WebDNA hats, or do I have to buya 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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)