This plugin integrates SobiPro directory component with J2Store, thus adding ecommerce capability to Sobipro.
- PHP 5.2 or higher
- Joomla 3.x
- J2Store 3 or above
- J2storesobiprounzip(Extract this package to get installation packages)Application J2Store SobiPro(applicationj2storesobipro)System Plugin J2Store SobiPro (plgsystemspj2store)
Note:When you download the Sobipro Plugin,you will have the package named “j2storesobiprounzip”, if you unzip the package you will find two zipped package .These two package are most important and need to be installed and t be enabled.
Installing System Plugin
- Use the Joomla Extension manager to install the plugin the system plugin “plgsystemspj2store”.
- Enable the the plugin.To enable the Plugin Go to Menu -> Extension Manager->Plugin Manager-> select tje system spj2store plugin and enable it.
Installing J2Store Application
In the backend, go to Components -> SobiPro -> Application Manager -> Here you can find an input for installing application “Select Application” Browse to the path “applicationj2storesobipro” file located and select the package for installation.
After successful installation, you can now see the list displaying the j2store application.
Now choose the section in which you want to enable j2store application. Enabling Application in the section
- Click on the Application Sections Tab -> Applications, you can see the list of applications. Enable the J2Store Application.
- Now J2Store application is ready.
- You can start adding new entries and also treat them as J2Store product by enabling “Treat as product” from the J2Store Tab.
Fill the required fields and click “Save and exit”. After saving the entry you can see the J2Store Tab having “Treat as product” Controls.
Now set “Treat as Product” to ‘Yes’ and choose the type of the product and click “Save”. If you do not see the page loading the J2Store product editing area, then click “Save and Exit” once.
Now open the Entry. You can see the J2Store Tab having all the fields. Now your product is ready and you can enter the details about the product.
Save the changes .
Displaying Front end
- Go to Menus -> Main Menu -> Add New Menu Item and add a menu item. Choose SobiPro Section or Category -> Choose functionality and set other menu parameters, then save.
- Go to your Front end and click on the menu item you have created. You’ll see a category page like this, depending on what choices you have made and what template you are using. Go to the category and click on the entries detail view. You can see the J2Store Cart.
Controlling Add to Cart placement in entry view
You can move the J2Store cart block anywhere in the SobiPro entry (Thanks to Radek for the awesome help. He implemented it in fact)
Step 1: Go to Joomla Administrator -> J2Store -> Set up -> Configuration -> Cart settings tabSet Add to cart placement to Within Article using tagSave and close it.
Step 2: Now go to Sobipro Backend -> Your section -> Section Templates -> Entry -> details.xsl
This will open the xsl file.
There you can add the following XSL snippet