Archive for June 2016

Magento export and import attributes from one magento to other setup

I am sharing with you few set of class by which you can export all attributes and their options (if it is a drop-down attribute) from the source website.

Build a php file in magento root like “export_all_attributes.php” and update with below code.

How to run via command: php -f export_all_attributes.php

Note: This will give a csv file [actually i used “|” to separate ;)].

now put the following code in MAGENTO_ROOT/var/Import** directory of the destination website