This Joomla! plugin allows to customers of a PrestaShop™ e-commerce to access to a Joomla! site without a new registration.
Joomla! is an excellent cms, but is not comparable to PrestaShop in the pure e-commerce use; here a smart authentication bridge between the two worlds.
A plugin for PrestaShop and Joomla integration
This plugin allows to use an existent PrestaShop e-commerce to authenticate its users on a Joomla installation.
It works exactly like the Joomla! Gmail Autentication plugin, and integrates PrestaShop with Joomla!.
This extension is also published on http://extensions.joomla.org, if you like, it vote it or write a review, thank you.
- PrestaShop 1.5 and 1.6 and Joomla Integration
- plugin works on J2.5 and J3.x sites;
- no need of double registration;
- allows you to use PrestaShop for the e-commerce and Joomla! for the CMS;
Access the back end of your PrestaShop ecommerce, choose the "Webservice" item under the "Advanced Parameters" menu and then select "Yes" for the "Enable PrestaShop's webservice".
Now you need to create a new key for connectint to the server; see: http://doc.prestashop.com/display/PS15/Webservice+one-page+documentation for detailed instructions.
Please create a web service with the minimal privileges: you have to enable only the GET method for the customers resource
Last step recover the cookie key for password encryption. Open he file configuration/settings.inc.php in the Prestashop installation, locate the line with:
Copy the VeRy_lOnG_ANd_StrAnGE_StRInG in the Prestashop cookie key parameter of the plugin configuration
This plugin doesn't support direct Db access. It's too dangerous to keep both the encryption key and the db credentials together. If someones hacks your Joomla! installation can also register himself as a prestashop's administrator. If you use the web service there is no way to hack PrestaShop from here.
Joomla Plugin Configuration
Simply download the plugin, install it and activate it:
- URL of shop:
Url of the PrestaShop installation, with the protocol and without the trailing slash. Like in: http://www.mypsshop.com
- WS Authorization Key:
Authorization Key needed to access the PrestaShop web services
- Prestashop cookie key:
The _COOKIE_KEY_ value from the file configuration/settings.inc.php in the Prestashop installation
Note: Prestashop SEF URL must be enabled to use web services.
Download J2.5 and J3.x version for PrestaShop 1.5 & 1.6
Note: PrestaShop 1.6 is supported till version 184.108.40.206 only, because PrestaShop's team did not release the new web service library.