Re: <newbie> Opening 'order file'.

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25039
interpreted = N
texte = You do not want to have an [orderfile] on the shoppingcart.tpl page. There is no orderfile to be opened because you have not purchased anything yet. You want to show the contents of your cart [showcart] , not of the order. Once you have used the purchase command, then you may use the orderfile. And unless you are using static product pages which is a horrible idea because of the POWER of webcat, you will want to have , not or customers will not be able to order anything but sku 002 on your site. you also do not need a [addlineitem]....you already added the product with a on the previous page.Brian Boegershausen Webcat Programmer www.orderbywire.com-----Original Message----- From: Parker To: WebCatalog Talk Date: Friday, December 03, 1999 4:46 PM Subject: Opening 'order file'. > Trying to get my first ecommerce store running with >WebCat and MacOS X Server and am probably doing it the hard >way, but here's my deal. > >I'm getting this no matter what I try: > >Error: Can't open order file. Ignoring [OrderFile] context > >From this code in a 'post' form: > >
> > > > > >
> Quantity > >
> >Now my folder hierarchy on the server is as follows: > >/sitename > >index.html >sitename.db >sitename.hdr >/sitename/images/ >/sitename/html/ > >/sitename/html/Orders >/sitename/html/ShoppingCarts > >Now I know it's not as easy as using a search command (which >I'll do in future designs), but I wanted to add each product >manually for now to get really used to this WebDNA stuff >etc. Also I'm trying to plugin the WebDNA to an existing >design. I've been having a hard time with the manual, but >I'll be the first to admit that I'm a 'little slow'. ;-D > >To actually see the site and get what I'm trying to do you >can visit http://wulfprints.com/html/christmascards.html >(should be simple right??) > >Anyway... how can I get my cart.tpl file to open the 'order >file'. I've created the cart.tpl page based on a template: > > > > > > > > >[orderfile cart=[cart]] > > > >[showif [action]=Add] > >[addlineitem >db=sitename.db&cart=[cart]&sku=[url][sku][/url]]quantity=1[/addlineitem] > >[/showif] > > > >[showif [action]=Remove] > >[removelineitem db=sitename.db&cart=[cart]&index=[index]] > >[/showif] > > > >
> > > >[lineitems] > > > > > > > >[/lineitems] > >
SKU
[sku]href=Cart.tpl?action=remove&index=[lineindex]&cart=[cart]>Remove
> > > >[/orderfile] > > > > > > >TIA!! Remember there was a time when you all were in my >shoes... (maybe). On digest so direct replies are great! ;-D > >
> > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Opening 'order file'. (Kenneth Grome 1999)
  2. Re: Opening 'order file'. (Kenneth Grome 1999)
  3. Re: Opening 'order file'. (Brian Boegershausen 1999)
  4. Opening 'order file'. (Parker 1999)
You do not want to have an [orderfile] on the shoppingcart.tpl page. There is no orderfile to be opened because you have not purchased anything yet. You want to show the contents of your cart [showcart] , not of the order. Once you have used the purchase command, then you may use the orderfile. And unless you are using static product pages which is a horrible idea because of the POWER of webcat, you will want to have , not or customers will not be able to order anything but sku 002 on your site. you also do not need a [addlineitem]....you already added the product with a on the previous page.Brian Boegershausen Webcat Programmer www.orderbywire.com-----Original Message----- From: Parker To: WebCatalog Talk Date: Friday, December 03, 1999 4:46 PM Subject: Opening 'order file'. > Trying to get my first ecommerce store running with >WebCat and MacOS X Server and am probably doing it the hard >way, but here's my deal. > >I'm getting this no matter what I try: > >Error: Can't open order file. Ignoring [orderfile] context > >From this code in a 'post' form: > >
> > > > [cart]> > >
> Quantity > >
> >Now my folder hierarchy on the server is as follows: > >/sitename > >index.html >sitename.db >sitename.hdr >/sitename/images/ >/sitename/html/ > >/sitename/html/Orders >/sitename/html/ShoppingCarts > >Now I know it's not as easy as using a search command (which >I'll do in future designs), but I wanted to add each product >manually for now to get really used to this WebDNA stuff >etc. Also I'm trying to plugin the WebDNA to an existing >design. I've been having a hard time with the manual, but >I'll be the first to admit that I'm a 'little slow'. ;-D > >To actually see the site and get what I'm trying to do you >can visit http://wulfprints.com/html/christmascards.html >(should be simple right??) > >Anyway... how can I get my cart.tpl file to open the 'order >file'. I've created the cart.tpl page based on a template: > > > > > > > > >[orderfile cart=[cart]] > > > >[showif [action]=Add] > >[addlineitem >db=sitename.db&cart=[cart]&sku=[url][sku][/url]]quantity=1[/addlineitem] > >[/showif] > > > >[showif [action]=Remove] > >[removelineitem db=sitename.db&cart=[cart]&index=[index]] > >[/showif] > > > >
> > > >[lineitems] > > > > > > > >[/lineitems] > >
SKU
[sku]href=Cart.tpl?action=remove&index=[lineindex]&cart=[cart]>Remove
> > > >[/orderfile] > > > > > > >TIA!! Remember there was a time when you all were in my >shoes... (maybe). On digest so direct replies are great! ;-D > >
> > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Brian Boegershausen

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:

problems with 2 tags (1997) Math inside [showif] (1998) Moment of Thanks (1997) Displaying photo attached to first record (1997) Help Encrypt/Decrypt eMail (2003) customizing the color of user's pages (1997) Limiting user access to .tmpl files (1997) Security Question (1997) Running a store on BOTH http and https (1998) plus sign giving me problems in convertchars (2005) Showing once on a founditems (1997) NY State Zip Codes & Tax percent (2002) Still Pulling my hair out (2001) not interpreting Q (2001) Surprise x and y post args (1998) WebCat Stuff (2001) Help! Odd, irreproducible happenings. (1998) webcat nt (1997) Omnihttpd server on Win98 : Who knows how to configure it? (1999) WebDNA Developer Resource Center (2002)