wish to remove product reviews in product description

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Nov 19, 2013 4:21 pm
Reply with quote
Report this post
hi, i dont want to have the above feature - in virtuemart for storebox template. pls advise how it can be removed or disabled

thanks
User avatar
Expert Boarder

GK User
Wed Nov 20, 2013 3:09 pm
Reply with quote
Report this post
This is not template but Virtuemart issue and you will find this option is shop configuration http://dev.virtuemart.net/projects/virtuemart/wiki/Shop_configuration

Enable Customer Review/Rating System => Test if you can vote / review a product. Try crossite scripting, try to vote or review even if disabled by knows link.
User avatar
Platinum Boarder

GK User
Tue Dec 24, 2013 6:45 am
Reply with quote
Report this post
bkrztuk wrote:This is not template but Virtuemart issue and you will find this option is shop configuration http://dev.virtuemart.net/projects/virtuemart/wiki/Shop_configuration

Enable Customer Review/Rating System => Test if you can vote / review a product. Try crossite scripting, try to vote or review even if disabled by knows link.


I have installed Shop & Buy, and chose 'use as catalog' in the virtuemart setup. In the vm configuration tab/shopfront/Shopper Review/Rating System/ I disabled the show/enable function for rating and reviews, but the line "Please log in to write a review" on the product details page. I can't see how to remove that statement. Can you help please? Thanks!
User avatar
Fresh Boarder

GK User
Sat Dec 28, 2013 12:34 pm
Reply with quote
Report this post
Could you check whether the same happen on default Joomla! template like Beez ?
User avatar
Platinum Boarder

GK User
Tue Dec 31, 2013 6:49 pm
Reply with quote
Report this post
bkrztuk wrote:Could you check whether the same happen on default Joomla! template like Beez ?


I'll let you know - I'm assuming that it's kosher to change the default template from gk_shop&buy to beez and back again with no repercussions, right? I haven't done something like that before, so just checking!
User avatar
Fresh Boarder

GK User
Thu Jan 02, 2014 12:07 pm
Reply with quote
Report this post
It is 100% secure :) don't worry your all modules will stay on the same place after this process.
User avatar
Platinum Boarder

GK User
Thu Oct 23, 2014 4:40 pm
Reply with quote
Report this post
elada wrote:
bkrztuk wrote:This is not template but Virtuemart issue and you will find this option is shop configuration http://dev.virtuemart.net/projects/virtuemart/wiki/Shop_configuration

Enable Customer Review/Rating System => Test if you can vote / review a product. Try crossite scripting, try to vote or review even if disabled by knows link.


I have installed Shop & Buy, and chose 'use as catalog' in the virtuemart setup. In the vm configuration tab/shopfront/Shopper Review/Rating System/ I disabled the show/enable function for rating and reviews, but the line "Please log in to write a review" on the product details page. I can't see how to remove that statement. Can you help please? Thanks!


Hi, it's bug from template, because in original virtuemart's template for product detail load subtemplate reviews without this mistake :)))))

You have to go:
templates/gk_storebox/html/com_virtuemart/productdetails/default.php

and edit this lines (etc. 883):
Code: Select all
   if($this->allowRating || $this->showReview) {
   ?>
            <input type="hidden" name="virtuemart_product_id" value="<?php echo $this->product->virtuemart_product_id; ?>" />
            <input type="hidden" name="option" value="com_virtuemart" />
            <input type="hidden" name="virtuemart_category_id" value="<?php echo JRequest::getInt('virtuemart_category_id'); ?>" />
            <input type="hidden" name="virtuemart_rating_review_id" value="0" />
            <input type="hidden" name="task" value="review" />
      </form>

<?php
   } else {
      echo JText::_('COM_VIRTUEMART_REVIEW_LOGIN'); // Login to write a review!
   }
   ?>


and change

Code: Select all
      echo JText::_('COM_VIRTUEMART_REVIEW_LOGIN'); // Login to write a review!


to

Code: Select all
//      echo JText::_('COM_VIRTUEMART_REVIEW_LOGIN'); // Login to write a review!


Ofcourse -> Either turn it off in Configuration / Shopfront / Shopper Review/Rating System

Rudolf
User avatar
Fresh Boarder

GK User
Thu Nov 20, 2014 11:57 am
Reply with quote
Report this post
Just figured out that easier is to go to Extensions...Language Manager...Overrides and find the string in there and override it.
User avatar
Junior Boarder