Difference between revisions of "Opentaps Magento Integration"

From Opentaps Wiki
Jump to navigationJump to search
(Introduction)
(Introduction)
Line 4: Line 4:
 
This integration allows you to use the [http://www.magentocommerce.com/ Magento e-commerce system] with [http://www.opentaps.org opentaps Open Source ERP + CRM].  The integration is designed to allow you to set up your products and catalogs in Magento, take orders using the Magento online store or using the Magento order entry module, and then import the products and orders to opentaps for purchasing, manufacturing fulfillment, and invoicing.
 
This integration allows you to use the [http://www.magentocommerce.com/ Magento e-commerce system] with [http://www.opentaps.org opentaps Open Source ERP + CRM].  The integration is designed to allow you to set up your products and catalogs in Magento, take orders using the Magento online store or using the Magento order entry module, and then import the products and orders to opentaps for purchasing, manufacturing fulfillment, and invoicing.
  
Specific features to supported are:
+
Specific features supported are:
 
* One way push from Magento of newly added products and sales orders (Changes to products and orders are currently not handled.)
 
* One way push from Magento of newly added products and sales orders (Changes to products and orders are currently not handled.)
 
* All Magento orders added to one "Magento Customer" in opentaps
 
* All Magento orders added to one "Magento Customer" in opentaps

Revision as of 22:17, 14 January 2010

Introduction

This integration allows you to use the Magento e-commerce system with opentaps Open Source ERP + CRM. The integration is designed to allow you to set up your products and catalogs in Magento, take orders using the Magento online store or using the Magento order entry module, and then import the products and orders to opentaps for purchasing, manufacturing fulfillment, and invoicing.

Specific features supported are:

  • One way push from Magento of newly added products and sales orders (Changes to products and orders are currently not handled.)
  • All Magento orders added to one "Magento Customer" in opentaps
  • Payments received in Magento are imported into opentaps under "Magento customer" an associated with the corresponding order
  • Once orders are shipped in opentaps, the tracking number is sent back to Magento and associate it with the original order.

This integration is compatible with the free Magento Community Edition.

Installation

Here below you can find the steps needed to install the components needed to integrate Opentaps and Magento.

Installing the Magento Extension

1. Checkout the IntegratingWeb Magento module in $magentoInstallationPath/app/code/local

  svn co svn://svn.opentaps.org/opentaps_magento/magento_component/versions/1.0/trunk/IntegratingWeb IntegratingWeb 

After the download, the Magento directory structure must look like the following:

  $magentoInstallationPath/app/code/local/IntegratingWeb

2. Create a new file called IntegratingWeb_Restful.xml in $magentoInstallationPath/app/etc/modules with the following content:

<?xml version="1.0"?> <config>

   <modules>
       <IntegratingWeb_Restful>
           <active>true</active>
           <codePool>local</codePool>
            <depends>
              <Mage_Core />

<Mage_Catalog /> </depends>

       </IntegratingWeb_Restful>
   </modules>

</config>

3. Go on the Magento backend in System->Configuration, then Advanced->Advanced . If you click on "Disable modules output", you should see a module named IntegratingWeb_Restful: if that is your case, then you have succesfully installed the Magento module.

Installing the opentaps Module

1. Checkout the magento-integration module in $opentapsInstallationPath/hot-deploy

  svn co svn://svn.opentaps.org/opentaps_magento/opentaps_component/versions/1.4/trunk/magento-integration magento-integration 

After the download, the Opentaps directory structure must look like the following:

  $opentapsInstallationPath/hot-deploy/magento-integration

2. Checkout the magento-integration module in $opentapsInstallationPath/hot-deploy

  svn co svn://svn.opentaps.org/opentaps_magento/opentaps_component/versions/1.4/trunk/dal dal

After the download, the Opentaps directory structure must look like the following:

  $opentapsInstallationPath/hot-deploy/dal

3. Modify the file $opentapsInstallationPath/hot-deploy/component-load.xml adding the following two lines:

  <load-component component-location="magento-integration"/>
  <load-component component-location="dal"/>

The Opentaps modules are now installed (to ensure that everything went well, reboot opentaps and check if the modules are loaded).

4. Modify $opentapsInstallationPath/hot-deploy/magento-integration/config/magento-integrationg.properties to suit your needs. NOTE: when you modify any .properties file in Opentaps, you must reboot your instance because properties are loaded statically at boot application time.