Re: Online reference
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10259
interpreted = N
texte = >Holy Shmoley. You can do a whole heck of a lot! I didn't realize all the >stuff WebCatalog could do. I'm very happy! Good job.We aim to please!>One question. What do I do if I need to have the data in a certain format >to feed into order fulfillment software? They are very specific about how >it should be done. Is there anyway to change the >
skublah...etc. into something else?Not a problem. Even though our order file format is fixed in that particular arrangement, there is nothing stopping you from using the [WriteFile] context to write your own file in any way you want. Embedded in your 'thank you' page that displays right after they click purchase you can put something like:[WriteFile YourFile.txt][date],[time][LineItems][sku],[price][/LineItems][/WriteFile]This would of course write to a file called YourFile.txt all the time, but it's easy enough to change that:[WriteFile :SpecialFolder:[cart]]Which would write a file in a folder called SpecialFolder, and the filename would be whatever the cart number is.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Holy Shmoley. You can do a whole heck of a lot! I didn't realize all the >stuff WebCatalog could do. I'm very happy! Good job.We aim to please!>One question. What do I do if I need to have the data in a certain format >to feed into order fulfillment software? They are very specific about how >it should be done. Is there anyway to change the >skublah...etc. into something else?Not a problem. Even though our order file format is fixed in that particular arrangement, there is nothing stopping you from using the [writefile] context to write your own file in any way you want. Embedded in your 'thank you' page that displays right after they click purchase you can put something like:[WriteFile YourFile.txt][date],[time][lineitems][sku],[price][/LineItems][/WriteFile]This would of course write to a file called YourFile.txt all the time, but it's easy enough to change that:[WriteFile :SpecialFolder:[cart]]Which would write a file in a folder called SpecialFolder, and the filename would be whatever the cart number is.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |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:
Waitfor file (2000)
no global [username] or [password] displayed ... (1997)
Linebreaks and [writefile] (2003)
[searchString] (1997)
Database Crash (2001)
Multiple Passwords (1997)
OT:looking for developers with solutions (2000)
Shopping carts and reloading pages (1997)
searchable list archive (1997)
Resolving variables into field names-resolved! (1998)
What is the maximum record length? (1998)
Practice runs ? (1997)
[WebDNA] [OT] hello (2012)
Calculating multiple shipping... (1997)
Database Upload (2000)
WebMerchant Question (1998)
WebDNA update from Smith Micro (2002)
WebCatb15 Mac CGI -- [purchase] (1997)
FTP and [shell] (2003)
Mail Service Dead (1998)