DataKick 165 Posted February 6, 2018 (edited) Product Review Module - Revws - This free module allows your customer to create product reviews. Easily. The main goal of this module is to make both review authoring and moderation process as smooth as possible. I have worked very closely with real-world merchants to make sure this module offers just the right features that you guys need. TAKE A TEST DRIVE You can try this module on my demo account Front Office / Back Office SCREENSHOTS Revws at glance ` FEATURES What can this module do for you? review import - you can easily import your reviews productcomments or yotpo. Or use my datakick module to import from any other source compatible with with prestashop 1.6 and 1.7 versions both customer and guest reviews review moderation by administrator multiple review criteria theming options - you don’t have to use standard star symbol anymore google structured data / rich snippets support customers can edit / delete their reviews voting and report abuse buttons review suggestions based on recent purchase comprehensive settings - you can tweak almost anything and much more INTEGRATIONS Revws module can seamlessly cooperate with other modules. DataKick data import / export / modification module - using my paid module, you can easily list your reviews, export or even import them. You can schedule periodic backup of your review data. You can use it to prepare list of customers who has recently purchased some product and send them a review request Loyalty Points - Genzo Krona module* - revws module is integrated with this amazing loyalty points free module. You can then set up your own rewards strategy. Send Review Request module* - you can use this free module to ask your customer for reviews. Remember, if you don't ask for it, you don't get it * due to rules on this forum, I'm not allowed to link to these modules. Use goole BUGS AND FEATURE REQUESTS If you find any bug or issue, of if you would like to see some new functionality in the module, please file an issue on github. Otherwise I might forget about it Report problem / suggest enhancement DOWNLOAD You can download latest version of this free module here version for prestashop 1.7 version for prestashop 1.6 Edited June 12, 2019 by DataKick (see edit history) 9 7 Share this post Link to post Share on other sites
Eolia 3,109 Posted February 6, 2018 Oups... Prestashop 1.6.1.4 Share this post Link to post Share on other sites
DataKick 165 Posted February 6, 2018 4 minutes ago, Eolia said: Oups... Eolia, what PHP version do you use? Works fine on 5.5 ... 7.0 Share this post Link to post Share on other sites
Eolia 3,109 Posted February 6, 2018 php 5.6 It's a problem with namespaces Share this post Link to post Share on other sites
Eolia 3,109 Posted February 6, 2018 [Tue Feb 06 14:03:24.588412 2018] [proxy_fcgi:error] [pid 11268] [client 86.253.59.213:52362] AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected 'use' (T_USE) in /web/classes/module/Module.php(1361) : eval()'d code on line 37', referer: https://mysite.fr/admin/index.php?controller=AdminModules&token=66a2cbaba7fcf33c64a14a9fb539f04f Share this post Link to post Share on other sites
DataKick 165 Posted February 6, 2018 @Eolia that's strange. I've tested this successfully on php5.5 and php7.0 / ps1.6.014, ps1.6.1.7, ps1.6.1.17, tb1.0.3. No problem at all. And use is definitely a valid keyword in php 5.6. Let's see if anyone else has the same problem. Share this post Link to post Share on other sites
Eolia 3,109 Posted February 6, 2018 // If use config flag is at false or config.xml does not exist OR need instance OR need a new config.xml file if (!$use_config || !$xml_exist || (isset($xml_module->need_instance) && (int)$xml_module->need_instance == 1) || $need_new_config_file) { // If class does not exists, we include the file if (!class_exists($module, false)) { // Get content from php file $file_path = _PS_MODULE_DIR_.$module.'/'.$module.'.php'; $file = trim(file_get_contents(_PS_MODULE_DIR_.$module.'/'.$module.'.php')); if (substr($file, 0, 5) == '<?php') { $file = substr($file, 5); } if (substr($file, -2) == '?>') { $file = substr($file, 0, -2); } // If (false) is a trick to not load the class with "eval". // This way require_once will works correctly if (eval('if (false){ '.$file."\n".' }') !== false) { require_once(_PS_MODULE_DIR_.$module.'/'.$module.'.php'); } else { $errors[] = sprintf(Tools::displayError('%1$s (parse error in %2$s)'), $module, substr($file_path, strlen(_PS_ROOT_DIR_))); } } i don't use the $xml file because i refused all connections to Prestashop Addons^^ 1 Share this post Link to post Share on other sites
DataKick 165 Posted February 6, 2018 18 minutes ago, Eolia said: i don't use the $xml file because i refused all connections to Prestashop Addons^^ Do you mean you have manually removed config.xml file from module directory? Share this post Link to post Share on other sites
Eolia 3,109 Posted February 6, 2018 no the config_fr.xml not exists in the zip^^ Share this post Link to post Share on other sites
DataKick 165 Posted February 6, 2018 @Eolia Ahh, got it. Thanks for letting me know, fix will be in a minute. Share this post Link to post Share on other sites
DataKick 165 Posted February 6, 2018 (edited) new version that should fix bug reported by @Eolia has been release. You can download new version. Edited February 7, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted February 8, 2018 New version 1.0.2 has been released. You can now migrate review and criteria settings from native product comments module. Share this post Link to post Share on other sites
DataKick 165 Posted February 15, 2018 Another version 1.0.3 released, this one fixes couple of bugs Share this post Link to post Share on other sites
ps2k11 11 Posted February 17, 2018 only works for 14 days Share this post Link to post Share on other sites
DataKick 165 Posted February 17, 2018 (edited) 3 hours ago, ps2k11 said: only works for 14 days No, you are mistaken. This is free module, no expiration date whatsoever. I host this module on my website that is NOT dedicated to this free module. Any information you found on my website are related to my import/export module, which indeed has 14-day free trial period. Edited February 17, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
mr_absinthe 4 Posted February 23, 2018 (edited) Looks very nice, I like the amount of settings, unfortunately I'm unable to play with it as I about to start fresh new shop based on 1.7.3. Do you have any plans to make it 1.7. compatible please? Edited February 25, 2018 by mr_absinthe (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted February 26, 2018 On 23/02/2018 at 7:06 PM, mr_absinthe said: Looks very nice, I like the amount of settings, unfortunately I'm unable to play with it as I about to start fresh new shop based on 1.7.3. Do you have any plans to make it 1.7. compatible please? I plan to add 1.7 support late. But only after I implement all the features I want to see in this module, such as summary breakdown / overview, filtering on frontend, import and export,... If I added 1.7 support now it would slow my development considerably, as I would need to fix issues with both versions, test it under 2 versions, etc... Also, I'm not a big fan of 1.7 branch 1 Share this post Link to post Share on other sites
DataKick 165 Posted March 13, 2018 I’ve released new version 1.0.5 added support for krona module ability to choose where you want to render review average (product extra / product buttons / nowhere) render review placeholder in product block if no review exits - you can use this to align block height for product with and without reviews some refactoring to make module migration easier Share this post Link to post Share on other sites
DataKick 165 Posted March 21, 2018 I've released new version, which fixes issues with missing email templates Share this post Link to post Share on other sites
fortuner 21 Posted March 23, 2018 Great module, thank you very much! Is it possible to make a link, that leads to review form only? In example: You send an e-mail to customer asking him to write a review, he follows the link to the page, that has only review input without distracting data. Or (if it's possible) implement review form right in the e-mail. Share this post Link to post Share on other sites
DataKick 165 Posted March 26, 2018 I’ve just released new version 1.0.9 which includes couple of bugfixes, and 2 new features: Verified purchase review has new boolean field named verified_buyer. This will be set to true if customer really purchased product associated with review. This is determined at the time of review submission - there must exists already shipped order. This means that reviews submitted before product purchase will not be marked as verified. Administrator can check/uncheck this field from back-office. Verified purchases are highlighted in review list. Criteria breakdown If you use multiple review criteria, you can now show them on review list. You can choose on of the 3 ways to display criteria breakdown. Don’t show criteria breakdown at all – this is current behavior, only average ratings is shown Show criteria on top, in single line separated by divider Show criteria on right side Share this post Link to post Share on other sites
DataKick 165 Posted March 26, 2018 On 3/23/2018 at 7:24 PM, fortuner said: Is it possible to make a link, that leads to review form only? Yes, it's possible. You can use url in this format: http://www.your-domain.com/en/module/revws/MyReviews?review-product=111 Just replace 111 for product id you want your customer to create review for. 1 Share this post Link to post Share on other sites
DataKick 165 Posted March 26, 2018 1.7 compatible I've just ported this module to support prestashop 1.7. Please let me know if you find any issue or error. 1 Share this post Link to post Share on other sites
Philly.fuk 0 Posted March 26, 2018 10 hours ago, DataKick said: 1.7 compatible I've just ported this module to support prestashop 1.7. Please let me know if you find any issue or error. Hi, on the product list page I have huge black stars and the formatting on the product pages is wrong too. 1.7, classic theme untouched. Contact me if you want the URL. Share this post Link to post Share on other sites
DataKick 165 Posted March 26, 2018 46 minutes ago, Philly.fuk said: Hi, on the product list page I have huge black stars and the formatting on the product pages is wrong too. 1.7, classic theme untouched. Contact me if you want the URL. That sounds like css file was not loaded. Did you clear server / browser / cloudflare cache? If you have CCC enabled, try to turn in off and on again. If this doesn't help, please PM me your shop url, I'll have a look. Thanks for reporting this Share this post Link to post Share on other sites
nadie 6,467 Posted March 27, 2018 En 6/2/2018 a las 1:57 PM, DataKick dijo: Product Review Module - Revws - This free module allows your customer to create product reviews. Easily. The main goal of this module is to make both review authoring and moderation process as smooth as possible. I have worked very closely with real-world merchants to make sure this module offers just the right features that you guys need. TAKE A TEST DRIVE You can try this module on my demo account Front Office / Back Office SCREENSHOTS Revws at glance FEATURES compatible with with prestashop 1.6 and 1.7 versions both customer and guest reviews review moderation by administrator multiple review criteria theming options - you don’t have to use standard star symbol anymore google structured data / rich snippets support customers can edit / delete their reviews voting and report abuse buttons review suggestions based on recent purchase comprehensive settings - you can tweak almost anything and much more DOWNLOAD You can download latest version of this free module on my website. Download module I have made a review of the module in Spanish: https://victor-rodenas.com/2018/03/27/otro-modulo-de-resenas-y-valoraciones-de-productos-para-prestashop/ Sorry for my English Thank you for your collaboration with the Prestashop community 1 Share this post Link to post Share on other sites
DataKick 165 Posted March 27, 2018 thanks @nadie, I really appreciate your time and effort you put into this review. I'm sure it will help with user adoption in a big way. Share this post Link to post Share on other sites
sklepslubnylove 0 Posted March 27, 2018 Hey, Presta 1.6.1.17 same problems as above (before bug fix). On 6.02.2018 at 2:04 PM, Eolia said: Oups... Prestashop 1.6.1.4 Any ideas how to fix it? Share this post Link to post Share on other sites
DataKick 165 Posted March 27, 2018 19 minutes ago, sklepslubnylove said: Hey, Presta 1.6.1.17 same problems as above (before bug fix). Any ideas how to fix it? If you are using latest 1.0.9 version, this bug is fixed - I've just re-test it. It must be something else. Please check your error logs Share this post Link to post Share on other sites
sklepslubnylove 0 Posted March 27, 2018 Yes I'm using 1.0.9 and it's the same problem as above. Btw, I'm on Polish language if that matters Share this post Link to post Share on other sites
DataKick 165 Posted March 27, 2018 Just now, sklepslubnylove said: Yes I'm using 1.0.9 and it's the same problem as above. Btw, I'm on Polish language if that matters What php version do you use? Share this post Link to post Share on other sites
sklepslubnylove 0 Posted March 27, 2018 Litespeed 5.3.29 Share this post Link to post Share on other sites
DataKick 165 Posted March 27, 2018 1 minute ago, sklepslubnylove said: Litespeed 5.3.29 That's the problem, module requires PHP version 5.4 or higher, unfortunately. Share this post Link to post Share on other sites
sklepslubnylove 0 Posted March 27, 2018 OK, thank you for your help! Will try to update my php. Will get back soon. Share this post Link to post Share on other sites
Guest vadymsoho Posted April 3, 2018 Hello! If moderator reply of Review page not load. Prestashop 1.7.2.4 How I can fix it? On 3/27/2018 at 11:59 AM, DataKick said: That's the problem, module requires PHP version 5.4 or higher, unfortunately. Share this post Link to post Share on other sites
DataKick 165 Posted April 4, 2018 7 hours ago, vadymsoho said: Hello! If moderator reply of Review page not load. Prestashop 1.7.2.4 How I can fix it? Hello, sorry about this bug. It reproduces only on ps17, as some backward compatibility was broken. I'll release fix in the next version, meanwhile you can fix it yourself. It's very easy - simply edit file /modules/revws/views/templates/hook/private_review_list_item.tpl and change line {l s='Reply from %s:' sprintf="{$reviewsData.shopName}" mod='revws'} to {l s='Reply from %s:' sprintf=[$reviewsData.shopName] mod='revws'} Share this post Link to post Share on other sites
DataKick 165 Posted April 4, 2018 New version 1.0.10 has just been released. This one fixes some reported bugs, and introduces new hook called displayRevwsReview You can call this hook anywhere from your theme to show specific review. As an example I’ll show you how to display featured review on your homepage. Something like this: edit file /themes/yourtheme/index.tpl and add this code ... <div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-12"> <h2 class="revws-featured-h2">Featured review</h2> <div class="revws-featured"> {hook h='displayRevwsReview' review=2} </div> </div> </div> ... You can customize the review layout a bit by passing these parameters review - id of a review to display. This is required parameter displayCriteria - how to render criteria breakdown. Expects one of inline | side | false values. Default value is the one set up in your settings. This is optional parameter. displayReply - if we should render shop reply (if exists). Expects either true or false. Default value is true. Optional parameter example: {hook h='displayRevwsReview' review=2 displayCriteria='inline' displayReply=false} 1 Share this post Link to post Share on other sites
jaimesks 0 Posted April 4, 2018 13 hours ago, DataKick said: New version 1.0.10 has just been released. This one fixes some reported bugs, and introduces new hook called displayRevwsReview You can call this hook anywhere from your theme to show specific review. As an example I’ll show you how to display featured review on your homepage. Something like this: edit file /themes/yourtheme/index.tpl and add this code ... <div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-12"> <h2 class="revws-featured-h2">Featured review</h2> <div class="revws-featured"> {hook h='displayRevwsReview' review=2} </div> </div> </div> ... You can customize the review layout a bit by passing these parameters review - id of a review to display. This is required parameter displayCriteria - how to render criteria breakdown. Expects one of inline | side | false values. Default value is the one set up in your settings. This is optional parameter. displayReply - if we should render shop reply (if exists). Expects either true or false. Default value is true. Optional parameter example: {hook h='displayRevwsReview' review=2 displayCriteria='inline' displayReply=false} Could you detail more estro process if you are so kind? Share this post Link to post Share on other sites
DataKick 165 Posted April 5, 2018 14 hours ago, jaimesks said: Could you detail more estro process if you are so kind? I don't think I can provide more information than what I've already written. To use this new hook, you need to edit your theme. First, find the template file (*.tpl) that renders the page you want to display review at. Then, inside this file, insert the code {hook h='displayRevwsReview' review=222} Just remember to replace 222 with the actual review id. And that's it - the review will be rendered at that page. Share this post Link to post Share on other sites
jaimesks 0 Posted April 5, 2018 6 hours ago, DataKick said: No creo que pueda proporcionar más información de la que ya he escrito. Para usar este nuevo gancho, necesita editar su tema. Primero, encuentre el archivo de plantilla (* .tpl) que hace que la página que desea mostrar revise. Luego, dentro de este archivo, inserte el código Solo recuerde reemplazar 222 con la identificación de revisión real. Y eso es todo: la revisión se representará en esa página. 6 hours ago, DataKick said: No creo que pueda proporcionar más información de la que ya he escrito. Para usar este nuevo gancho, necesita editar su tema. Primero, encuentre el archivo de plantilla (* .tpl) que hace que la página que desea mostrar revise. Luego, dentro de este archivo, inserte el código Solo recuerde reemplazar 222 con la identificación de revisión real. Y eso es todo: la revisión se representará en esa página. Could you list the last 4 comments ,? could I list 4 comments creafos for me? I could see comments on the page in general Share this post Link to post Share on other sites
DataKick 165 Posted April 11, 2018 (edited) I've just released a new version 1.0.11. This new version - fixes some bugs - improves integration with my own data export and import DataKick module - improves integration with Loyalty Points - Krona module (you can reward your customers for writing reviews) - and most importantly, it allows you to import yotpo reviews - this was possible using datakick module, but I've decided to add this option directly to revws module because so many people asked me about it. If you have reviews data in CSV / XML format from any other service, let me know. I'd be happy to assist you with migration. Edited April 11, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
fourarrow 0 Posted April 16, 2018 Hi, i have module to send emails to customers and remind them to erview products they purchased. I want to make itcompatible with your module. Can you tell me what to add to link so review will popup automatically? Share this post Link to post Share on other sites
DataKick 165 Posted April 16, 2018 7 hours ago, fourarrow said: Hi, i have module to send emails to customers and remind them to erview products they purchased. I want to make itcompatible with your module. Can you tell me what to add to link so review will popup automatically? Hi, at the moment there isn't url parameter that would trigger review popup on product detail page. However, you can use this url instead: http://www.yourdomain.com/en/module/revws/MyReviews?review-product=4 Just replace en for you language, and substitue 4 for your product id Share this post Link to post Share on other sites
DataKick 165 Posted April 16, 2018 I've just released new version 1.0.12. This one - uses CSRF token to protect against cross site request forgery and other type of attacks. It's a very important from security point of view - added option to check for new version of the module directly from support page Share this post Link to post Share on other sites
kaczmar 0 Posted April 18, 2018 Thank you for great module, it's working very well. I have one problem. My product list isn't aligned anymore, because some products don't have reviews. How can I fix this? Share this post Link to post Share on other sites
DataKick 165 Posted April 18, 2018 (edited) 6 hours ago, kaczmar said: Thank you for great module, it's working very well. I have one problem. My product list isn't aligned anymore, because some products don't have reviews. How can I fix this? My module always renders empty stars block on product list, even for products with no review. But by default this block is hidden. You can display it, and that should align your product blocks again. To do this please create file /themes/<yourtheme>/modules/revws/views/templates/front/css-extend.tpl and add this content: .revws-product-list-empty { display: flex; opacity: 0; } You can set opacity either to 1 or 0 - depending on if you want to display empty stars, or not (if zero, the block will be displayed but its content will be invisible). Edited April 18, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
kaczmar 0 Posted April 20, 2018 Thank you. I have another question : what do I write to css to change star color? Share this post Link to post Share on other sites
DataKick 165 Posted April 20, 2018 3 minutes ago, kaczmar said: Thank you. I have another question : what do I write to css to change star color? That's easy. You don't need to edit css for this, you can change it directly from settings, under Theme and Appearance Share this post Link to post Share on other sites
Aumanz 7 Posted April 26, 2018 (edited) thank for this module, works fine, i missing some functions, if you can help me to implement it.. please.. i like to show email on reviews, please if you can help me,, your .js is so hard to me.. i found key: "render", value: function() { on front_app.js missing email when render divs to .revws-review-author im approaching? please some help.. Edited April 26, 2018 by Aumanz (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted April 26, 2018 (edited) 25 minutes ago, Aumanz said: thank for this module, works fine, i missing some functions, if you can help me to implement it.. please.. i like to show email on reviews, please if you can help me,, your .js is so hard to me.. i found key: "render", value: function() { on front_app.js missing email, im approaching? please some help.. front_app.js is compiled react application. You should't modify it. To make changes, please fork github repository, and make changes to source code. Then compile it. To implement this feature, you will need to pass information about email from backend, so javascript can use it. PS: I don't think it's a good idea to implement this, though. I personally would be very angry if my email were publicly displayed with review. Users of my module usually tend to follow opposite direction, and implement some sort of user anonymization Edited April 26, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
Aumanz 7 Posted April 26, 2018 (edited) yep i know, i like to have first email, but i like to trim review email for insert gravatar.. im able to see right now {cookie->email} of course, but trying to use {$review.email} or {$review->email} didnt show me nothing.. Edited April 26, 2018 by Aumanz (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted April 26, 2018 19 minutes ago, Aumanz said: yep i know, i like to have first email, but i like to trim review email for insert gravatar.. im able to see right now {cookie->email} of course, but trying to use {$review.email} or {$review->email} didnt show me nothing.. I see. Gravatar is a nice feature, I'll add it to my backlog. Share this post Link to post Share on other sites
Aumanz 7 Posted April 26, 2018 oh, ok, thank you, i will stay connected waiting for.. if someone can help in the meantime.. please.. Thank you again @DataKick 1 Share this post Link to post Share on other sites
Aumanz 7 Posted April 26, 2018 (edited) i already got this for show admin logo on replys on a <img> src="https://secure.gravatar.com/avatar/{Configuration::get('PS_SHOP_EMAIL')|trim|strtolower|md5}" found also.. on notifications.php, but this is only on backend i think.. private function getReviewerEmail(RevwsReview $review) { if ($review->isCustomer()) { return $this->getCustomer($review)->email; } else { return $review->email; } } anyway i need your help to be able to have reviewer email on front end.. im stucked now.. hope you can take a look soon.. I have other thing.. not related to last.. how i can get my href="#popup" for button to visitors? i have already a popup in all links they have login option, but im fighting to make it work, but without luck,. please.. Edited April 26, 2018 by Aumanz (see edit history) Share this post Link to post Share on other sites
Aumanz 7 Posted April 27, 2018 (edited) hmm.. any way to show left column on myreviews page?? thank you.. Edit: ok i got it,, forced {hook h="displayLeftColumn"} in my-reviews.tpl Edited April 27, 2018 by Aumanz solved (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted April 27, 2018 6 hours ago, Aumanz said: hmm.. any way to show left column on myreviews page?? thank you.. Edit: ok i got it,, forced {hook h="displayLeftColumn"} in my-reviews.tpl I've just released new version 1.0.13, which let you choose layout in your theme Share this post Link to post Share on other sites
Jesus 1 Posted April 27, 2018 Good morning, thank you very much for your time and good work. I am using your module in Prestashop 1.7.3.1 and with the last update I have disappeared the stars of the product page. I've also detected that it does not allow you to comment and rate Firefox and Safari browsers. I leave my website for help: chexpress.es Share this post Link to post Share on other sites
DataKick 165 Posted April 27, 2018 42 minutes ago, Jesus said: Good morning, thank you very much for your time and good work. I am using your module in Prestashop 1.7.3.1 and with the last update I have disappeared the stars of the product page. I've also detected that it does not allow you to comment and rate Firefox and Safari browsers. I leave my website for help: chexpress.es Hi, I've checked your website, and it looks ok to me. I tried both firefox and chrome browsers, and both seems to be working correctly. Could you please provide more details about what's not working? Share this post Link to post Share on other sites
Jesus 1 Posted April 27, 2018 In the end, restart the module, only had a couple of reviews of trusted customers who put them back, so now everything appears on your site. However if I try to write a new review from firefox I get the following error: Failed to create review Also it happens from safari, but I do not have a mac to prove it, that a client. Is there the possibility of creating backup copies to be able to restore them if you need to restart the module? Again, thank you very much for your time and for your quick and disinterested help!!!!!! Share this post Link to post Share on other sites
DataKick 165 Posted April 27, 2018 (edited) 5 hours ago, Jesus said: In the end, restart the module, only had a couple of reviews of trusted customers who put them back, so now everything appears on your site. However if I try to write a new review from firefox I get the following error: Failed to create review Also it happens from safari, but I do not have a mac to prove it, that a client. Is there the possibility of creating backup copies to be able to restore them if you need to restart the module? Again, thank you very much for your time and for your quick and disinterested help!!!!!! Thanks, I was able to reproduce this on your server, but I can't reproduce it on my own environment. However, I think I know where the problem might be. Could you please try attached version of module and let me know if it works? Regarding review backups - you can install my module (see link in my signature), and use it to create csv or xml backup of your data. Edited April 27, 2018 by DataKick (see edit history) 1 Share this post Link to post Share on other sites
Jesus 1 Posted April 27, 2018 Thank you very much for your speed! I installed the module and it still gives me an error. Versión de MySQL: 5.7.21-log and Versión PHP: 7.0.27 I do not know if it will be helpful. Share this post Link to post Share on other sites
DataKick 165 Posted April 27, 2018 (edited) 22 minutes ago, Jesus said: Thank you very much for your speed! I installed the module and it still gives me an error. Versión de MySQL: 5.7.21-log and Versión PHP: 7.0.27 I do not know if it will be helpful. It seems that the issue is with missing CSRF token. My module sends special http header to prevent cross site scripting attacks , but your server drops this header from request. I have prepared a new version of module, which sends this token inside post body. This should fix the problem. Please try it and let me know. Thanks for reporting this problem! I'm sure some other users might be affected as well, so it's really important for this is fixed. Edited April 27, 2018 by DataKick (see edit history) 1 Share this post Link to post Share on other sites
fortuner 21 Posted April 29, 2018 Hello! Firstly I want to thank you for your great module, you are the best I'd like to ask if your module supports multishop configurations? I looked through code (the MySQL creation part to be precise) and didn't see the shop id columns in tables. Share this post Link to post Share on other sites
Jesus 1 Posted April 30, 2018 On 27/4/2018 at 9:07 PM, DataKick said: Parece que el problema es con el token CSRF perdido. Mi módulo envía un encabezado http especial para evitar ataques de secuencias de comandos entre sitios, pero su servidor descarta este encabezado de la solicitud. He preparado una nueva versión del módulo, que envía este token dentro del cuerpo del mensaje. Esto debería solucionar el problema. Por favor pruébalo y avísame. ¡Gracias por reportar este problema! Estoy seguro de que otros usuarios también podrían verse afectados, por lo que es muy importante que esto se solucione. Perfect! Thank you very much, you can comment on both firefox and safari !! I wanted to tell you about two other bugs I've observed. 1 in Chrome, in the categories appear a few dates next to the indicative of 1 review (attached image) I have observed that eliminating the row "overflow-x: hidden" eliminates the problem. 2 in any browser, if you click on (read 1 reviews) and the reviews section is not open, it moves upwards, if I have that tab open it does scroll correctly to the reviews section. Thank you very much for your time and work, greetings !! Share this post Link to post Share on other sites
Aumanz 7 Posted May 1, 2018 Hi there.. getting stars {hook h='displayProductListReviews'} on other modules like categoryproducts or accesories part (natives), crash page, showed in other modules and sliders even if they are on product page, dont know if is #id trouble or $smarty thing i only get throw new PrestaShopException('Invalid product vars'); page stopped to charge where stars must be showed.. used in all parts.. {capture name='displayProductListReviews'}{hook h='displayProductListReviews' product=$product}{/capture} {if $smarty.capture.displayProductListReviews} <div class="hook-reviews" style=""> {hook h='displayProductListReviews' product=$product} </div> {/if} Hope you can help me.. Share this post Link to post Share on other sites
DataKick 165 Posted May 1, 2018 On 4/29/2018 at 11:50 AM, fortuner said: Hello! Firstly I want to thank you for your great module, you are the best I'd like to ask if your module supports multishop configurations? I looked through code (the MySQL creation part to be precise) and didn't see the shop id columns in tables. Hi, multistore support is not implemented yet. At the moment the module follows products multistore settings - if you share products, reviews will be shared as well. I plan to implement full-fledged multistore support in the future, with options to set special review criteria for every shop. 1 Share this post Link to post Share on other sites
DataKick 165 Posted May 1, 2018 5 hours ago, Aumanz said: Hi there.. getting stars {hook h='displayProductListReviews'} on other modules like categoryproducts or accesories part (natives), crash page, showed in other modules and sliders even if they are on product page, dont know if is #id trouble or $smarty thing i only get throw new PrestaShopException('Invalid product vars'); page stopped to charge where stars must be showed.. used in all parts.. {capture name='displayProductListReviews'}{hook h='displayProductListReviews' product=$product}{/capture} {if $smarty.capture.displayProductListReviews} <div class="hook-reviews" style=""> {hook h='displayProductListReviews' product=$product} </div> {/if} Hope you can help me.. I'm not sure if I understand correctly. Did you modify your theme (or other modules) and included hook inside other modules? Share this post Link to post Share on other sites
Aumanz 7 Posted May 1, 2018 Yes and was running ok on preview module we have installed, we see stars on relatedfree, accesories, products in same category... but yesterday we noticed broke in some part.. relatedfree works fine, and not is native, but products in same category (native) crash.., also {accesories} part in product.tpl Im in product page, that have other products on modules composing this page.. [PrestaShopException] Invalid product varsat line 106 in file classes/Link.php 101. if (is_array($product) && isset($product['id_product'])) { 102. $product = new Product($product['id_product'], false, $id_lang, $id_shop); 103. } elseif ((int)$product) { 104. $product = new Product((int)$product, false, $id_lang, $id_shop); 105. } else { 106. throw new PrestaShopException('Invalid product vars'); 107. } 108. } 109. 110. // Set available keywords 111. $params = array(); Share this post Link to post Share on other sites
Aumanz 7 Posted May 1, 2018 done.. i only have to change $product for the variable used in any case.. ($accessory, $categoryProduct, $orderProduct...) Sorry about, its more easy than i though.. And thanks for reply, hope this can help someone too.. Share this post Link to post Share on other sites
DataKick 165 Posted May 2, 2018 I’ve released new version 1.0.14 – added support for Multiple languages. You can now choose to display only reviews written in visitor’s language. This settings is recommended for any shop using multiple languages feature: it will reduce the noise on your product page, displaying only information relevant to each visitor it will have SEO benefits - no duplicate content between different language versions Of course, you can disable this feature and keep displaying all reviews regardless of language. This can be useful in case you haven’t collected many reviews yet. 1 Share this post Link to post Share on other sites
Daniela 1 Posted May 7, 2018 On 2/6/2018 at 2:57 PM, DataKick said: Product Review Module - Revws - This free module allows your customer to create product reviews. Easily. The main goal of this module is to make both review authoring and moderation process as smooth as possible. I have worked very closely with real-world merchants to make sure this module offers just the right features that you guys need. TAKE A TEST DRIVE You can try this module on my demo account Front Office / Back Office SCREENSHOTS Revws at glance ` FEATURES What can this module do for you? review import - you can easily import your reviews productcomments or yotpo. Or use my datakick module to import from any other source compatible with with prestashop 1.6 and 1.7 versions both customer and guest reviews review moderation by administrator multiple review criteria theming options - you don’t have to use standard star symbol anymore google structured data / rich snippets support customers can edit / delete their reviews voting and report abuse buttons review suggestions based on recent purchase comprehensive settings - you can tweak almost anything and much more INTEGRATIONS Revws module can seamlessly cooperate with other modules. DataKick data import / export / modification module - using my paid module, you can easily list your reviews, export or even import them. You can schedule periodic backup of your review data. You can use it to prepare list of customers who has recently purchased some product and send them a review request Loyalty Points - Genzo Krona module* - revws module is integrated with this amazing loyalty points free module. You can then set up your own rewards strategy. Send Review Request module* - you can use this free module to ask your customer for reviews. Remember, if you don't ask for it, you don't get it * due to rules on this forum, I'm not allowed to link to these modules. Use goole BUGS AND FEATURE REQUESTS If you find any bug or issue, of if you would like to see some new functionality in the module, please file an issue on github. Otherwise I might forget about it Report problem / suggest enhancement DOWNLOAD You can download latest version of this free module on my website. Download module For desktop it ok, but for mobile not. I need to be responsive for tablet and mobile, not only for desktop. Share this post Link to post Share on other sites
DataKick 165 Posted May 7, 2018 (edited) 5 hours ago, Daniela said: For desktop it ok, but for mobile not. I need to be responsive for tablet and mobile, not only for desktop. In what area did you experience non-responsiveness? In my testing, both review list and review creation adapts to current page width accordingly Could you please specify what did not work with you? Or send me url address of your site -- I suspect this issue is more related to your theme than to my module. Edited May 7, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
Daniela 1 Posted May 8, 2018 Url site: axel-company.ro I have theme default from Prestashop 1.6, but is a bit modified. I try with Firefox for mobile - I have Huawei P8 Lite The problem is for stars, don't show correctly (like in image attached). Sorry for my english, Thanks for you answer Share this post Link to post Share on other sites
Daniela 1 Posted May 8, 2018 4 minutes ago, Daniela said: Url site: axel-company.ro I have theme default from Prestashop 1.6, but is a bit modified. I try with Firefox for mobile - I have Huawei P8 Lite The problem is for stars, don't show correctly (like in image attached). Sorry for my english, Thanks for you answer 14 hours ago, DataKick said: In what area did you experience non-responsiveness? In my testing, both review list and review creation adapts to current page width accordingly Could you please specify what did not work with you? Or send me url address of your site -- I suspect this issue is more related to your theme than to my module. 14 hours ago, DataKick said: In what area did you experience non-responsiveness? In my testing, both review list and review creation adapts to current page width accordingly Could you please specify what did not work with you? Or send me url address of your site -- I suspect this issue is more related to your theme than to my module. Like this show on mobile for product review (image attached). In message above the image is for first page. I don't know why is look like this Thanks again. Share this post Link to post Share on other sites
DataKick 165 Posted May 8, 2018 7 minutes ago, Daniela said: Url site: axel-company.ro I have theme default from Prestashop 1.6, but is a bit modified. I try with Firefox for mobile - I have Huawei P8 Lite The problem is for stars, don't show correctly (like in image attached). Thank you Daniela. I tried your site with my mobile phone, and it indeed shows stars badly. But I verified on my demo account (https://demo.getdatakick.com) and there stars are displayed correctly. I believe this problem is cause by your site serving wrong/outdated css file. Have you tried to clear cache in your prestashop? Also, please try to go to revws settings, and change color of stars. That will force regeneration of css file, and it might fix the issue. Share this post Link to post Share on other sites
DataKick 165 Posted May 8, 2018 17 minutes ago, Daniela said: Like this show on mobile for product review (image attached). In message above the image is for first page. I don't know why is look like this Thanks again. I've looked at your site, and I think I know where the problem is - css rules for revws module were damaged by CCC compilation. After CCC is applied, all css rules my module depends on are restricted to be used only for devices with min-width: 768px. The strange thing is that this restriction is NOT part of my module. It seems that you have another module (or maybe theme) that contains css file that contains @media query that's NOT correctly closed. When this css file is joined (prepended) with my module css file, this missing closing tag affects css in my module. Please, look at your modules/theme and look for css file with content like this @media (min-width: 768px) { .footer-container {} .footer-container .container { padding-bottom: 100px; } ...... I believe there isn't closing bracket } at the end of this section. That, in turn, affects ANY MODULE whose css files are added after this module. To verify that this is the root cause, you can disable CCC for a while. This way, my module css will be downloaded with no interference of this other module. Share this post Link to post Share on other sites
eldermaster 9 Posted May 8, 2018 (edited) Hello, Do you know by chance why after we install on a Prestashop 1.6.0.13 default installation, it shows Please Wait ... message and nothing happens? On front office if we click Be the first to write a review, nothing happens. Thank you, Edited May 8, 2018 by eldermaster (see edit history) Share this post Link to post Share on other sites
DataKick 165 Posted May 8, 2018 3 hours ago, eldermaster said: Hello, Do you know by chance why after we install on a Prestashop 1.6.0.13 default installation, it shows Please Wait ... message and nothing happens? On front office if we click Be the first to write a review, nothing happens. Thank you, Hi, these are symptoms of javascript not loaded. Could you please look into javascript console / network tab in your browser to see if there's any bug? And please send me url to frontoffice, so I can have a look myself. Share this post Link to post Share on other sites
eldermaster 9 Posted May 8, 2018 1 hour ago, DataKick said: Hi, these are symptoms of javascript not loaded. Could you please look into javascript console / network tab in your browser to see if there's any bug? And please send me url to frontoffice, so I can have a look myself. Thank you for your support. Very appreciated. I sent a PM to you through forum. Share this post Link to post Share on other sites
Daniela 1 Posted May 9, 2018 On 5/8/2018 at 10:50 AM, DataKick said: I've looked at your site, and I think I know where the problem is - css rules for revws module were damaged by CCC compilation. After CCC is applied, all css rules my module depends on are restricted to be used only for devices with min-width: 768px. The strange thing is that this restriction is NOT part of my module. It seems that you have another module (or maybe theme) that contains css file that contains @media query that's NOT correctly closed. When this css file is joined (prepended) with my module css file, this missing closing tag affects css in my module. Please, look at your modules/theme and look for css file with content like this @media (min-width: 768px) { .footer-container {} .footer-container .container { padding-bottom: 100px; } ...... I believe there isn't closing bracket } at the end of this section. That, in turn, affects ANY MODULE whose css files are added after this module. To verify that this is the root cause, you can disable CCC for a while. This way, my module css will be downloaded with no interference of this other module. Hi, thanks a lot for this. Now it work, you can test on mobile again And also you make my site to look good on mobile I see the module can send e-mail to customer to review products, but for me don't work...In email I have selected PHP (mail) funtion, also is enable on module settings (or the email will be sent later in that day?). Realy appeciate your work and thanks again! Share this post Link to post Share on other sites
DataKick 165 Posted May 9, 2018 7 minutes ago, Daniela said: Hi, thanks a lot for this. Now it work, you can test on mobile again And also you make my site to look good on mobile I see the module can send e-mail to customer to review products, but for me don't work...In email I have selected PHP (mail) funtion, also is enable on module settings (or the email will be sent later in that day?). Realy appeciate your work and thanks again! Awesome. You are right, my module can, and does, send emails. You need to translate email templates to your language first, though. At the moment emails are translated only for bg, cs, de, en, and nl languages -- Romanian language is not supported yet. Please use standard prestashop translation tool to do this. I would really appreciate if you could send me translated emails, so I can add them to module. That way, other users from your country won't have to do this menial task ever again. Share this post Link to post Share on other sites
Daniela 1 Posted May 9, 2018 2 hours ago, DataKick said: Awesome. You are right, my module can, and does, send emails. You need to translate email templates to your language first, though. At the moment emails are translated only for bg, cs, de, en, and nl languages -- Romanian language is not supported yet. Please use standard prestashop translation tool to do this. I would really appreciate if you could send me translated emails, so I can add them to module. That way, other users from your country won't have to do this menial task ever again. I'll send to you the files - Romanian language, but I don't know how. If you can expline me how to do that, i appreciate. Thanks! I don't know if you can help me -is not about your module- you can see in my site -mobile version, on product detail, there where i have the price and the loyalty point - don't show to all the page (width:100%) because i use width:45% for desktop. How can make for mobile only to show width:100%? Thanks in advance! Share this post Link to post Share on other sites
DataKick 165 Posted May 10, 2018 (edited) 17 hours ago, Daniela said: I'll send to you the files - Romanian language, but I don't know how. If you can expline me how to do that, i appreciate. Thanks! FTP to your server, and go to folder themes/<your theme>/modules/revws/mails/ and copy directory en to new directory ro Now, you can either edit files in this directory using some editor, but that requires a bit of a html knowledge. Alternatively, go to your back office. Open Localization > Translations, choose Type of Translation = Email Templates Translations, select your theme and language, and hit Modify button. Find revws module, and translate all templates. Once you are done, zip themes/<your theme>/modules/revws/mails/ro directory, and send it to revws@getdatakick.com 17 hours ago, Daniela said: I don't know if you can help me -is not about your module- you can see in my site -mobile version, on product detail, there where i have the price and the loyalty point - don't show to all the page (width:100%) because i use width:45% for desktop. How can make for mobile only to show width:100%? look into your css files, and look for something like this: .pb-center-column.col-xs-12.col-sm-4 { width:58% } and replace it with this @media (min-width: 768px) { .pb-center-column.col-xs-12.col-sm-4 { width:58% } } The same do with block css .pb-right-column.col-xs-12.col-sm-4.col-md-3 Edited May 10, 2018 by DataKick (see edit history) Share this post Link to post Share on other sites
Daniela 1 Posted May 10, 2018 33 minutes ago, DataKick said: FTP to your server, and go to folder themes/<your theme>/modules/revws/mails/ and copy directory en to new directory ro Now, you can either edit files in this directory using some editor, but that requires a bit of a html knowledge. Alternatively, go to your back office. Open Localization > Translations, choose Type of Translation = Email Templates Translations, select your theme and language, and hit Modify button. Find revws module, and translate all templates. Once you are done, zip themes/<your theme>/modules/revws/mails/ro directory, and send it to revws@getdatakick.com look into your css files, and look for something like this: .pb-center-column.col-xs-12.col-sm-4 { width:58% } and replace it with this @media (min-width: 768px) { .pb-center-column.col-xs-12.col-sm-4 { width:58% } } The same do with block css .pb-right-column.col-xs-12.col-sm-4.col-md-3 Thanks a lot, you are a genius I send to you the file, check it please. Share this post Link to post Share on other sites