Re: Adding Items to Cart
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49711
interpreted = N
texte = I would love to post it, just tell me where and how. =)-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfGary KrockoverSent: Tuesday, April 22, 2003 11:04 PMTo: WebDNA TalkSubject: Re: Adding Items to CartVery nice....I think I smell a snippet for the WebDNA InteractiveReference,care to post it?:)GK----- Original Message -----From: Kimberly D. Walls
To: WebDNA Talk Sent: Tuesday, April 22, 2003 9:55 PMSubject: Re: Adding Items to Cart> YAY!!! I took what you showed me and combined it with the> [text]sku=[value][/text] that I had come up with. This is what worksand> it works like a charm!!!!>> [loop start=1&end=[numadd]]> [text show=T]ndx=[index][/text]> [formvariables name=sku_[ndx]&exact=T]> [text show=T]sku=[value][/text]> [/formvariables]> [formvariables name=quantity_[ndx]&exact=T]> [text show=T]quantity=[value][/text]> [/formvariables]> [showif [quantity]!0]> [addlineitem> cart=[cart]&sku=[sku]&db=catalog.txt]quantity=[quantity][/addlineitem]> [/showif]> [/loop]>> THANK YOU SOOOOO VERY VERY MUCH!!!!! =)>>>>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf> Glenn Busbin> Sent: Tuesday, April 22, 2003 10:41 PM> To: WebDNA Talk> Subject: Re: Adding Items to Cart>> >>>> On order.html, try this:>> [formvariables]> [name], [value]
> [/formvariables]>>
>> [Loop start=1&end=[numAdd]]> [Text Show=F]ndx=[index][/Text]> [formvariables name=sku_[ndx]&exact=T]> sku: [name], [value]
> [formvariables name=quantity_[ndx]&exact=T]> qty: [name], [value]
> [/formvariables]> [/formvariables]> [/Loop]>> If the right names and values appear, you can then add in the> AddLineItem stuff.>> Lemme know how it works. My solution didn't involve a cart. I was> appending stuff to a db after carrying several related variables,> though.>> Glenn>> -------------------------------------------------------------> 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/>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I would love to post it, just tell me where and how. =)-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfGary KrockoverSent: Tuesday, April 22, 2003 11:04 PMTo: WebDNA TalkSubject: Re: Adding Items to CartVery nice....I think I smell a snippet for the WebDNA InteractiveReference,care to post it?:)GK----- Original Message -----From: Kimberly D. Walls To: WebDNA Talk Sent: Tuesday, April 22, 2003 9:55 PMSubject: Re: Adding Items to Cart> YAY!!! I took what you showed me and combined it with the> [text]sku=[value][/text] that I had come up with. This is what worksand> it works like a charm!!!!>> [loop start=1&end=[numadd]]> [text show=T]ndx=[index][/text]> [formvariables name=sku_[ndx]&exact=T]> [text show=T]sku=[value][/text]> [/formvariables]> [formvariables name=quantity_[ndx]&exact=T]> [text show=T]quantity=[value][/text]> [/formvariables]> [showif [quantity]!0]> [addlineitem> cart=[cart]&sku=[sku]&db=catalog.txt]quantity=[quantity][/addlineitem]> [/showif]> [/loop]>> THANK YOU SOOOOO VERY VERY MUCH!!!!! =)>>>>> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf> Glenn Busbin> Sent: Tuesday, April 22, 2003 10:41 PM> To: WebDNA Talk> Subject: Re: Adding Items to Cart>> >>>> On order.html, try this:>> [formvariables]> [name], [value]
> [/formvariables]>>
>> [Loop start=1&end=[numAdd]]> [Text Show=F]ndx=[index][/Text]> [formvariables name=sku_[ndx]&exact=T]> sku: [name], [value]
> [formvariables name=quantity_[ndx]&exact=T]> qty: [name], [value]
> [/formvariables]> [/formvariables]> [/Loop]>> If the right names and values appear, you can then add in the> AddLineItem stuff.>> Lemme know how it works. My solution didn't involve a cart. I was> appending stuff to a db after carrying several related variables,> though.>> Glenn>> -------------------------------------------------------------> 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/>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Kimberly D. Walls
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:
PCS Customer submissions ? (1997)
line breaks in sendmail (1998)
problems with 2 tags shakur (1997)
I am sorry for always being such an a## (2004)
WebCatalog host... (2000)
emailer (1997)
[url] link (1998)
international time (1997)
Webcat vs Tango (2000)
b12 cannot limit records returned and more. (1997)
I got caught! (2003)
Re:FYI: Error message (1996)
Close-to Comparison Code (1998)
tcpconnect timeout with Authorizenet (2003)
Web Catalog 2 demo (1997)
[WebDNA] Crashing Database (2011)
Re:2nd WebCatalog2 Feature Request (1996)
[append] vs. [appendfile] delta + question? (1997)
Stop the madness. (1997)
WebDNA Mail issues (2002)