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:
Spawn doesn't work as advertised ... (2000)
View Source from cache (1997)
[OT] Server check please (2006)
Cart Numbers (1997)
Formatting dates stored in db (2003)
[taxRate] [TaxTotal] ? (1997)
A multi-processor savvy WebCatalog? (1997)
CERT Advisory on malicious scripts (2000)
Num Sort Descending (OT) (2004)
Credit card processing - UK (1997)
Purchae error - Fixed to a degree (1997)
Summary search -- speed (1997)
Hairy Shipping Monster (2006)
Store Admin Problems (1999)
[WebDNA] fastcgi 7+ & [cart]? (2010)
Ok here is a question? (1997)
portal (2002)
[WebDNA] [OT] - One Man. One Road. (2010)
Shopping cart problem (2003)
change the number format (1997)