Jump to content
vekia

[free module] Product reviews (comments) for PrestaShop 1.7

Recommended Posts

Hey Vekia- as always you are the giver on this forum. Will this work with the prior version 1.6 as product comments module does not get rich snippets review on google, will this help?

 

Share this post


Link to post
Share on other sites

Thanks for the module, but it is not showing up once I installed it, intstead is dissapearing my footer... When I enter on a product page there is only the description and thats it.

Share this post


Link to post
Share on other sites

Thanks for the module, but it is not showing up once I installed it, intstead is dissapearing my footer... When I enter on a product page there is only the description and thats it.

 

module is not related in any part to footer section.

what version of ps you use? (exact version)

Share this post


Link to post
Share on other sites

module is not related in any part to footer section.

what version of ps you use? (exact version)

Thanks for the answer, Im really interested in this module. Well when I installed my product page is shortened and not showting the footer and Related Products.

I have Prestashop 1.7.0.4, here are some captures. 

 

I also have a HTML box module enabled for the header bar. 

 

 

(FIXED BY UPDATING PRESTASHOP to 1.7.1)

Edited by Guisp (see edit history)

Share this post


Link to post
Share on other sites

in this case - it is  requiree to  inspect the page when the module is enabled,

will it be possible ?

Share this post


Link to post
Share on other sites

in this case - it is  requiree to  inspect the page when the module is enabled,

will it be possible ?

Well I fixed the problem by Upgrading prestashop to 1.7.1!! Thanks this module is amazing! Great Work I reccommend it 100%

Share this post


Link to post
Share on other sites

Hey Guisp, 

you upgraded your shop by clicking this download now in dashboard?

 

I have the same problem with Vekia module and maybe upgrade of presta will help

 

On a Product Cart i have only a information to refresh and becouse of that i cannot click setting of the product - I need to disable this module to provide normal functionality.

 

 

Link to shop: Ebookoo.pl

Edited by Sedzik (see edit history)

Share this post


Link to post
Share on other sites

 

On a Product Cart i have only a information to refresh and becouse of that i cannot click setting of the product - I need to disable this module to provide normal functionality.

 

 

"Product cart" ?

what is the feature "product cart" ? 

where you've got information about "refresh" exactly?

Share this post


Link to post
Share on other sites

Hi, I tried to install on 1.7.1 but I get the following error.

 

ContextErrorException inb78abfa2e9907a20a11b1a4359364693d7e4fb50.file.productcomments.tpl.php line 183:Notice: Trying to get property of non-object
  1. in b78abfa2e9907a20a11b1a4359364693d7e4fb50.file.productcomments.tpl.php line 183
  2. at ErrorHandler->handleError('8', 'Trying to get property of non-object', '/public_html/app/cache/dev/smarty/compile/b7/8a/bf/b78abfa2e9907a20a11b1a4359364693d7e4fb50.file.productcomments.tpl.php', '183', array('_smarty_tpl' => object(Smarty_Dev_Template))) inb78abfa2e9907a20a11b1a4359364693d7e4fb50.file.productcomments.tpl.php line 183
  3. at content_5938162845cd37_07883434(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), nullnullnullfalsetruefalse) in SmartyDev.php line 60
  5. at Smarty_Dev_Template->fetch() in Module.php line 2241
  6. at ModuleCore->display('/public_html/modules/productcomments/productcomments.php', '/productcomments.tpl') inproductcomments.php line 919

 

Thanks

Share this post


Link to post
Share on other sites

i installed this module then i try to test it by clicking comments on the website. I got a pop up to for the review and rates but when i click nothings happen. Its stay on the pop up page and it was not send> What should i do?

Share this post


Link to post
Share on other sites

In listing page, above stars, module displays average rating, is it possible to display here reviews count?

 

what version of module you currently use?

i installed this module then i try to test it by clicking comments on the website. I got a pop up to for the review and rates but when i click nothings happen. Its stay on the pop up page and it was not send> What should i do?

 

 

share an url to page where i can test it :-)

Share this post


Link to post
Share on other sites

Here, just below the "Udostepnij" (share) FB or Twitter

 

but how it is related to the module ? im not sure, i dont see there anything related to productComments module from this topic

Share this post


Link to post
Share on other sites

Thanks for the module, no problems with intall on v1.17.1.

Can you tell me if google reads these ratings as part of it's review ranking?

Would it show 4 stars under the product in its search results?

thanks

Breda

Share this post


Link to post
Share on other sites

Hi, tanks for the module,

I have installed it on new installation of Prestashop (v1.17.2).

 

When I want to post a new comment, i've a 404 error on ajax request because smarty display « & » instead of « & » in productcomments.tpl :

var productcomments_controller_url = '{$productcomments_controller_url}';

website source code :

var productcomments_controller_url = 'http://localhost:8080/index.php?fc=module&module=productcomments&controller=default';

I can use « nofilter » for resolve my issue :

var productcomments_controller_url = '{$productcomments_controller_url nofilter}';

I'm beginner with Prestashop & Smarty, it's a good and secure solution ? :)

 

 

EDIT:

 

post-1209438-0-91427800-1497599593_thumb.png

 

I've another problem, when an user go to new line, « br » is displaying.

<p>{$comment.content|escape:'html':'UTF-8'|nl2br}</p>

Only « nofilter » works, in that case this is not secure.

Edited by XanatosAO (see edit history)

Share this post


Link to post
Share on other sites

First of all thanks for this addon!!

I have a little problem. On the product listing page the review doesn't fit well.

Please look at my site:

http://developer.motorhal.nl/4011-motorolie

 

When you look at the first product the stars and text are overlapping the product beneath.

What can I do to change this?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Product review stars are not displayed properly on product list.  See picture.

 

Review count is also wrong.  I only have 1 review, but it displays 5 reviews.

 

post-227028-0-38990300-1500009695_thumb.png

Edited by kelvinlym (see edit history)

Share this post


Link to post
Share on other sites

Hello, I have installed this module, now I can no longer see other modules. Server error 500. Please help me

 

Prestashop 1.7.1.1

Share this post


Link to post
Share on other sites

I have understand the error

NOW WORKS!
 
Error 500 is born when you try to translate into the desired language.
 
Can you solve this problem?

Share this post


Link to post
Share on other sites

 

I have understand the error

NOW WORKS!
 
Error 500 is born when you try to translate into the desired language.
 
Can you solve this problem?

 

 

this is not the module error but prestashop issue

Share this post


Link to post
Share on other sites

Product review stars are not displayed properly on product list.  See picture.

 

Review count is also wrong.  I only have 1 review, but it displays 5 reviews.

 

attachicon.gifproductcomments.PNG

 

design problem is related to prestashop's issue reported here: http://forge.prestashop.com/browse/BOOM-3371

the counter will be fixed in the next version.

Share this post


Link to post
Share on other sites

Hi Miłosz, 

 

I need a function that adds a comment to all the products, to break the ice of the empty field, so I think I can encourage others to comment, how can I do it ?? I use prestashop 1.6.

Thanks

Share this post


Link to post
Share on other sites

Thanks for this module. One question though:

My shop is in 3 different languages and I would like to have only the reviews in English (from the visitors of the English version) on the English version of the shop and the reviews in French on the French website. How can I do that?

Share this post


Link to post
Share on other sites

Hi i just installed this module, we are using Prestashop version 1.7.1,

but when i click on review it shows blur screen and when i click on something review page will disappear?

 

Please check it and let us know how we can fix this issue

Edited by tssaini987
link (see edit history)

Share this post


Link to post
Share on other sites

hi, something wrong with warehouse theme it's no have star. classic theme is working well

nostar.jpg

havestar.jpg

Share this post


Link to post
Share on other sites

for everyone on 1.7.0.x having the same problem as Sedzik, dissapereance of the footer

 

there is a typo in the code which causes the 500 error

 

go to your productcomments.php - line 910:

 

'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')),

 

change it to

 

'mediumSize' => Image::getSize(ImageType::getFormattedName('medium')),

 

 

Vekia are you planning on adding richsnippets functionality as in 1.6?

Edited by x2daz (see edit history)

Share this post


Link to post
Share on other sites

This module doesn't work cos customer can't review.
Here, I check my Prestashop 1.7.2.0 by Google Chrome inspect then I got an Error 404 below  <Same as XanatosAO>.   

 

it shows the console like this: 

POST http://localhost/prestashop/index.php?fc=module&module=productcomments&controller=default? action=add_comment&secure_key=1e7166f3369584acb610c355cf97509f&rand=1504090083932 404 (Not Found)       

send                @ core.js:3  

 ajax                @ core.js:3  

(anonymous)   @ productcomments.js:64  

dispatch           @ core.js:2  

g.handle          @ core.js:2

Please help ;(
 

Edited by phonpadith (see edit history)

Share this post


Link to post
Share on other sites

when you see exactly the error from console you pasted?

Share this post


Link to post
Share on other sites

Here, you can check the error 404 by this picture below: 

Productcomments.jpg
 

When I push a send button then nothing happens.
that means I can't post anything for product comments. right?

Please Help!!  
  
 

Share this post


Link to post
Share on other sites

Hi there, I recently started using PrestaShop whit this review module. However, as my webshop is in Danish, I would like to translate "Reviews" in the tabs bar, is that possible?

Share this post


Link to post
Share on other sites

Thank you for your fantastic module.

I have a display problem. See please image or view my site: www.dietabarf.shop

thank you

post-1358379-0-12593600-1504776395_thumb.jpg

Share this post


Link to post
Share on other sites

Hi there, I recently started using PrestaShop whit this review module. However, as my webshop is in Danish, I would like to translate "Reviews" in the tabs bar, is that possible?

 

hello

you can use default translation tool that is avaialble in prestashop,

there you can translate any module you want - also this free product reviews addon.

 

r9CesWB.png

Share this post


Link to post
Share on other sites

Here, you can check the error 404 by this picture below: 

 

Productcomments.jpg

 

When I push a send button then nothing happens.

that means I can't post anything for product comments. right?

 

Please Help!!  

  

 

 

This requires inspection directly in shop where you've got the problem, it does not look like module issue but some environment problems.

Share this post


Link to post
Share on other sites

Thank you for your fantastic module.

I have a display problem. See please image or view my site: www.dietabarf.shop

thank you

 

image you shared is not related in any part to "product reviews" module, or i'm blind ;-) please point the problem with this free "product reviews" addon.

Share this post


Link to post
Share on other sites

Here, you can check the error 404 by this picture below: 

 

Productcomments.jpg

 

When I push a send button then nothing happens.

that means I can't post anything for product comments. right?

 

Please Help!!  

  

 

i got the same problem and i see in the backoffice i can't put the update on, if i put on and click save. The page reload whit off update. i got 2 site whit this problem

1 virgin prestashop is here http://artemodern.altervista.org/i/index.php

Share this post


Link to post
Share on other sites

I need exactly same feature that antolungo. If you can help for that^^. How to add your module on an extra tab (horizontally in my case)

 

post-1445420-0-80770200-1506712325_thumb.png

Edited by tpardo13 (see edit history)

Share this post


Link to post
Share on other sites

Milos, once again thank you for all your contributions!

 

I really need :D a important function. Please add a 'template' cav to download we can use in Excel that this module can than reimport.

 

I tried to fiddle arround with Excel and Sublime Codeeditor to get thinks right but failed. I am trying to migrate from Yotpo to ProductCommentsModule exclusively.

 

Can I expect this or is to much developer time needed?

Share this post


Link to post
Share on other sites

Sadly now im having issues with sending button, for some reasonwhen clicking send it doesnt send it. The website link http://geboorte-kaart.nl/index.php?id_product=17&id_product_attribute=0&controller=product

Let me know if you guys know any fix. 

 

 

Related to module? 

https://gyazo.com/4c838c1d67daa425239153653862e47d

Edited by 13thjoker (see edit history)

Share this post


Link to post
Share on other sites

@vekia I noticed a bug while testing this module in default "classic" theme on PS 1.7.2.3.

Reviews can't be submitted (and validated) when we have multiple languages in our shop and friendly URL turned is OFF.

With friendly URL turned ON, it works perfect.

Edited by roo10 (see edit history)

Share this post


Link to post
Share on other sites

Excellent work here!! Works perfect!!

Will you add a pagination?? Right now is showing like 50 comments in a row for some products.

Share this post


Link to post
Share on other sites

Overall, works perfectly (PS 1.7.2.2, Plugin version 9.1.4). Version 9.1.2 doesn't work on PS 1.7.2.2 (it doesn't appear at all).

 

I do have some recommendations.

Is it possible to add a numeric representation of the star ratings? Any of these will do:

  • 4/5
  • 4 out of 5
  • 4

Having the average rating of a product would also be really cool. Samples:

  • 4.27/5
  • 4.27 out of 5
  • 4.27
  • Average Rating: 4.27

 

Showing the number of reviews is also nice. (e.g. 29 reviews)

 

Here's the best example page I found. Check out the review section.

http://www.lazada.com.ph/logitech-g402-hyperion-fury-fps-gaming-mouse-with-high-speed-fusionengine-18279469.html

Under "Average Product Rating"

This has something to do with SEO and stuff.

 

Edited by pandalion98 (see edit history)

Share this post


Link to post
Share on other sites

added bug fix related to recently added improvement.

if you have some javascript errors related to product comments module on pages other than product pages - update 9.1.6 will fix them.

Share this post


Link to post
Share on other sites

Very nice module, thanks for all your hard work.  There is a bug  I have the module set to "Show reviews counter and stars on list of products."  It seems that it is not formatted correctly. See pic.   The five stars are not associated with the product,  I would think that the stars should be well placed in the product box somewhere. Plus there is a problem that I cannot show here because the lower product is in the way, it says "5 reviews" under the stars.   There is only one review with 5 stars.  Using the standard "classic" theme.

 

There is also a quick review that pops up under the bike when you mouse over it.

 

I would make them smaller and  place them over the bike description.  Thanks

formatting.jpg

formatting2.jpg

Edited by need2011 (see edit history)

Share this post


Link to post
Share on other sites

new version is ready

- added full spanish translation

- added automatic updates checker system

Share this post


Link to post
Share on other sites
On 11/8/2017 at 6:05 AM, need2011 said:

Very nice module, thanks for all your hard work.  There is a bug  I have the module set to "Show reviews counter and stars on list of products."  It seems that it is not formatted correctly. See pic.   The five stars are not associated with the product,  I would think that the stars should be well placed in the product box somewhere. Plus there is a problem that I cannot show here because the lower product is in the way, it says "5 reviews" under the stars.   There is only one review with 5 stars.  Using the standard "classic" theme.

 

There is also a quick review that pops up under the bike when you mouse over it.

 

I would make them smaller and  place them over the bike description.  Thanks

formatting.jpg

formatting2.jpg

 

 

this is theme issue (classic theme is a crap) - prestashop should fix it but they dont want to.

Share this post


Link to post
Share on other sites

released new version of the module:

- added fixes to french tranlation pack

- added italian translation pack (thanks to miafliglia)

Share this post


Link to post
Share on other sites

Doesn't work for me. 1.7.2.4 Classic theme. After pressing send popup just stays there eben though the review is submitted. Also Trying to review one product the review was for another

Share this post


Link to post
Share on other sites

Hi Vekia!

Thanks a lot for all your contributions on this forum and thanks a lot for this module.

I've tried to move product commets in product page from displayFooterProduct hook to displayProductExtraContent hook but it gives me an error in core.js line 1571 and product attributes selector stops working.

By other side, I'm trying to implement schema but im stuck counting number of reviews. Im getting it with this js in my custom.js file:

var numOfReviews = $('.comment').length
$(".reviewCount").text(numOfReviews);

It works in Front Office but it doesn't work for google and i would love to do it like you do with {l s='%s'|sprintf:$averageTotal mod='productcomments'}

Any idea?

:)

 

Share this post


Link to post
Share on other sites

Hi there, I was wondering if with this addon is possible to have a reviews block on the homepage, immediatelly above the footer? I am on Prestashop 1.7.2, with the Classic theme...

Thank you!

Ana

Share this post


Link to post
Share on other sites
On 22/11/2017 at 5:41 PM, sct said:

Doesn't work for me. 1.7.2.4 Classic theme. After pressing send popup just stays there eben though the review is submitted. Also Trying to review one product the review was for another

Found the problem. It was the usual "wrong folder and file permissions" on Prestashop. Changed everything to 755/644 and now it's working

Share this post


Link to post
Share on other sites

Hi Vekia. Your module is nice and very helpful but I think it misses one feature:
at the moment guest user can leave his review just by using his name. The problem is that some users just write some questions about the product and I have no way to contact them afterwards. I think it would be very helpful if module can save name and email address of the reviewer.

Share this post


Link to post
Share on other sites
On 28.11.2017 at 9:00 AM, Alvaro said:

I've tried to move product commets in product page from displayFooterProduct hook to displayProductExtraContent hook but it gives me an error in core.js line 1571 and product attributes selector stops working.

 

 

Do you solved problem? with 'displayProductExtaContent' and error with attribute? 

I have the same problem :(

blad.thumb.jpg.500d684521c7ce82cc396bfdabd75a83.jpg

 

I try fix it but i cant :( please help 

 

 

Share this post


Link to post
Share on other sites

Thanks Vekia for your work on this module.

I have te same suggestions as some others:

The review, when a person giving on the product, come up with the stars that hey was given to the product and not as a the amount of reviews for that product. (I have 1 person, placed 1 review, see the picture below.

In the Dashboard, there come no appointment for the reviews.

And last but not least, the layout on the Classic Theme are to big to match nicely.

Best Regards,

Roger

 

 

Product review Dashboard.png

Reviews on the Front.png

Share this post


Link to post
Share on other sites

Hey Vekia, I noticed a bug while testing this module (v9.1.8) in default "classic" theme on PS 1.7.2.4.

When this module is hooked in "displayProductExtraContent" hook, then the product's image or price (if set different for each combination) don't update on changing any combination and also its URL remains same. Check attached screenshot.

Untitled-1.jpg

Share this post


Link to post
Share on other sites
On 1/9/2018 at 1:43 PM, Generaal said:

Thanks Vekia for your work on this module.

dashboard, there come no appointment for the reviews.

Product review Dashboard.png

Reviews on the Front.png

there are no comments added during date: https://i.imgur.com/J1X0yeh.png

Quote

And last but not least, the layout on the Classic Theme are to big to match nicely.

even if i will change these stars to small stars, the design will be crashed too because it is an issue of poor classic theme construction 

 

Share this post


Link to post
Share on other sites
On 12/10/2017 at 3:55 PM, reanimated said:

Hi Vekia. Your module is nice and very helpful but I think it misses one feature:
at the moment guest user can leave his review just by using his name. The problem is that some users just write some questions about the product and I have no way to contact them afterwards. I think it would be very helpful if module can save name and email address of the reviewer.

 

Hey, it is an reviews module, not a "q&a (query and answers) module :)

the module has an option to turn off possibility to add a review by unlogged users. If you will enable this option - each review will have an email

Share this post


Link to post
Share on other sites

Thanks Vekia,

Stupid me! About the data settings!

I'm in test modus with V 1.7.2.4 and have not all under control on the moment..

Can I disable the reviews view on the products and keep them only in the product description tab in FO?

I think to do from to disconnecting some hook.

Best Regards and keep up the good work!

Roger5a5a1e4e4121c_Removethereviewsonproducts.png.4fd986fabe7fd6f3f61bb2bc4fa6ad4a.png5a5a1e981ccbb_ProducttabReviews.thumb.png.5bab0e05e00504107bded76c5ab2193a.png

 

Share this post


Link to post
Share on other sites
2 hours ago, Generaal said:

Thanks Vekia,

Stupid me! About the data settings!

I'm in test modus with V 1.7.2.4 and have not all under control on the moment..

Can I disable the reviews view on the products and keep them only in the product description tab in FO?

I think to do from to disconnecting some hook.

Best Regards and keep up the good work!

Roger5a5a1e4e4121c_Removethereviewsonproducts.png.4fd986fabe7fd6f3f61bb2bc4fa6ad4a.png5a5a1e981ccbb_ProducttabReviews.thumb.png.5bab0e05e00504107bded76c5ab2193a.png

 

I have fixed this problem go to this post and watch the entire video and it will tell you where to adjust the size of the box bigger to fit your problem.

https://www.prestashop.com/forums/topic/634959-cant-find-the-code/?tab=comments#comment-2631809

 

The quick view will disappear but you can fix that too.  It is not in the video look on the line before where you make the box larger and the size is in "rem"  make it bigger too.

Edited by need2011 (see edit history)

Share this post


Link to post
Share on other sites

The only problem is that the module does not count the correct amount of reviews.  I have one review and it says 5 reviews on the product main page.  I was hoping that this could get corrected.

 

Thanks for the mod.

Share this post


Link to post
Share on other sites

Thank need2011,

for you advice, I go on the move!

I think that Vekia the other problem will solved!

Best Regards,

Roger

Share this post


Link to post
Share on other sites
18 hours ago, need2011 said:

The only problem is that the module does not count the correct amount of reviews.  I have one review and it says 5 reviews on the product main page.  I was hoping that this could get corrected.

 

Thanks for the mod.

 

I think module shows not the number of the reviews but the average overall score.

I have found one problem. If the smarty cache is turned on and I go to the product which has variations, with this module ajax isnt working and product description isnt refreshing. If I comment the module hook everything starts working. Same if I turn off the smarty cache. I dont think I can leave cache as turned off in production site because it will make my site slower than it should be.

Share this post


Link to post
Share on other sites


i released v9.1.9 of productcomments module
- added fixes to position displayProductExtraContent
- comments widget on list of products shows numer of ratings instead of average grade

Share this post


Link to post
Share on other sites

The issue which I reported with "displayProductExtraConent" is solved after updating the module.

Really appreciate your work, Vekia.

Share this post


Link to post
Share on other sites

Just downloaded and installed the new update and I am NOT getting the review tab on the product page?   Am I missing something?

- added fixes to position displayProductExtraContent

reviews_extracontent.jpg

Edited by need2011 (see edit history)

Share this post


Link to post
Share on other sites
On 1/20/2018 at 10:37 PM, templatin said:

@need2011 Transplant this Product Comments module in "displayProductExtraContent" hook from Back-office > Design > Positions.

Thanks that was what I needed.

Share this post


Link to post
Share on other sites

Hello,

Thank you for your module.

Can not we put the number of voters in place of the star number?

5 Reviews

thank you in advance

Share this post


Link to post
Share on other sites

May I please reiterate the minor bug reported by @XanatosAO that deals with not escaping the <br /> line breaks properly?  I don't mind making the local fix, but I'd hate to have to fix it every time you update the module.

Share this post


Link to post
Share on other sites