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:
AuthorizeNet Bug (2002)
Bug or syntax error on my part? (1997)
Navigator 4.01 (1997)
Roundup function? (1997)
2nd WebCatalog2 Feature Request (1996)
Using Applescript to process WebCatalog functions (1998)
PIXO support (1997)
[protect] is protecting too much!!! (2000)
webDNA and ASP pages (1997)
[WebDNA] Competitors! (2008)
declined orders webmerchant not showing up? (2005)
WebCat2.0 [format thousands .0f] no go (1997)
cart (1997)
embedding [showcart] ??? (1998)
emailer (1997)
problems with WebCat-Plugin (1997)
[WebDNA] Merry Christmas (2013)
WebMerchant Only reads 1.4 order files error (1997)
Subject: Authenticating users without dialog box (1997)
Browser Caching (2003)