I would like to base the exported file name on the date or the batch name. Can I do this?
Q (2003/12/01): I would like to base the exported file name on the date or the batch name. Can I do this?
A: I have added tokens that can be used in the file name. So to make this information part of the file name, simply use the apropriate token in the "Export to file:" field:
%month% (the current month, as a number)
%dayofmonth% (the current day of the month)
%year% (the current year)
%storename%
%storeowner%
%storeemail%
%storecompany%
%storeaddress%
%storecity%
%storestate%
%storezip%
%storephone%
%storefax%
%storecountry%
%batch_month% (the month in which the batch was created, as a number)
%batch_dayofmonth% (the day of the month in which the batch was created)
%batch_year% (the year in which the batch was created)
%batch_name% (the name of the batch)
So to base the name of the export file on the batch name, simply use:
%batch_name%.dat
to export the file to a file named after the batch name (with a .dat extension).
Last update: 2006-02-13 21:04
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2939 views:
Adding Tokens to Evaluate Expressions - 2867 views:
Is there a way to "Limit" the number of ... - 2791 views:
Why won't you call me for technical support? I ... - 2678 views:
Are license keys valid for more than one store? ... - 2577 views:
I'm trying to enter a license key and get ... - 2566 views:
How do I install a module? - 2409 views:
How do I check for a module upgrade? - 2372 views:
How can display and change the parameters of an ... - 2218 views:
The total on my checkout pages are not correct. ... - 2016 views:
I have select and radio type attributes in my ...
















