Re: [CART] inside a [LOOP]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11430
interpreted = N
texte = >Is there a way to assign a unique cart# to each record added with an >[append] inside of a [loop] context? Just using id=[cart] results in >multiple records with the same cart#. Right now I am using>>id=[math][cart]*[random][/math]Try id=[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your [loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Is there a way to assign a unique cart# to each record added with an >
[append] inside of a
[loop] context? Just using id=
[cart] results in >multiple records with the same cart#. Right now I am using>>id=
[math][cart]*
[random][/math]Try id=
[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your
[loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
REPOST: How do _you_ back up your db? (2000)
Search & Sort Question (1999)
Includeform Error (2002)
Freeze (2003)
CR's (2003)
primer/tutorial question (2004)
[WebDNA] IIS 7 (2009)
Thanks and Big News!!! (1997)
How bad an idea is it to put cart=[cart] on all links? (2000)
problems with 2 tags shakur (1997)
[append] and SSL (1997)
credit card authorization question (1997)
strange [date] behavior (2001)
decrypt trouble - solved (2006)
NT beta ReadMe missing (b12-b15) (1997)
Problem with updating 2.1b7 -> 2.1.1 (1998)
Quitting WebMerchant ? (1997)
can WC render sites out? (1997)
Web Merchant process after credit card clears (1998)
Multiple fields on 1 input (1997)