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:
Any one heard from SM since that last email? (2006)
[WebDNA] Anyone using WebDNA7 and Lion Server? (2011)
POS (2000)
best way to store prefs (1998)
E-Mail (1998)
Typhoon Rev. and PCS store problems (1999)
WCS Newbie question (1997)
WCS Newbie question (1997)
Formvariable (2000)
WebCatalog for guestbook ? (1997)
WebDNA on Intel Mac? (2006)
Search returns all, not 20 (1997)
shipCost not working v2.1b4 (1997)
Help with WebCatalog (1998)
WebCatalog Features (1997)
Dummy Credit Card Number for debug? (1997)
name of file (2002)
showcart is slow (1998)
CERT Advisory on malicious scripts (2000)
Shipping based in distance and weight (1999)