Post by chris399@orange.fr » Fri Aug 11, 2017 2:18 pm

How to erase the stars of reviews in opencart 2.1.0.1, I looked on the forum, I found but it does not work, I have a personalized theme, I would like to remove them because it makes a lag when a Client leaves a comment and it's not terrible, i wanted to put facebook how but that deletes my site squarely, i hope to have an answer

New member

Posts

Joined
Fri May 13, 2016 9:15 pm

Post by IP_CAM » Sat Aug 12, 2017 1:12 am

in the OC (2.1.0.2!) DEFAULT Theme
default/template/product/product.tpl
I found this: (around Line 317 - 323)

Code: Select all

<?php for ($i = 1; $i <= 5; $i++) { ?>
<?php if ($rating < $i) { ?>
<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
<?php } else { ?>
<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
<?php } ?>
<?php } ?>
and you could try to change it, to look like this,
then, the Stars should be HIDDEN from beeing visible.

Code: Select all

<!--
<?php for ($i = 1; $i <= 5; $i++) { ?>
<?php if ($rating < $i) { ?>
<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
<?php } else { ?>
<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
<?php } ?>
<?php } ?>
-->
Untested ! Good Luck !
Ernie

Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by chris399@orange.fr » Sun Aug 13, 2017 5:26 pm

It's always the same, but thanks for the help

New member

Posts

Joined
Fri May 13, 2016 9:15 pm

Post by IP_CAM » Sun Aug 13, 2017 9:08 pm

did you reset your OcMod Cache Section and VqCache Section,
after the Changes have been made ?
Ernie

Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by chris399@orange.fr » Sun Aug 13, 2017 10:01 pm

yes but nothing change

New member

Posts

Joined
Fri May 13, 2016 9:15 pm

Post by DigitCart » Sun Aug 13, 2017 10:10 pm

Hi,
Do you want to remove the rating of the products or you want to delete the rating section (radio inputs) in the review form?

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by chris399@orange.fr » Sun Aug 13, 2017 10:35 pm

I want to remove the rating of the products and delete the rating section (radio inputs) in the review

New member

Posts

Joined
Fri May 13, 2016 9:15 pm
Who is online

Users browsing this forum: No registered users and 10 guests