Quantcast
Channel: Blog - JLexart - Joomla! Extensions - JLexart - Joomla! Extensions
Viewing all articles
Browse latest Browse all 47

How to integrate JLex Review with Hikashop

$
0
0
How to integrate JLex Review with Hikashop

As you known, the Hikashop don't allow embed Joomla! module, it not good to display a custom code through plugin also. I tried many times and there is best way to display review form for each Hikahop product.

1. Show review content for each product

Please do following bellow steps:

  1. Install Flexi Custom Code module (Get it here). This module help to insert PHP code
      Notice:
    Unzip first and install exactly Joomla! version.
  2. Go to Module manager > New > Select: Flexi Custom Code
  3. Copy code bellow and paste to "Insert Code" field:
    <php
    $app = JFactory::getApplication ();
    if( $app->input->getCmd('option')=='com_hikashop' &&
    	$app->input->getCmd('ctrl')=='product' &&
    	$app->input->getCmd('task')=='show' )
    {
    	$id = $app->input->getInt ("cid",0);
    	if ($id>0)
    	{
    		echo JLexReviewLoad::init ( "", 'hikashop', $id);
    	}
    }
    
  4. In Menu Assignment set Module Assignment is On all page
  5. Select Module position where you would like place this module. Then mark Public status and save it.

2. Show average rating (Mini-star icon) to product and listing product

This step is easier :). Get plugin at here and go to Extension > Installation > Install. Then, go to Plugin manager and enable "Hikashop - JLex Review"

If you have difficult, please contact us through Forum or Ticket system.


Viewing all articles
Browse latest Browse all 47

Trending Articles