Magento and Joomla! - HowTo!
Here's a short text explaining how to get Magento and Joomla! user integration using a plugin I wrote for JFusion.
UPDATE 2: There is a brand new version of this plugin (much simplier and should work with magento 1.0), please fallow the development process here and help me testing!! FEEDBACK IS APPRECIATED!
UPDATE: Magento plugin is, now, packed with JFusion versions higher than 1.0.5. You just need to install JFusion and enable Magento plugin. Cheers
Before we start:
This is not a user synchronization method. It validades all users (except backend users) against your Magento database. That's how JFusion 1.0.4 works so if you want user synchronization between Joomla! and Magento you'll have to wait for next releases of JFusion (we are working on this feature!).
What you will need:
- Joomla! 1.5.0+ installed and configured (1.5.1 strongly recommended)
- JFusion 1.0.4 installed and configured! (jfusion has plenty of documentation on how to get it working. please use it!)
- Magento eCommerce 0.7.1548 installed and configured (I can't say if this works with the latest version!! I promise I will release an up to date plugin as soon as Magento 1.0 stable goes public)
- My Magento Plugin for JFusion! (yay!)
- cURL extension for PHP (check your phpinfo(); if its not enabled, I'm almost sure there is a php5-curl package for your favorite linux distro, or a commented dll in your php.ini)
Once Joomla!, JFusion and Magento are running smoothly, extract my plugin (magento.tar.gz) inside JFusion's admin folder (yousite/administrator/components/com_jfusion/). This will create a yousite/administrator/components/com_jfusion/magento/ folder with two files in it: admin_forum.php and jfusion.xml
Missing information (thanks unleash.it):
add the new files to the com_jfusion.xml:
HTML:
<filename>magento/admin_forum.php</filename> <filename>magento/jfusion.xml</filename>Then manually add a new row for Magento in the jfusion table of the Joomla DB. You can do this simply copying one of the existing (forum) rows and change the name to "magento".
Now login in your joomla backend (using the "admin" username), go to components -> jfusion and configure your "magento" plugin.. that's it.
you should be able to login in joomla with your Magento users (the username is a e-mail address) and link to your magento site without need to restart the session
Warning:
This is a pre-alpha public release (magento plugin hasn't been released with jfusion yet). Use for testing purposes only and let me know if it worked as expected
Submit your comments here, here or by mail: bigodines ~@ ~ joomla.com.br
19 Comments so far
Leave a reply

Has your patch been updated with the latest version of Magento. Currently on your site you use version 0.7.1548, and from what I can tell the latest verion as of 3/11/2008 is 0.8.17240.
Thanks for your effort into this project.
Do you (or does anyone else) have this set up in a public demo site?
I’m working on a new version of the plugin. SHould be available with Magento 1.0 final.
I will provide a demo site as well. Thanks for your patience.
I’m confused… I installed the latest version of both JFusion (1.05e Alpha) and Magento (0.9.17740). All of the files and config are in place as you have detailed however I do not see a Magento plugin (in Joomla 1.5.1) that I can enable for JFusion configuration.
Do you have any advice for me?
Thanks!
Tim, I didn’t get your comment.
The magento plugin is a JFusion plugin is already there. just go to integration config and configure the magento plugin.
Please note:
- Dual login won’t in the latest version of magento (will work if you use 0.7.1548)
- Table preffix won’t work (as older versions of magento didn’t use preffix).
I’ll provide a new version of this plugin with Magento final (which should occur by the end of this month).
-bigo
does anyone knows if there is any other information about this subject in other languages?
I am interested in trying to integrate both CiviCRM and Magento into a Joomla (or possibly Drupal) site. Wondering what effect this JFusion approach to the Joomla-Magento integration would have on the CiviCRM-Joomla integration… Any ideas?
civicrmc-joomla should be easy as well… check the jfusion community. There’s proably someone working on it.
-bigo
Hi Bigo,
Actually, CiviCRM is designed to work as a Joomla component, so jfusion is not needed on that side. Rather, my question is, do you know if using jfusion to link to Magento could screw up the CiviCRM component in some way, if it means that some data is not being stored in the Joomla database when that is where CiviCRM expects to find it?
Hi all,
I’ve configured as said, but my jfusion status says “No user table found”.
Any idea y?
hi..
well i figured out the “No user table found”.. my bad.. i didnt add clients login details to magento..
now the 2nd issue am having.
Everything is configure and status says good, but when am trying to login from joomla, it says username and password fails. but when i try to register, it opens magento in a wrapper.
I’ve setup magento on http://www.badurally.com/magento/
and the joomla integration is on http://www.badurally.com/magoomla/
username: joomla@badurally.com
password: magento
or
username: test@test.com
password: magento
Any advice….
Thx..
guys, thanks for testing.
please check more recents posts in this blog with information about running Magento 1.0 and Joomla!.
I really, truly am glad I found this site. It has answered so many questions for me. I will be back. Thank You
Any updates as to whether or not this integration is working as it should ??
I guess a new challenge has risen with the release of Magento 1.1 just a few days ago.
—-
Plenty of Magento templates at
http://www.eCommerce-Themes.com
[…] JFusion […]
why not just use joomla as you’re main content management system; company info, blog etc, and then when the potential customer wants to shop and clicks on the shop button it takes them to the magento store sub folder where they login. i think that’s the simplest solution - no?
I do agree. But it would be nice for marketing reasons if I could link special products to special joomla content, so that soap is showing up if customers read an article about wellness…
Like the Joomla plugins for the shopsystem VIRTUEMART. It offers “related Products to related Articles”, “featured products”, “last products”, “most buyed products”
What I am looking for if it comes to INTEGRATION of Joomla und magento ist such a plugin: “People who have read this Article have also bought this product!!”
All this login discussion is really ridiculous and can only fascinate home programmers but not merchands.
I’ve had your blog in my bookmarks for a couple of days now and just wanted to say that I really love your articles! ^^