---- dataentry ---- type : integration # do not change this line systems : PHP, Excel # the system(s) that the integration is for, separated with commas if more than one name : XML to Simple CSV # the name of the integration description : Writes the FoxyCart XML Datafeed to a simple CSV file. Can write to separate files per product. tags : datafeed, xml, csv # tags, separated by commas. don't include the "system" here. date_dt : 2008-12-31 # the date in YYYY-MM-DD format version : 0.1a # if you have a version for your code, enter it here developer_url : http://www.themancan.com/ # if you'd like a link back to your site, stick it here ---- ====== xml to simple csv ====== //**Please note:**// The code on this page is submitted by members of the FoxyCart community, and may not verified by FoxyCart.com LLC in any way, shape, or form. Please double check the code before installing. If you need help with it please [[http://forum.foxycart.com/|post in our forum]], but if we cannot offer assistance (due to unfamiliarity with this particular system or language) we apologize in advance. ===== Description ===== * Writes the FoxyCart XML Datafeed to a simple CSV file. * By default it will write to separate files per product, so a product ABC1 will write to ABC1.csv. * By default it will record the customer name, product quantity, product code, product name, transaction date, and transaction ID. * You can easily modify what fields it writes by editing the code below. ===== Installation ===== Instructions in the file. ===== Requirements ===== * PHP 5 * fopen / fwrite support ===== Code ===== {{:integration:xml:xml_to_simple_csv.01a.zip|FoxyCart XML to Simple CSV}}