Re: writing cart to db

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17942
interpreted = N
texte = >To get a sortable showcart page I write the items of the cart to a database. >[delete db=cart_show.db&eqCARTdatarq=[cart]] >[orderfile cart=[cart]] > [lineitems] > [Append cart_show.db]..appending the lines of the cart..[/Append] > [/lineitems] >[/orderfile]How do you get to this template? Is it via a command=Add or ShowCart? If so, then you shouldn't put the [OrderFile] context in there at all. Just the [LineItems] should be sufficient, and may even solve your other problem.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: writing cart to db (PCS Technical Support 1998)
  2. Re: writing cart to db (Kenneth Grome 1998)
  3. writing cart to db (Peter Ostry 1998)
>To get a sortable showcart page I write the items of the cart to a database. >[delete db=cart_show.db&eqCARTdatarq=[cart]] >[orderfile cart=[cart]] > [lineitems] > [Append cart_show.db]..appending the lines of the cart..[/Append] > [/lineitems] >[/orderfile]How do you get to this template? Is it via a command=Add or ShowCart? If so, then you shouldn't put the [orderfile] context in there at all. Just the [lineitems] should be sufficient, and may even solve your other problem.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:

is there a global includes directory? (1998) Snake Bites (1997) Limiting user access to .tmpl files (1997) ANNOUNCE: FREE ProcessWatch Webmaster utility (1998) Drop Down Menus (2002) Caching [include] files ... (1997) TCPconnect in a DB? (1999) Login and pass variables to [protect] tag (2001) [WebDNA] multi [sendmail] inside [search] (2012) reservation program (2000) Limitations on fields? Server is crashing (1997) Default contains WEBDNA (1998) Webcatlog server not running (2008) Frames and WebCat (1997) Bug Report, maybe (1997) [lottaCopy] through SSL (1998) problems with 2 tags (1997) server admin problems (2005) Help formatting search results w/ table (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)