How do I install the MageFlow Connect extension in Magento?

Home » Question » How do I install the MageFlow Connect extension in Magento?
AnswersCategory: Getting startedHow do I install the MageFlow Connect extension in Magento?
Kratt Kaarel Staff asked 3 years ago
1 Answers
Sven Varkel Staff answered 3 years ago

MageFlowConnect extension (MFX) can be installed in a number of ways so that everybody can choose the most suitable method.

  1. Installation via Magento Connect Manager
  2. Installation from command line with mage tool
  3. Installation with modman

Installation via Magento Connect

Word of warning

This is the most accessible way for the Merchants to install Magento extensions. However this method is not appreciated by developers. It’s not good idea to ever install anything directly to a production site. Due to nature of Magento architecture conflicts between extensions can occur or the installation process itself can be interrupted for a number of reasons.

It’s hard to put extensions installed using this method under version control.

In short – it’s not advisable to install extension directly to production system via Magento Connect Manager.

Installation

First get MFX extension key from Magento Connect. We make it easier for you here. The full extension key (URL) is http://connect20.magentocommerce.com/community/MageFlowConnector

  1. Copy the key to clipboard.
  2. Log in to Magento admin and navigate to System -> Magento Connect -> Magento Connect Manager. Paste the key into input field in section “Install New Extensions”.
  3. Click “Install”.

Installation from command line with mage tool

The same words of warning apply for installation MFX via command line tool mage. However since this method is mostly used by developers it’s possible to add installed extension files under version control easily.

  1. Log in to server shell
  2. Navigate to Magento folder
  3. Make sure mage script has execution bit set (chmod +x mage)
  4. Make sure you have a channel available – community: connect20.magentocommerce.com/community
    ./mage list-channels
  5. If not, add channel:
    ./mage channel-add http://connect20.magentocommerce.com/community
  6. Syncronize:
    ./mage sync
  7. Execute command:
    ./mage install community MageFlowConnector

Installation with modman

Installation of MFX with modman is the recommended method for developers.

  1. Navigate to Magento folder in development instance
  2. Execute command:
    modman clone https://bitbucket.org/mageflow/extension.git

Magento symlinks must be enabled in case of modman installation. Symlinks can be enabled at System->Configuration->Advanced->Developer->Template settings.

NB! Remember to log out and in again and refresh the cache after the install.

If you have flat categories enabled you need to take these steps after installing MFX to make MFX work with flat categories:

  1. create a backup of your database;
  2. drop “flat category” database tables that have names like: catalog_category_flat_store_1 where 1 is tore ID (it may vary);
  3. update and save your category and “flat category” tables will be regenerated.

The same applies for flat products:

  1. create a backup of your database;
  2. drop “flat product” database tables that have names like: catalog_product_flat_store_1 where 1 is tore ID (it may vary);
  3. update and save your product and “flat product” tables will be regenerated.