Re: OS X and cart directories

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48028
interpreted = N
texte = You can AddLineItem and ClearLineItems to any cart in any folder by pointing to it. See: http://betadoc.smithmicro.com/AddContext.htmland:[CLEARLINEITEMS cart=cartID] Putting [CLEARLINEITEMS] in your template will remove all line items from the specified shopping cart. Normally carts are found inside the ShoppingCarts folder, but you may specify a cart in any folder by using file=/folder/cartID instead of cart=cartID. GK > Hi. > I'm trying WebDNA 4.5 running on Apache 1.3 and Mac OS X server. > > In a web page, I need to link to > http://www.domain.it/tmpl/supporto/richiesta_info.tmpl?command=showcart&db=/ test/test.db&cart=10461708793345&sku=123456 > > The problem is that the showcart command seems to access to ShoppingCarts > directory located in > /library/webserver/www.domain.it/tmpl/supporto/ShoppingCarts > so it's relative to the directory where the page reside. > > But the shopping cart has been already created by another page, and it > resides under /library/webserver/www.domain.it/test/ShoppingCarts > directory. > > How can I tell to showcart command to search in the right directory for > the ShoppingCarts? > > As a more general question, where does WedDNA search for ShoppingCarts and > Orders directories? > > Thank you. > > Roberto Bazzano > E-Motion s.p.a. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: OS X and cart directories (Gary Krockover 2003)
  2. Re: OS X and cart directories (Gary Krockover 2003)
  3. OS X and cart directories (Roberto Bazzano 2003)
You can AddLineItem and ClearLineItems to any cart in any folder by pointing to it. See: http://betadoc.smithmicro.com/AddContext.htmland:[CLEARLINEITEMS cart=cartID] Putting [clearlineitems] in your template will remove all line items from the specified shopping cart. Normally carts are found inside the ShoppingCarts folder, but you may specify a cart in any folder by using file=/folder/cartID instead of cart=cartID. GK > Hi. > I'm trying WebDNA 4.5 running on Apache 1.3 and Mac OS X server. > > In a web page, I need to link to > http://www.domain.it/tmpl/supporto/richiesta_info.tmpl?command=showcart&db=/ test/test.db&cart=10461708793345&sku=123456 > > The problem is that the showcart command seems to access to ShoppingCarts > directory located in > /library/webserver/www.domain.it/tmpl/supporto/ShoppingCarts > so it's relative to the directory where the page reside. > > But the shopping cart has been already created by another page, and it > resides under /library/webserver/www.domain.it/test/ShoppingCarts > directory. > > How can I tell to showcart command to search in the right directory for > the ShoppingCarts? > > As a more general question, where does WedDNA search for ShoppingCarts and > Orders directories? > > Thank you. > > Roberto Bazzano > E-Motion s.p.a. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

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:

OT: Thawte SSL on Mac OS X Server (2005) Removing carriage returns and line feeds (2006) politeness (was searches with dash...) Please Read (2000) Euro WebDNA Conference (2004) [WebDNA] linux linux linux (2009) Does anyone have a TCPconnect that does multiple sends... (2000) Error Log.db --however (1997) Great product and great job ! (1997) Orders to FMPro (2005) Re:2nd WebCatalog2 Feature Request (1996) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Missing something simple?? (1998) More than one db with the same namn (was: WC2f3) (1997) Attn: Bug in GeneralStore example b15 (1997) Speed Optimization - Mac (1997) [lineitems] and [writefile] (1998) writing checkboxes to a database (2000) Formating found categories (1997) inside out... how much? (2004) New Plug-in and Type 11 errors (1997)