Re: GoodPath and MoveFile (edited and reposted)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28793
interpreted = N
texte = on 3/9/2000 11:22 AM, Andy Willett at andy@betau.com wrote:> Greetings all--> > First, a little background: I'm working on a site for a used-record store.> The site will allow buyers to browse a real-time display of what's on the> racks and available for purchase. However, the possibility remains that the> store will sell something over the counter before an online order for the> same item can be filled. So we need to be able to crack open all pending> orderfiles and pull out anything that can no longer be sent between the BOOK> and SHIP stages.> > So when an order is successfully BOOKed, I'd like to move its orderfile to> another folder, where things will be easier to keep track of.> > My question: can I include something like> [movefile from=PendingOrders/[cart]&to=That_Folder/[cart]]> in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?> > Or do I need to write a second include for the ProcessOrders.tpl file that> cycles through every orderfile in PendingOrders, cracks each one open, looks> for [something that indicates a successful booking], and then moves it?> > Thanks for your time> Andy> Well, sounds like the typical inventory management issue that arises when abusiness regards their web commerce as a separate entity from their physicalstore. My suggestion is to either tie both systems to a single sql datasource or build a web based pos system that is tied to the same webcat dbthat your web site is using. It's not that difficult to build a customadmin template that contains all the form elements you need to do a salein-store and even return a printable invoice. Not exactly an answer to yourquestion, but I've done quite a lot of consulting in this area and in mostcases, this sort of scenario is an eventuality. It's just hard to get theclient over some of the initial obstacles or perception there of.As for your specific question, I think being storebuilder specific it shouldbest be answered by someone at SM.Mike-------------------------------------------------------------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:
on 3/9/2000 11:22 AM, Andy Willett at andy@betau.com wrote:> Greetings all--> > First, a little background: I'm working on a site for a used-record store.> The site will allow buyers to browse a real-time display of what's on the> racks and available for purchase. However, the possibility remains that the> store will sell something over the counter before an online order for the> same item can be filled. So we need to be able to crack open all pending> orderfiles and pull out anything that can no longer be sent between the BOOK> and SHIP stages.> > So when an order is successfully BOOKed, I'd like to move its orderfile to> another folder, where things will be easier to keep track of.> > My question: can I include something like> [movefile from=PendingOrders/[cart]&to=That_Folder/[cart]]> in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?> > Or do I need to write a second include for the ProcessOrders.tpl file that> cycles through every orderfile in PendingOrders, cracks each one open, looks> for [something that indicates a successful booking], and then moves it?> > Thanks for your time> Andy> Well, sounds like the typical inventory management issue that arises when abusiness regards their web commerce as a separate entity from their physicalstore. My suggestion is to either tie both systems to a single sql datasource or build a web based pos system that is tied to the same webcat dbthat your web site is using. It's not that difficult to build a customadmin template that contains all the form elements you need to do a salein-store and even return a printable invoice. Not exactly an answer to yourquestion, but I've done quite a lot of consulting in this area and in mostcases, this sort of scenario is an eventuality. It's just hard to get theclient over some of the initial obstacles or perception there of.As for your specific question, I think being storebuilder specific it shouldbest be answered by someone at SM.Mike-------------------------------------------------------------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
Mike Davis
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:
WebSTAR 2.1 freezes my Mac (1997)
[Sum] function? (1997)
WebCat2 beta 11 - new prefs ... (1997)
[math date]: Arrrggh! (2003)
WebDNA on FreeVSD? (2002)
[SearchString] problem with [search] context (1997)
WebCat2 - [include] tags (1997)
GoLive CyberStudio 1.0.1 (1997)
New command suggestion (was Modifying databasesmanually) (1997)
Setting up shop (1997)
Mystery authentication (1997)
Location of Browser Info.txt file (1997)
Tab Charactor (1997)
Help! WebCat2 bug (1997)
Trigger: executes every N days (2001)
[WebDNA] Hacked account recovered (2010)
Emailer (WebCat2) (1997)
[lookup] vs. [search] (1998)
Upload to LINUX always breaks my sites - why? (2004)
WebDNA-Talk Digest mode broken (1997)