Re: Add - optional parameters textA=....

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14667
interpreted = N
texte = >The documetation says I can use ADD to assign additional values to the >shopping cart, but there are only options text=A through E. Am I limited to >just 5 of these A through E or can I use up to textZ=someValue and beyond?There are just 5 per lineitem. The order file itself has header1-40, but those are stored once at the top of the order file, not on a per-lineitem basis.>So, am I heading in the right direction on this or should I be looking at >doing this a different way such as creating a user database?If you need to store lots of stuff for each lineitem, I suggest you create a separate database that keeps track of it, and just use the lineitems textA field to store some kind of key, like the contractor# or job# or room# or something like that. This way you can still use the commerce features to track priceing and such, but still be able to do lookups in another database for extra info.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Add - optional parameters textA=.... (Grant Hulbert 1997)
  2. Add - optional parameters textA=.... (Paul Uttermohlen 1997)
>The documetation says I can use ADD to assign additional values to the >shopping cart, but there are only options text=A through E. Am I limited to >just 5 of these A through E or can I use up to textZ=someValue and beyond?There are just 5 per lineitem. The order file itself has header1-40, but those are stored once at the top of the order file, not on a per-lineitem basis.>So, am I heading in the right direction on this or should I be looking at >doing this a different way such as creating a user database?If you need to store lots of stuff for each lineitem, I suggest you create a separate database that keeps track of it, and just use the lineitems textA field to store some kind of key, like the contractor# or job# or room# or something like that. This way you can still use the commerce features to track priceing and such, but still be able to do lookups in another database for extra info.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/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:

Cookies (1999) [group] ? (1997) Recursion & WebDNA (1999) search vs lookup (1998) Re2: frames & carts (1997) Embedded [Search] Context Snippets (Very Useful) (1998) How can I Add several Items into the cart at once? (1997) SiteGaurd file Cache vs webcatalog cache (1997) [ShowNext] (1997) all records returned. (1997) NT vs Mac (1997) Why is my easy [AddLineItems] NOT working?? (2000) Handy Browser Counter Tip (1997) Forbidden CGI Error (1997) too many nested tags ... (1997) security (1997) Shopping Carts (2000) and more [shipcost].... (2001) Math Function (1997) Nested tags count question (1997)