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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  2. Re: Unique SKU Numbers (Kenneth Grome 2000)
  3. Re: Unique SKU Numbers (Glenn Busbin 2000)
  4. Re: Unique SKU Numbers (Glenn Busbin 2000)
  5. Re: Unique SKU Numbers (Aaron Chute 2000)
  6. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  7. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  8. Re: Unique SKU Numbers (Glenn Busbin 2000)
  9. Re: Unique SKU Numbers (Peter Ostry 2000)
  10. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  11. Re: Unique SKU Numbers (Clint Davis 2000)
  12. Re: Unique SKU Numbers (Derrick Puckett 2000)
  13. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  14. Re: Unique SKU Numbers (Glenn Busbin 2000)
  15. Re: Unique SKU Numbers (Nicolay Ramm 2000)
  16. Re: Unique SKU Numbers (Peter Ostry 2000)
  17. Re: Unique SKU Numbers (Joseph D'Andrea 2000)
  18. Unique SKU Numbers (Aaron Chute 2000)
  19. Re: Sku numbers (Kenneth Grome 1997)
  20. Re: Sku numbers (Marty Schmid 1997)
  21. Re: Sku numbers (Kenneth Grome 1997)
  22. Re: Sku numbers (Grant Hulbert 1997)
  23. Re: Sku numbers (Kenneth Grome 1997)
  24. Re: Sku numbers (Kenneth Grome 1997)
  25. Re: Sku numbers (Marty Schmid 1997)
  26. Re: Sku numbers (Kenneth Grome 1997)
  27. Re: Sku numbers (Marty Schmid 1997)
  28. Sku numbers (Grant Hulbert 1997)
>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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 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:

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)