Introduction

This plugin integrates SobiPro directory component with J2Store, thus adding ecommerce capability to Sobipro.

Requirements

  • PHP 5.2 or higher
  • Joomla 3.x
  • J2Store 3 or above
  • Sobipro
  • J2store_sobipro_unzip(Extract this package to get installation packages)Application J2Store SobiPro(application_j2store_sobipro)System Plugin J2Store SobiPro (plg_system_spj2store)

Installation Instructions

Note:When you download the Sobipro Plugin,you will have the package named "j2store_sobipro_unzip", 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

  1. Use the Joomla Extension manager to install the plugin the system plugin "plg_system_spj2store".
  2. 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 "application_j2store_sobipro" 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

  1. 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.
  2. 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

<xsl:copy-of select="j2store"/>

Did this answer your question?