many of the fulfillment companies accept only tab delimited files that they can run in their systems (bastards don’t want to update their systems to new standards)
whats funny is that magento’s export of products has tab delimited option, if we can get your export script to export pr to be converted automatically to tab delimited many people will use magento just for this reason cuz many go to x-cart just because it has the option for order export separated by tabs so the fulfillment companies recommend it just for that, mine said buy X-cart but i was able to get the client to like magento, we were all happy by it until we realized that the product export does not include an order export option, so when we found your script we were very happy, so now we just need it to be able to export in tab delimited files and we will be set
very thankful for your help
ok i started working on it, i am making the export custom option right now to be all under each other, than will use the parser to see what it makes, tx so much will be posting result in the next hour, hopefully this won’t take long
2.6) search all references to the export path in the files includes.php and replace them with constant ORDER_EXPORT_PATH
3) Go to admin>System>configuration>advanced>system
3.1) Select one of your website
3.2) Into the Orders Export tab, set the field Export Path to your export path (i.e. var/export)
4) You are done
ps: This a good example to start with configuration. All hard coded config data used into the this excellent export system can be set using the same process.
This works fine for me but I have two issues, has anybody had any luck with exporting the orders as a .CSV file rather than as XML? My other question is that when I “export orders since last export” I’d really like to be able to export each order as an individual file rather than as several orders in a single file.
I wondered if anybody else had tried this who might have got anywhere with it?
i’m really struggling to get the region and postcode to show in the resulting file. Can someone post a working example of the code snippet to add billingregion and/or billingzip to samples and includes file. I know that I’m making a dumb mistake but I can’t seem to get those 2 very vital bits of info into the xml file.
case “getbillingpostcode”:
return $orderMag->getBillingAddress()->getPostcode();
case “getbillingregion”:
return $orderMag->getBillingAddress()->getRegion();