Re: Reload of the shoppingcart.tmpl page

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22896
interpreted = N
texte = >Using the template shopping cart, if I hit reload, I add a 2nd copy of >the same item that I have just placed into my shopping cart. Is there a >workaround for this problem? I belive it stems from the add command which >is caried in memory and on reload, executes each time...Some people want this; others don't. For instance, you can add 2 items of the same SKU, but of different colors.The solution is to check the items already in the cart using a [lineitems] loop, and to remove the duplicated item with [removelineitem]Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Reload of the shoppingcart.tmpl page (PCS Technical Support 1999)
  2. Reload of the shoppingcart.tmpl page (eVenture Communications 1999)
>Using the template shopping cart, if I hit reload, I add a 2nd copy of >the same item that I have just placed into my shopping cart. Is there a >workaround for this problem? I belive it stems from the add command which >is caried in memory and on reload, executes each time...Some people want this; others don't. For instance, you can add 2 items of the same SKU, but of different colors.The solution is to check the items already in the cart using a [lineitems] loop, and to remove the duplicated item with [removelineitem]Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Robert Minor duplicate mail (1997) Bug (feature) in v6 listfiles shows hidden files ... (2004) random images (1997) formula.db problems (1999) Test (2002) newbies to web, spaces in email address (1998) Physical Proximity searches (2000) Start an application on NT? (1999) Forms Search Questions (1997) Quitting WebMerchant ? (1997) pc (1997) Opinion: [input] should be called [output] ... (1997) Conditional searching & displaying (1997) Deleting associated records from 2 different databases (2001) Secure server question (1997) Debug mode (1999) Temp DB (Was freeze) (2003) problems with 2 tags shakur (1997) WebCat2_Mac RETURNs in .db (1997) Aaron kant add (or whatever it was) (2000)