- Posts: 392
- Thank you received: 0
JReviews - HikaShop Compatible?
15 years 4 months ago #15671
by Bugger101
JReviews - HikaShop Compatible? was created by Bugger101
G'day,
Does JReviews work with HikaShop?
I have downloaded the free trial, but can't figure out how to install the thing!
Anyone have it working with HS? Looks like an awesome component for reviews and social intehration etc.
www.reviewsforjoomla.com/jreviews
Cheers
Does JReviews work with HikaShop?
I have downloaded the free trial, but can't figure out how to install the thing!
Anyone have it working with HS? Looks like an awesome component for reviews and social intehration etc.
www.reviewsforjoomla.com/jreviews
Cheers
Please Log in or Create an account to join the conversation.
15 years 4 months ago #15674
by nicolas
Replied by nicolas on topic Re: JReviews - HikaShop Compatible?
There is no integration with HikaShop. Looking at the documentation, it doesn't seem difficult to add to your views:
docs.reviewsforjoomla.com/downloads/ever...ywhere_2.0_Guide.pdf
You need to have the everywhere addon installed. Then, in the file show of the view product that you can edit via the menu Display->Views, you can add the code below at the end of the file in order to display the jreviews stuff:
require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'index';
$JreParams = $this->element->product_id; //if you have variants, it's $this->element->main->product_id
$Dispatcher = new S2Dispatcher(’jreviews’,true);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];
For the listing of products, it's the code below that you would have to add in one of the file listing_* of the view product (the name of the layout file depends on your settings):
require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'category';
$JreParams = $row->product_id;
$Dispatcher = new S2Dispatcher(’jreviews’);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];
docs.reviewsforjoomla.com/downloads/ever...ywhere_2.0_Guide.pdf
You need to have the everywhere addon installed. Then, in the file show of the view product that you can edit via the menu Display->Views, you can add the code below at the end of the file in order to display the jreviews stuff:
require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'index';
$JreParams = $this->element->product_id; //if you have variants, it's $this->element->main->product_id
$Dispatcher = new S2Dispatcher(’jreviews’,true);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];
For the listing of products, it's the code below that you would have to add in one of the file listing_* of the view product (the name of the layout file depends on your settings):
require_once( 'components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php' );
$JreParams = 'com_hikashop';
$JreParams = '';
$JreParams = 'everywhere';
$JreParams = 'category';
$JreParams = $row->product_id;
$Dispatcher = new S2Dispatcher(’jreviews’);
$jreDetail = $Dispatcher->dispatch($JreParams);
echo $jreDetail[‘output’];
Please Log in or Create an account to join the conversation.
15 years 4 months ago #15675
by Bugger101
Replied by Bugger101 on topic Re: JReviews - HikaShop Compatible?
Sweet!
Thanks so much
You always go out of your way to help us all - very cool 
Cheers
Thanks so much
Cheers
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 152
- Thank you received: 0
15 years 2 months ago #21315
by plantpotphil
Create your own style of luxury bespoke furniture online
Replied by plantpotphil on topic Re: JReviews - HikaShop Compatible?
Has anyone managed to get this working?
Create your own style of luxury bespoke furniture online
Please Log in or Create an account to join the conversation.
15 years 2 months ago #21316
by Bugger101
Replied by Bugger101 on topic Re: JReviews - HikaShop Compatible?
Nope, it completely broke my site
Please Log in or Create an account to join the conversation.
15 years 2 months ago #21328
by nicolas
Replied by nicolas on topic Re: JReviews - HikaShop Compatible?
You should ask JReviews support about the problem then. Note that it won't work without everywhere addon of JReviews installed.
Please Log in or Create an account to join the conversation.
15 years 2 months ago #21379
by Bugger101
Replied by Bugger101 on topic Re: JReviews - HikaShop Compatible?
Oh it is all fixed now, but it did cause of lot of dramas, and no one could figure out why. A shame, but I'm quite happy with jcomments
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds