Re: New Cart No. on same page
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47341
interpreted = N
texte = On 1/31/03 4:07 PM, Rob Marquardt
wrote:> I don't think that newcart was ever a global tag, but a command, so there'd> be that same one per page issue as [cart].> > A tag version certainly would be handy in this situation, though.Why not just use the base cart and then insert a variable on the end thatincrements.For example the original post said this was being used in a founditems loop.So [cart][index] would be unique for each item.If you wanted more distance between the cart numbers (though I am not surewhy) then you could use:[text]increment=[math][index]*333[/math][/text][cart][increment]Or something to that extent.Seems easier than a tcp connect over and over which might impact performanceconsiderably.HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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:
On 1/31/03 4:07 PM, Rob Marquardt wrote:> I don't think that newcart was ever a global tag, but a command, so there'd> be that same one per page issue as [cart].> > A tag version certainly would be handy in this situation, though.Why not just use the base cart and then insert a variable on the end thatincrements.For example the original post said this was being used in a founditems loop.So [cart][index] would be unique for each item.If you wanted more distance between the cart numbers (though I am not surewhy) then you could use:[text]increment=[math][index]*333[/math][/text][cart][increment]Or something to that extent.Seems easier than a tcp connect over and over which might impact performanceconsiderably.HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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/
Alex McCombie
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:
Information on Vieworders.tpl (1998)
[ShowIf] and empty fields (1997)
Adding multiple items to cart with one click? (2000)
variables in or out of includes (2001)
New Site WebCat (1997)
is [Bankres] an internal webcat variable? (1999)
WebMerchant & CC Response (2002)
Upgrading from 2.1 to 3.0.7 (2000)
More questions about serial number dishing (1997)
Error Page? (1997)
Math (1997)
Re:quit command on NT (1997)
Problem 2: Prefs file... (1997)
Question about Webcatalog and Webstar for Mac OS X (1998)
WebCatalog2 Feature Feedback (1996)
The beginning (1997)
convertchars and e-mail (1998)
Spiders and Bots (2000)
Trouble with Netscape (1998)
[showif] not working (2003)