|
Oct 12
2011
|
|
VM Orderlist has long been the best way to create a CSV or TXT file of orders to automatically email as an attachment to fulfillment houses. Highly configurable, and featuring an option to generate a report on-demand, Virtuemart Orderlist has become an indispensable part of many Virtuemart online shops. New enhancements have now made VM Orderlist even better!
As of the October 2nd, 2011 release, VM Orderlist now contains a language file that can be edited to customize the names of the various columns in the CSV or TXT file. To adjust, you simply go to components/com_vmorderlist/literals.idx.php and edit the file as desired. Want the Virtuemart field "bill_company" to be in Spanish? Then change the literal to "facturación de la compañía" in the file. Make any column name say whatever you choose so that your partner receiving the CSV or TXT output of your orders can easily work with the file.
In this same file, you can control the order in which the fields are displayed, and even turn off any Virtuemart fields which you don't need in your file. Just change the numbers assigned to each field in the file to set the order in which they appear in the CSV or TXT file.
In addition to sending the output file as an attachment, VM Orderlist can save the attachment with a unique file name based on the time and date.
If the "Save attachment vmordyyyymmddhhmm" option is set to "No," the component will generate the order attachment as "vmorderlist" and will overlay the previous file on the server root with the new file when it is generated on the schedule you choose based on your CRON setting.
Setting the option to "Yes" (this is the default) will create a new file on the server root named vmordyyyymmddhhmm.csv or .txt. If a new file were generated on September 23, at 8:30 AM the name of the file created would be vmord201110230830.csv or .txt. This option allows you to keep backups of the sent files on the server root, and makes sure that the recipient of the emailed file can tell when the file was created.
If this option is used, you may set up a CRON job that runs as often as needed and each email generated will have a unique attachment ID that will also be saved in the root folder of your server.

