Re: Purchase *file=* bug?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53364
interpreted = N
texte = Donovan Brooke wrote: > In thepage.html I am abble to do all the addlineitem, setlineitem > etc. with the "file=../shoppingcarts/[cart]" call. However, > when I do a "purchase file=../shoppingcarts/[cart]" the file doesn't > end up in the "orders" directory. It is not in the Pending/completed or > problems directories either. That's not the way that [purchase] works. If you look in the "WebCatalog Prefs" file, you will see the lines defining the location of the ShoppingCarts and Orders relative to the directory the current template is in (i.e. ./Orders). In other words, the default behavior _requires_ that the Orders directory be at the same level as the templates which call ?Purchase or [Purchase]. If you want to have a different location for your Orders files, you can change the Prefs line, but this is a /global/ change for the server. We decided long ago to use ^/Orders (or the Globals/Orders directory) which we can then ensure is never located in a web-server accessible directory. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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: Purchase *file=* bug? ( John Peacock 2003)
  2. Purchase *file=* bug? ( Donovan Brooke 2003)
Donovan Brooke wrote: > In thepage.html I am abble to do all the addlineitem, setlineitem > etc. with the "file=../shoppingcarts/[cart]" call. However, > when I do a "purchase file=../shoppingcarts/[cart]" the file doesn't > end up in the "orders" directory. It is not in the Pending/completed or > problems directories either. That's not the way that [purchase] works. If you look in the "WebCatalog Prefs" file, you will see the lines defining the location of the ShoppingCarts and Orders relative to the directory the current template is in (i.e. ./Orders). In other words, the default behavior _requires_ that the Orders directory be at the same level as the templates which call ?Purchase or [purchase]. If you want to have a different location for your Orders files, you can change the Prefs line, but this is a /global/ change for the server. We decided long ago to use ^/Orders (or the Globals/Orders directory) which we can then ensure is never located in a web-server accessible directory. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

Re:Signal Raised (1997) Location of Webcat site in folder hierarchy (1997) [format] problems (1998) Moment of Thanks (1997) [WebDNA] Fwd: RETS... HELP! (2009) Feature: TCPconnect via SSL (1999) Email notification to one of multiple vendors ? (1997) Configuration Q (1998) UPPERCASE (1997) RE: SSL and WebCatalog (1997) Re:Frames and cart values (1998) Date/Time format problems (1997) Resume Catalog ? (1997) How To question on setting up downloads (1997) While I'm on Cookies... :-) (2004) Date Calulation (1997) RE: Re:Signal Raised (1997) Initiating NewCart (1997) [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (2012) PCS Frames-Default page is solution! (1997)