Re: Sku numbers
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11626
interpreted = N
texte = >The trouble I found with using a cart value for a SKU is that if a user is>adding multiple records they might use the browsers back button to return>to the add_record.tmpl. If that happens then they will entering records>with identical cart values.Try this: don't ever set cart=[cart] in any of the URLs that lead to these pages. On your page that actually adds the new record (a page like AdValidator.tmpl) that has the [Append db=xxx.db]...[/Append] context in it, use sku=[cart]. SInce you got to this page with no cart= in the URL, WebCatalog will make up a new one that is guaranteed unique.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:
>The trouble I found with using a cart value for a SKU is that if a user is>adding multiple records they might use the browsers back button to return>to the add_record.tmpl. If that happens then they will entering records>with identical cart values.Try this: don't ever set cart=
[cart] in any of the URLs that lead to these pages. On your page that actually adds the new record (a page like AdValidator.tmpl) that has the [Append db=xxx.db]...[/Append] context in it, use sku=
[cart]. SInce you got to this page with no cart= in the URL, WebCatalog will make up a new one that is guaranteed unique.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:
2.1b3 --> way slow (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Changing price for a SLU based on options (size, etc.) (1997)
required fields (1998)
Calendar (1997)
Re:quit command on NT (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Multiple Merchant Accounts? (1997)
Math (1997)
Upgrade to web DNA6.0 (2004)
WC Database Format (1997)
[GROUPS] followup (1997)
Weird WebCatalog problems (1998)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
WebCatalog can't find database (1997)
Image upload (2000)
HTML Editors (1997)
Sendmail Recipients (2001)
pdf files? (2001)