+2 votes
in Wordpress by
I have a wordpress integrated magento site. Magento is the frontend store where wordpress is the site cms pages and product reviews. I need to integrate the functionality of auto logging in to both magento and wp whenever someone is logging into magento. How is this possible? I assume I will need to create user accounts happening on magento on wp also and keep it synced always. WP will not have a independent user register functionality, so it will not need a back sync of accounts. Please suggest how this can be done?

1 Answer

0 votes

I have not had tried an actual sync solution between WP and Magento, but there are some plugins and solutions by which will allow you to run a WP site over magento sessions.

Mage Enabler. This is a WP plugin that gives raw access to the Mage object - you can use it like single login and even access Magento methods within WordPress (pull templates from Magento, display categories, products and checkout from your blog etc etc and much more).

There is also a Fishpig plugin for this purpose. See http://fishpig.co.uk/magento/wordpress-integration/customer-synchronisation/
While I have not used this plugin on any project yet.

Other solutions to consider below...



Or you can ever build a bespoke solution

Just check, if a customer session is returned through mage, and check for WP sessions also. If WP session is not set then the user is not logged in. Create the WP user with a common password and inject the login. You can start this from here.


Related questions

+1 vote
1 answer 683 views
asked Oct 14, 2016 in Wordpress by Justin
0 votes
1 answer 1.2k views
0 votes
0 answers 432 views
asked Dec 6, 2016 in Laravel by Jinu
+2 votes
2 answers 7.2k views
0 votes
1 answer 530 views
asked Aug 25, 2016 in Wordpress by Sita