Jump to content

Product detail page show Rating star even this product not yet rated.


Recommended Posts

Hi all,

 

I have one issue when i install product category module (To display similar product in product detail page) to my store.

 

If i have two product in same category where one is rated by customer and it also approved from admin and another is not rated yet.

post-1290986-0-47855000-1470640390_thumb.png

When i go to rated product detail page, it will not display star rating there but i can see review in review list at bottom of page.

post-1290986-0-66009200-1470640389_thumb.png

And on other side when i go to product which is not rated yet it will show star rating which customer give to other product.

 

This scenario happened when i install product category module

 

can you please anyone help me to resolve this issue.

 

thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...
The product reviews and ratings functionality in PrestaShop is handled by 'Product Comments' module, there might be something wrong with the same.

 

In /modules/productcomments/productcomments.php the hookDisplayRightColumnProduct() function is responsible for showing the reviews at the bottom of product pages.
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...