Re: question: writing files textb in webmerch

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12792
interpreted = N
texte = >I having a hard time understanding how webmerch copies to the webdelivery >folder, a file that href links to the serial number file, which has been >dynamically [append]ed to the [cart].tmpl file which I have [writefile]ed >to the stockroom folder. > >As it is now, here is the order I have things done in the thankyou.tmpl: > >1. [Writefile] [cart].tmpl to stockroom - (says) Thanks for your order >2. [Appendfile] [cart].tmpl to stockroom - (says) the serial number >3. [Writefile] [cart].tmpl to webdelivery- (says) Please wait while your cc >clears. > >How can I copy 1 and 2 over to webdelivery folder when the cc clears and >have it overwrite 3?When we originally designed the StockRoom concept, we didn't expect the files in the stockroom to change very often. If you were selling pictures or software, there would just be the one copy that gets sent to the WebDelivery folder.So the simplest answer here is for you to pre-create files in your stockroom that are each named the same as the serial number you are selling. So if there are 1000 serial numbers, then there are 1000 files in the stockroom.Or, if you want to do what you described in 1,2,3 above, you can store the text [cart].tmpl into textA, and change your WebMerchant preference so that it uses textA for the WebDelivery file name. The preference is a popup at the bottom of WebMerchant's prefs dialog.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: question: writing files textb in webmerch (Grant Hulbert 1997)
  2. question: writing files textb in webmerch (Kevin Furuta 1997)
>I having a hard time understanding how webmerch copies to the webdelivery >folder, a file that href links to the serial number file, which has been >dynamically [append]ed to the [cart].tmpl file which I have [writefile]ed >to the stockroom folder. > >As it is now, here is the order I have things done in the thankyou.tmpl: > >1. [writefile] [cart].tmpl to stockroom - (says) Thanks for your order >2. [appendfile] [cart].tmpl to stockroom - (says) the serial number >3. [writefile] [cart].tmpl to webdelivery- (says) Please wait while your cc >clears. > >How can I copy 1 and 2 over to webdelivery folder when the cc clears and >have it overwrite 3?When we originally designed the StockRoom concept, we didn't expect the files in the stockroom to change very often. If you were selling pictures or software, there would just be the one copy that gets sent to the WebDelivery folder.So the simplest answer here is for you to pre-create files in your stockroom that are each named the same as the serial number you are selling. So if there are 1000 serial numbers, then there are 1000 files in the stockroom.Or, if you want to do what you described in 1,2,3 above, you can store the text [cart].tmpl into textA, and change your WebMerchant preference so that it uses textA for the WebDelivery file name. The preference is a popup at the bottom of WebMerchant's prefs dialog.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Forbidden CGI Error (1997) SKU lookup (1997) No more misunderstanding ... yay! :) (1997) 40,000+ items = mutiple dbs? (1999) [WebDNA] Math variable name length limitations ... (2012) emailer w/F2 (1997) SAVECART (1997) Press Release hit the NewsWire!!! (1997) Location of Browser Info.txt file (1997) Need help with form (1998) [delete] problem (1997) WebCatalog2 Feature Feedback (1996) Appending Information from one db to another (1998) Extended [ConvertChars] (1997) Another webcatalog site!! (1997) WebCat/CyberStudio Compatibility (1998) WebDNA Feature Request (2006) Running _every_ page through WebCat-error.html (1997) Forcing a NEWCART (1997) Multiple catalog databases and showcart (1997)