Re: OS X and cart directories

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48029
interpreted = N
texte = Also, it seems that you can have ShowCart point to any cart from any folder, since you have all the options that are available to the Purchase command:[PURCHASE cart=cartID] Putting [PURCHASE cart=cartID] in your template moves the specified shopping cart file from the ShoppingCarts folder to the Orders folder, effectively the same as a Purchase command. If the cart file is not in a ShoppingCarts folder, you may use the alternate file=/folder/cartID instead of cart=cartID. ShowCart info: http://betadoc.smithmicro.com/ShowCartCommand.htmlGK > 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)
Also, it seems that you can have ShowCart point to any cart from any folder, since you have all the options that are available to the Purchase command:[PURCHASE cart=cartID] Putting [PURCHASE cart=cartID] in your template moves the specified shopping cart file from the ShoppingCarts folder to the Orders folder, effectively the same as a Purchase command. If the cart file is not in a ShoppingCarts folder, you may use the alternate file=/folder/cartID instead of cart=cartID. ShowCart info: http://betadoc.smithmicro.com/ShowCartCommand.htmlGK > 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:

WebDNA problems with Itools 7.3 Upgrade (2004) [LOOKUP] (1997) Speaking of () Emailer not working (1998) Database causes out of memory error (2000) wild question (1998) Search (1997) Changes to the List (1997) protect tag on NT IIS (1997) Encrypt Problems (2000) First postarg not taking in $Commands (1997) [OT] Am I an Idiot? (2004) [isfolder] and [filename] (1997) [WebDNA] Show next..... (2010) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Re:WebCat Talk Arhives... (1998) WebCat2b13MacPlugin - [math][date][/math] problem (1997) form data submission gets truncated (1997) TCP Connect code for SMTP transaction (2004) Sort Order on a page search (1997) Emailer (1997)