kakalxlax Posted March 31, 2014 Share Posted March 31, 2014 (edited) Hi, i would like to know how to get rid of the "product comments" stars those comments becuase people ignore that and leave it at the default set (3 stars) prestashop 1.5.4.1 thanks in advance Edited March 31, 2014 by kakalxlax (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted March 31, 2014 Share Posted March 31, 2014 (edited) 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 <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" /> Paul Edited March 31, 2014 by Paulito (see edit history) Link to comment Share on other sites More sharing options...
kakalxlax Posted April 1, 2014 Author Share Posted April 1, 2014 thanks for the response. i thought about doing that, but i think it would look rather fake. so i decided to use the module as an Q&A. tried deleting that selection you mentioned, but that makes the page inaccessible 1 Link to comment Share on other sites More sharing options...
Paulito Posted April 1, 2014 Share Posted April 1, 2014 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 More sharing options...
kakalxlax Posted April 1, 2014 Author Share Posted April 1, 2014 i appreciate the help i tried deleting the code before looking for help, is there any way to make the stars not to show ? Link to comment Share on other sites More sharing options...
Paulito Posted April 1, 2014 Share Posted April 1, 2014 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 http://screencast.com/t/OaNojJxyOsyK After http://screencast.com/t/9ohx17OO Paul Link to comment Share on other sites More sharing options...
kakalxlax Posted April 1, 2014 Author Share Posted April 1, 2014 (edited) 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'} </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 April 1, 2014 by kakalxlax (see edit history) Link to comment Share on other sites More sharing options...
Removecravos Posted December 29, 2014 Share Posted December 29, 2014 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 More sharing options...
Removecravos Posted January 1, 2015 Share Posted January 1, 2015 (edited) 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 January 1, 2015 by Removecravos (see edit history) Link to comment Share on other sites More sharing options...
fcordeiro Posted January 8, 2015 Share Posted January 8, 2015 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 <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 More sharing options...
Removecravos Posted January 8, 2015 Share Posted January 8, 2015 fcordeiro, I also tried that and it didn't work. In my case I think it is because I have 3 sets for 5 stars to be rated. I think if there was only 1 it would've worked. Link to comment Share on other sites More sharing options...
fcordeiro Posted January 8, 2015 Share Posted January 8, 2015 fcordeiro, I also tried that and it didn't work. In my case I think it is because I have 3 sets for 5 stars to be rated. I think if there was only 1 it would've worked. I have only one, and still the same. Link to comment Share on other sites More sharing options...
Derres Posted April 9, 2016 Share Posted April 9, 2016 And for remove the simbol with the - i dont' want the red simbol at left of the stars. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now