Home

Awesome

Emzee_FixtureExport

Export products in the YAML fixture format required by EcomDev_PHPUnit.

This is a very early version with many known issues (see the Known Issues section) and likely to break until you're not using very simple data. In fact I didn't even try to use a generated fixture yet as this is a rainy Sunday afternoon proof of concept.

Please report (or even fix, yay!) issues that you find while playing around with your data sets.

Facts

Compatibility

Installation

  1. Install the extension using Composer, modman or copy all the files to the according Magento directories manually.

Uninstallation

  1. Remove the files.

Usage

After installing the extension, create the products you want to export and head over to System > Import/Export > Export. Select the Entity Type Products and the Export File Format EcomDev_PHPUnit Fixture. Set the filters as desired and click Continue to export the resulting YAML file.

If you get an error message check the Magento logs for error messages.

All limitations of the Magento Import/Export functionality and EcomDev_PHPUnit fixture apply. That means that certain product types or parts of the data may not be exportable and importable.

If you have sample fixtures that give more insight on the expected fixture format than the EcomDev_PHPUnit manual examples don't hesitate to share them so that somebody can implement them.

Known Issues

###General

###Complex data

###Product options

###Website-specific data

###Prices

###Category assignments

###Product images

Support

If you have any issues with this extension, open an issue in the GitHub repository. Please provide error messages, debug information like output from the Magento error logs and the exact steps / code to reproduce the issue.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Matthias Zeis (matthias-zeis.com, @mzeis)

Licence

OSL - Open Software Licence 3.0

Copyright

(c) 2014 Matthias Zeis