Jump to content

remove stars from product comments


kakalxlax

Recommended Posts

Good morning

 

Why not make the default three stars to a default 5 stars

 

Go to product comments .tpl and move checked to value 5

 

  1. <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" />

 

Paul

Edited by Paulito (see edit history)
Link to comment
Share on other sites

Hello

I did not suggest deleting anything, only to change the Default 3 Stars to Default 5 Stars.

 

If you think that 5 Stars look false then you could argue that 3 Stars look false

 

Anyway, only trying to help

 

Paul

Link to comment
Share on other sites

Hello again

 

Why not go to:

 

public_html/Your Shop/themes/default/modules/productcomments/productcomments.tpl

 

And comment out  {*Comment Out*} around line 117

 

 

 

{*{if $criterions|@count > 0}
<ul id="criterions_list">
{foreach from=$criterions item='criterion'}
<li>
<label>{$criterion.name|escape:'html':'UTF-8'}:</label>
<div class="star_content">
<input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="1" />
<input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="2" />
<input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" />
<input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="4" />
<input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="5" />
</div>
<div class="clearfix"></div>
</li>
{/foreach}
</ul>
{/if}*}
 
Before
 
 
After
 
Paul
Link to comment
Share on other sites

thanks, it removed the stars from the rating section, but after the post is made, it shows the stars (giving 0 stars)

 

edit: i commented out the next selection as well from themes/"your theme"/modules/productcomments and that removed the stars :

 

<span>{l s='Grade' mod='productcomments'}&nbsp</span>
                    <div class="star_content clearfix">
                    {section name="i" start=0 loop=5 step=1}
                        {if $comment.grade le $smarty.section.i.index}
                            <div class="star"></div>
                        {else}
                            <div class="star star_on"></div>
                        {/if}
                    {/section}
                    </div>

 

thank you for your help

Edited by kakalxlax (see edit history)
Link to comment
Share on other sites

  • 8 months later...

Hi,

 

I followed your guide to changing the default to 5 stars but it did not change anything in my store.

 

I think it is because I added 3 lines of product rating to my products and not just one. How do I change all 3 of them to 5 stars as default?

 

the store is removecravos.com.br

 

I would really appreciate the help.

 

Thank you,

Link to comment
Share on other sites

Hi,

 

I followed your guide to changing the default to 5 stars but it did not change anything in my store.

 

I think it is because I added 3 lines of product rating to my products and not just one. How do I change all 3 of them to 5 stars as default?

 

the store is removecravos.com.br

 

I would really appreciate the help.

 

Thank you,

Hi, sorry for quoting my own post.

Anyone?

 

 

Happy new year!

Edited by Removecravos (see edit history)
Link to comment
Share on other sites

Good morning

 

Why not make the default three stars to a default 5 stars

 

Go to product comments .tpl and move checked to value 5

 

  1. <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" />

 

Paul

 

Hi! I have tried this, but it still with 3 stars as default.

There is anything else to change?

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...