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:

Providing hard copy of database to client (1997) Trouble with Showif and Search (1998) Calculating multiple shipping... (1997) pc (1997) Hiding HTML and page breaks (1997) Upgrade to wsV (Email issue) (2004) Logging purchases (1997) Here we go again... (2006) WebCat2 beta 11 - new prefs ... (1997) A question on sub-categories (1997) WebCat editing, SiteGuard & SiteEdit (1997) [WebDNA] group searching not working as expected. (2010) Quit revisited (1997) Emailer problems (1998) RE: Credit card processing - UK (1997) Webcatalog 4.02b5 Mac OS X headers (2000) Upgrading old WebCat Database Files (1997) Just Testing (1997) Permissions Ignored - PLEASE HELP (2003) Sorting by date (1997)