type:
integration
system:
PHP, Excel
name:
XML to Simple CSV
description:
Writes the FoxyCart XML Datafeed to a simple CSV file. Can write to separate files per product.
tag:
datafeed, xml, csv
date:
2008-12-31
version:
0.1a
developer:
http://www.themancan.com/

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 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

Site Tools