Prestashop: Issue with Product Comments module

Created on 23 Jul 2019  路  9Comments  路  Source: PrestaShop/PrestaShop

I have installed Product Comments module (v4.0.0) on fresh installation of PS 1.7.6.0.
The contents of product comments module are not displayed.
After enabling debug mode, it shows below error:
Class PrestaShop\Module\ProductComment\Repository\ProductCommentRepository does not exist.

1.7.6.0 BO Bug No change required Productcomments

Most helpful comment

@templatin, could you please try with this module
productcomments.zip
check & feedback.

Thanks!

All 9 comments

Hi @templatin,

I did not manage to reproduce the issue with PS1.7.6.0 & the product comments module v4.0.0.
I attached a screen record
https://drive.google.com/file/d/1BhvG0ZUftJzm746t3znOHfmVlClK8Pqi/view
Did you installed this module from the BO => Module Catalog page?

Thanks!

@khouloudbelguith Thanks for prompt reply.
Yes, I did in the same way as yours. I'm working on localhost (wamp) and tested it twice with fresh PS and got same issue each time.

@templatin, could you please try with this module
productcomments.zip
check & feedback.

Thanks!

It works with your zip!!
It has "vendor" folder which I didn't get in downloaded zip from github.

@templatin, it is normal behavior, if you cloned it from GitHub, you need to run composer install
I close the issue, feel free to open a new one when needed.

Thanks!

@khouloudbelguith I found another issue. The module displays reviews only on first instance of a product on homepage. Check screenshot.

To reproduce the issue, install Featured Products module and any other native module (New Products or Best sellers or Specials module) which will be hooked on home page.

Example: In Featured products module on homepage, reviews are displayed for product (Hummingbird shirt) which is fine. Now, if this same product is also available in New products module, then reviews are not displayed in it.

module

Hi @templatin, because you only an approved review for this product.
I attached a screen record
https://drive.google.com/file/d/1qQtNjKtLMSM2ZR00KMqTXix-ABUtAdeQ/view

Thanks!

@khouloudbelguith You didn't understand the issue.
The reviews are not displayed for a product if it appears multiple times in another module on same page.
As I can see in your recording, you already have Popular products module on homepage. Now install another native module (Example: Specials block (ps_specials)) and notice that reviews are not displayed for product "Hummingbird printed sweater".

git

@templatin; thanks for these clarifications
Issue created here: #14878

Thanks!

Was this page helpful?
0 / 5 - 0 ratings