AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: junkyard on October 16, 2013, 02:46:57 AM

Title: Hiding 'Write review'
Post by: junkyard on October 16, 2013, 02:46:57 AM
Dear Abantecart,

Is there some setting to hide the 'Write review' part (to the right of the 'View') in a small pop-up that shows up when your hovering mouse cursor over a product in store?   In our store we are not planning to offer the Reviewing thing at all..
It's great to still have the "View" part showing up (as not every person may know she can see details on product by clicking on it) but if we have to disable the pop-up completely, we will do that  if that's how it works.

Thank you for the great web store application!
Title: Re: Hiding 'Write review'
Post by: abantecart on October 16, 2013, 08:51:44 AM
There was a small oversight for the case when you have reviews disabled in settings.

Please see the fix in the log below:
https://github.com/abantecart/abantecart-src/commit/f5ca95a7b72c7ae490e0deb9e6d2d3cf0c3eb1de
This will be added to v1.1.8

You can copy files to your location.
Title: Re: Hiding 'Write review'
Post by: junkyard on October 17, 2013, 03:00:30 AM
You rock!  We have copied the raw product_listing.tpl file from the
   raw.github.com/abantecart/abantecart-src/f5ca95a7b72c7ae490e0deb9e6d2d3cf0c3eb1de/public_html/storefront/view/default_html5/template/pages/product/product_listing.tpl
  over to  public_html/storefront/view/default_html5/template/pages/product/product_listing.tpl
and the 'Write review' got hidden! Thanks heaps!
Title: Re: Hiding 'Write review'
Post by: Phanouman on December 16, 2013, 07:25:31 AM
Thank you very much for the product_listing.tpl !

But I still have "write a review" in the homepage for each products in bestsellers, featured products, recent products, and specials.

What I need to change to hide also the "write a review" also in the homepage ?

Thank you for your help !

Title: Re: Hiding 'Write review'
Post by: junkyard on December 16, 2013, 07:35:22 AM
For bestsellers, featured products, recent products, and specials, if you really use it all, you need to download and copy also the corresponding files from the fix:
 https://github.com/abantecart/abantecart-src/commit/f5ca95a7b72c7ae490e0deb9e6d2d3cf0c3eb1de
Or wait till upgrade to the next (v1.1.8 ) version to be released soon
Title: Re: Hiding 'Write review'
Post by: Phanouman on December 16, 2013, 09:06:21 AM
Thank you very much for your answer.

I put latest.php and latest.tpl that you tell me in my website.

But I still see write a review in the homepage latest products ?

Thank you very much for your help.

Title: Re: Hiding 'Write review'
Post by: junkyard on December 16, 2013, 09:23:14 AM
System > Settings > General:   Allow Reviews = Off ?


Title: Re: Hiding 'Write review'
Post by: Phanouman on December 16, 2013, 09:25:32 AM
Yes  ;)
Title: Re: Hiding 'Write review'
Post by: junkyard on December 16, 2013, 09:37:22 AM
..and was it the
https://raw.github.com/abantecart/abantecart-src/f5ca95a7b72c7ae490e0deb9e6d2d3cf0c3eb1de/public_html/storefront/view/default_html5/template/blocks/latest.tpl
that you downloaded and copied over the
public_html/storefront/view/default_html5/template/blocks/latest.tpl
alright ?
Title: Re: Hiding 'Write review'
Post by: Phanouman on December 16, 2013, 09:48:51 AM
Yes allright !
Title: Re: Hiding 'Write review'
Post by: junkyard on December 16, 2013, 09:59:13 AM
oh well... out of ideas here.  you might try and clear out the block's caches (System > Cache) and also your browser's cache..  hope it helps