aoepeople/aoe_attributeconfigurator

There is no license information available for the latest version (0.1.1) of this package.

Module for attribute creation and maintenance by file instead of setup scripts or backend

0.1.1 2015-04-17 13:19 UTC

This package is not auto-updated.

Last update: 2020-11-27 21:38:11 UTC


README

AOE

Aoe_AttributeConfigurator Magento Module

Build Status

The AttributeConfigurator enables you to centralize the versioning of your attributes in one XML File. Goal of this Module is to have one File to modify if you want to change Attributes and not search through a lot of Magento Update Scripts to find the latest change to your Attribute.

Warning

Work Draft. Currently nonworking.

Okay, it is working, but the part regarding the migration of Attributes is still a working draft. You may enable the Migration of Attributes in Adminhtml on your own risk. Generally, tampering with EAV Attribute Data is not without risk. We strongly recommend backing up your Database regularly and especially before using the Configurator!

Facts

Description

For an example XML, have a look at the attributes.xml in the /etc Directory of the extension. If you do not understand the settings we recommend a Blogpost from Ben Marks that explains basics for the eav_attribute Table Settings: Magento EAV Attribute Setup

Configuration is found at System/Configuration/Catalog/Catalog/Attribute Configurator, the Import Path is relative to the Magento 'var' Directory, e.g. importexport/product_attributes.xml

The Configurator itself is run by a shellskript: /shell/aoe_attribute_import.php - initially this was planned as being regularly checked when using the Backend but we felt the Shop Admin should be in Control when the File is checked. And with large Attribute Sets with a lot of Attributes the XML File can get quite large, so it is better to perform this action when the load is low.

Run it like this:
php aoe_attribute_import.php --runAll

Notice that the Extension does not change any Attributes that were added via Update Scripts or Third Party Extensions for your own safety. Attributes maintained by the Configurator are marked with a is_maintained_by_configurator - Flag.

Requirements

  • PHP >= 5.4.0
  • Mage_Core

Compatibility

  • Magento >= 1.7

Installation Instructions

Use the included modman manifest to integrate into your project. If you want to manually copy the files, use the directory structure provided at /src.

Uninstallation

  1. Remove all extension files from your Magento installation
  2. Drop the 'is_maintained_by_configurator' Column in the 'eav_attribute' Table.
  3. Removing created Attributes depends on your Setup and will probably need manual action

Planned Features

  • Change existing Attributes (type change also, but in some cases information loss is inevitable if source and target type are incompatible, i.e. text to integer)
  • Clean up no longer needed Attributes

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

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

Developer

Maik Rosenthal
Nils Preuss
Rico Neitzel
Stefan Schwan
Thomas Neumann
Joachim Adomeit

License

Open Software License v. 3.0 (OSL-3.0)

Copyright

(c) 2014 Firegento
Rework 2015 Aoe