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:
service stop and restart (1997)
IIS4 (1998)
Sorting by date (1997)
How can I Add several Items into the cart at once? (1997)
[searchString] (1997)
Record size (1998)
Can you do this??? and other stuff (1997)
Search returns all, not 20 (1997)
default value from Lookup (was Grant, please help me) (1997)
Locking up with WebCatalog... (1997)
Summing fields (1997)
[include ...] behavior (1997)
remote install on RH9 (2004)
select multiple (1997)
[WebDNA] Passing a text variable via copyfile (2019)
Suddenly can't see files... (2000)
Extended [ConvertChars] (1997)
Javascript Fields of Strawberry Roses and Green Bananas (2000)
suffix mapping for NT? (1997)
emailer (1997)