numero = 25039
interpreted = N
texte = You do not want to have an [orderfile] on the shoppingcart.tpl page. Thereis 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. Andunless you are using static product pages which is a horrible idea becauseof 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 BoegershausenWebcat Programmerwww.orderbywire.com-----Original Message-----From: Parker To: WebCatalog Talk Date: Friday, December 03, 1999 4:46 PMSubject: 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:>>>>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]>>>>
>>>>[/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 MessagingServer.>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:
You do not want to have an [orderfile] on the shoppingcart.tpl page. Thereis 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. Andunless you are using static product pages which is a horrible idea becauseof 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 BoegershausenWebcat Programmerwww.orderbywire.com-----Original Message-----From: Parker To: WebCatalog Talk Date: Friday, December 03, 1999 4:46 PMSubject: 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:>>>>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]>>>>
>>>>[/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 MessagingServer.>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
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...