mzeis / Emzee_FixtureExport

Export Magento data as EcomDev_PHPUnit fixtures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  • Magento >= CE 1.9 (may also work in other versions)

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

  • Multi line values (e.g. for description) aren't implemented

###Complex data

  • Configurable products, bundle products etc. haven't been tested and are likely to not work yet

###Product options

  • Product options haven't been tested and are likely to not work yet.

###Website-specific data

  • Website-specific data isn't implemented

###Prices

  • MSRP hasn't been tested / implemented

###Category assignments

  • Category names / paths are exported instead of the assigned category ids

###Product images

  • Product images aren't implemented

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

About

Export Magento data as EcomDev_PHPUnit fixtures.

License:Open Software License 3.0


Languages

Language:PHP 100.0%