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:

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)