This extension is able to export some entities to a simple multidimensional array for further usage.
- Products
$exporter = Mage::getModel("fastsimpleexport/export");
$result = $exporter->processProductExport();
- Customer
$exporter = Mage::getModel("fastsimpleexport/export");
$result = $exporter->processCustomerExport();
- Orders
$exporter = Mage::getModel("fastsimpleexport/export");
$result = $exporter
->setIncludePayment(true)
->setIncludeShipment(true)
->setIncludeAddresses(true)
->setIncludeItems(true)
->processOrderExport();
- Catalog Category Product Positions
$exporter = Mage::getModel('fastsimpleexport/export');
$result = $exporter->processCategoryProductExport();
- Catalogrules
$exporter = Mage::getModel('fastsimpleexport/export');
$result = $exporter->processCatalogruleExport();
- Cartrules
$exporter = Mage::getModel('fastsimpleexport/export');
$result = $exporter->processCartrulesExport();
Filtering is done the same way it is done in ImportExport. Simply create an array of the following structure and use it as parameter in the set filter call.
$filter = array('export_filter' => array('gender' => 123, 'price' => array(100,200)));
$export->setExportFilter($filter);