Difference between revisions of "Opentaps Magento Integration"
Michele.orru (talk | contribs) (→Introduction) |
Michele.orru (talk | contribs) (→Introduction) |
||
Line 2: | Line 2: | ||
==Introduction== | ==Introduction== | ||
− | |||
− | |||
This integration aims to integrate Magento with Opentaps, in a way that workflows like Invoicing and Shipping can be done in Opentaps given his much powerful management on this business aspects. | This integration aims to integrate Magento with Opentaps, in a way that workflows like Invoicing and Shipping can be done in Opentaps given his much powerful management on this business aspects. | ||
Revision as of 21:06, 13 January 2010
Contents
Introduction
This integration aims to integrate Magento with Opentaps, in a way that workflows like Invoicing and Shipping can be done in Opentaps given his much powerful management on this business aspects.
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.