RE: completed orders database

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13548
interpreted = N
texte = Richard ->IS there any way I can write completed orders, which have a text file in >the completed orders folder, to one database file? >I want to be able to search this combined database as needed to see what >products have been purchased, when, etc. >At what point does webcatalog create this completed order file? >Can I get into the steps somewhere and have the completed order appended >into this database i want to create? >I certainly can manually combine these files into one, but I would >prefer the process to be automatic, so that when a purchase is made, >that line is written into this file without my intervention.As Grant suggested, you can have all your orders written to a separate pending orders database using an embedded [append] command on your ThankYou.tmpl page - this is more or less what we will be doing with the StarNine store. You can then have a set of administration templates that you manually go and load (once a day, once a week, whatever) that use [listfiles] to check both the Completed Orders and Problems folders and set the status of orders in the pending orders database to successful or failed. This way you can search that orders database for your complete order history and display any kind of reports you like.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. RE: completed orders database (Marc Eagle 1997)
  2. Re: completed orders database (Grant Hulbert 1997)
Richard ->IS there any way I can write completed orders, which have a text file in >the completed orders folder, to one database file? >I want to be able to search this combined database as needed to see what >products have been purchased, when, etc. >At what point does webcatalog create this completed order file? >Can I get into the steps somewhere and have the completed order appended >into this database i want to create? >I certainly can manually combine these files into one, but I would >prefer the process to be automatic, so that when a purchase is made, >that line is written into this file without my intervention.As Grant suggested, you can have all your orders written to a separate pending orders database using an embedded [append] command on your ThankYou.tmpl page - this is more or less what we will be doing with the StarNine store. You can then have a set of administration templates that you manually go and load (once a day, once a week, whatever) that use [listfiles] to check both the Completed Orders and Problems folders and set the status of orders in the pending orders database to successful or failed. This way you can search that orders database for your complete order history and display any kind of reports you like.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Marc Eagle

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:

Speed Optimization - Mac (1997) form data submission gets truncated (1997) [LOOP]/[BREAK] bug (2000) WebCat2 several catalogs? (1997) Need help with emailer- 2 issues (1997) Another IfThenElse question.. (2003) GrandTotal not right (1997) Frames and WebCat (1997) Grant, please help me ... (1997) Calendar Snippet Problems (1998) t or f (1997) European Convention (2004) SSL Certificates (2004) Encryption of E-mail (1998) Finalizing Orders (2000) eMailer replacement? (1998) Cold Fusion Buster (1997) Append..... doesn't (2000) Searching for the end (1998) Shopping Cart Problem (1998)