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 EagleStarNine Technologieshttp://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
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 EagleStarNine Technologieshttp://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:
Emailer (WebCat2) (1997)
Re:redirect from the errorsMessages.db entry (1997)
search/showif issues (2000)
cart converting to scientific notation format (2001)
[defined]ish (1997)
LOOP and IF statements (1997)
Error Log.db --however (1997)
Webcat and SQL - General Comments (2006)
Who is doing sign-ups-got it (1998)
Bug Report, maybe (1997)
Re[2]: Webcatalog 4.0 - When will we be able to beta test it (2000)
Thanks for tips, more quest (1997)
Initiating NewCart (1997)
Large databases in WebCat (1997)
Max Record length restated as maybe bug (1997)
Share Snippet? (1999)
Sort Order on a page search (1997)
Emailer (WebCat2) (1997)
It finally happened ... (2003)
WebCat2b15MacPlugin - showing [math] (1997)