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:

RE: Error: template (1997) mySQL numfound (2006) [WriteFile] problems (1997) Price lookup problem - was Cart questions (1997) really wierd browser truncating (1997) Replace context problem ... (1997) Discounts (2002) Database Structure? (1998) select multiple (1997) Item options w/ price adjustment (1997) Bug? (1997) ERASING DATABASE (1997) What is the maximum record length? (1998) Just a thought (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) MacAuthorize order data fields WAS:How To question... (1997) Price override (2004) Opinion: [input] should be called [output] ... (1997) Separate SSL Server (1997) Shownext on AOL (2003)