Jump to content

make 5 stars the default of productcomments module included with 1.7.8.0


Recommended Posts

for the productcomments module that is now built in to 1.7.8 , I want know how to make the default star selection 5 - until the reviewer changes it. I modified line 78 in productcomments/views/templates/hook/post-comment-modal.tpl and cleared the backend cache and had browser in incognito mode and spammed ctrl+F5 before opening the modal.. and the stars do show as 5 instead of 3 on the first open of the modal, but if the visitor closes the modal prior to submission and then reopens the modal, the stars revert back to 3, and on subsequent reopenings of the modal it is 3. Apparently I need a better solution.

I changed 

data-grade="3"

to 

data-grade="5"

 

Link to comment
Share on other sites

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...