[Free Module]Revws - Product Reviews



  • Revws - Product Reviews module

    This topic is here to offer support for revws module.

    screencast

    Links

    Download: you can download this module on official thirtybees store

    Demo: you can test revws module on my demo account Front Office / Back Office

    Bugs and feature requests: if you find any problem, or if you would like to see some new functionality, please add it to issue tracker on github.

    This is a continuation of this topic



  • Hi, @datakick thanks for this great module and for making it free.
    Would be nice if there was a roadmap or a todo list so we could know what/when to expect things.



  • @nickon sure.Currently I keep my backlog in asana, but that can’t be made public. I’ll migrate it to pivotal tracker’s public project - revws



  • Thanks, @datakick! A beautiful module.

    What is the best way to export a translation for this? I translated via the tb backoffice.



  • Is there a way to import the current reviews from the stock Product Comments module?
    How does one go about changing the css? I tried coping front.css to /mytheme/css/modules/revws, but that didnt seem to work.



  • @slick_303 said in [Free Module]Revws - Product Reviews:

    How does one go about changing the css? I tried coping front.css to /mytheme/css/modules/revws, but that didnt seem to work.

    I don’t see that option in revws.php, I recommend you change function hookHeader to read…

      public function hookHeader() {
        if (file_exists(_PS_THEME_DIR_."css/modules/{$this->name}/{$this->name}.css")) {
            $this->context->controller->addCSS(_PS_THEME_DIR_."css/modules/{$this->name}/{$this->name}.css", 'all');
        } else {
            $this->context->controller->addCSS($this->_path.'views/css/front.css', 'all');
        }
        $this->context->controller->addCSS('https://fonts.googleapis.com/css?family=Roboto:300,400,500', 'all');
      }
    
    

    this way a person can overright the css by coping revws/views/css/front.css to /mytheme/css/module/revws/revws.css file and modify it.

    I would also suggest, maybe, you do something similar so we can change the tpl files as well.

    Can I talk ya into changing the my-account.tpl icon-star to icon-comment? I think it looks better this way, and is more applicable. IMO

    Nice module, BTW!



  • I hope I’m not being to forward, but I forked your module, and made a couple of Pull Requests, do with what you will…



  • Is there a way to import the current reviews from the stock Product Comments module?

    No, currently not. I’ll look what I can do

    I hope I’m not being to forward, but I forked your module, and made a couple of Pull Requests, do with what you will…

    Awesome! Thanks @SLiCK_303 . That’s why it’s an open source, so anyone can contribute



  • @datakick
    I cannot install. During module install, I get the message please wait and it never goes away.
    PHP7.1/multistore



  • @chandra is it really during install? Could you please check if there’s a menu entry Catalog > Product reviews?



  • The menu item exists. However clicking it shows the heading Product Reviews and a message ‘please wait’



  • @chandra that means that module has been installed, but javascript application wasn’t loaded.

    Try to clear cache (both browser, and in thirtybees in Advanced Parameters > Performance).

    If this does not help, please open developer console, open Product reviews, and look for errors in Console / Network tab



  • ReferenceError: startRevws is not defined[Learn More] index.php:936:2
    The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it. admin-theme.js
    The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it. enquire.min.js



  • @chandra could you give me access to your shop, so I could look this?



  • Let me create a test instance since I don’t have one right now. I will get it to you end of the day since I am out at the moment. Many thanks.



  • New version 1.0.2 has been released. You can now migrate review and criteria settings from native product comments module.



  • @datakick said in [Free Module]Revws - Product Reviews:

    New version 1.0.2 has been released. You can now migrate review and criteria settings from native product comments module.

    Nice ! thank for work



  • @datakick said in [Free Module]Revws - Product Reviews:

    New version 1.0.2 has been released. You can now migrate review and criteria settings from native product comments module.

    Very cool, but I dont see a way to do that in the settings, am I missing something?

    It also looks like you can change the icon (icon-star) to something else in the settings, but again, I dont see where to do that.

    edit:
    Neeeevermind, I had to do a refresh of the setting page in my browser to get those options to come up. Thanx again for the great module.



  • @datakick It might be nice if you could hook this module into displayMyAccountBlock, that way a link would show in the My Accounts side block. I should have been a beta tester, sorry I wasn’t… ;)



  • @chandra said in [Free Module]Revws - Product Reviews:

    Let me create a test instance since I don’t have one right now. I will get it to you end of the day since I am out at the moment. Many thanks.

    I can’t create a test instance yet since it redirects to the main site and I need to verify the redirects.

    However here is the offending line per the debugger if it gives any clues, thanks.

    ReferenceError: startRevws is not defined[Learn More] index.php:936:2
    <anonymous> https://shop.xxxxxxx.com/adminxxx/index.php:936:2

    Please wait...
    </div>
    <script>
    startRevws({"data":{"api":"index.php?controller=AdminRevwsBackend&token=a87f7628ab4038cbd454f0dxxxxxxxxxx","shapes":{"star":{"label":"Star","viewBox":"-489 216 20 20","path":"M-475.072 222.324l4.597.665c.932.13 1.305 1.27.63 1.93l-3.322 3.24c-.268.26-.39.637-.326 1.005l.788 4.58c.16.926-.813 1.635-1.647 1.2l-4.113-2.16c-.33-.174-.726-.173-1.057 0l-4.11 2.165c-.833.438-1.807-.27-1.65-1.197l.783-4.58c.07-.37-.06-.745-.32-1.006l-3.33-3.24c-.67-.657-.3-1.803.63-1.94l4.6-.67c.37-.054.69-.287.854-.62l2.05-4.17c.417-.843 1.62-.844 2.04 0l2.057 4.163c.166.336.486.568.856.62z","strokeWidth":1},"star2":{"label":"Star (another version)","viewBox":"80 100 600 600","path":"m506.979706,670.34491c-31.57605,18.483215 -123.914795,-105.211609 -160.259094,-109.222778c-36.34436,-4.011108 -151.136917,96.823608 -178.367081,71.850159c-27.230286,-24.973267 59.227798,-151.793884 51.512589,-188.190521c-7.715164,-36.396484 -138.142982,-117.004639 -123.396042,-150.922241c14.746765,-33.917419 160.519485,11.397858 192.095535,-7.085419c31.576111,-18.483063 65.759796,-169.136345 102.104095,-165.125175c36.344299,4.011162 39.97879,158.838219 67.209015,183.811577c27.230286,24.973236 178.78479,12.472656 186.499939,48.869232c7.715149,36.396454 -135.81131,86.769592 -150.558136,120.687134c-14.746826,33.917511 44.735321,176.84494 13.15918,195.328033z","strokeWidth":50},"heart":{"label":"Heart","viewBox":"-30 0 560 511.627","path":"M475.366,71.951c-24.175-23.606-57.575-35.404-100.215-35.404c-11.8,0-23.843,2.046-36.117,6.136   c-12.279,4.093-23.702,9.615-34.256,16.562c-10.568,6.945-19.65,13.467-27.269,19.556c-7.61,6.091-14.845,12.564-21.696,19.414   c-6.854-6.85-14.087-13.323-21.698-19.414c-7.616-6.089-16.702-12.607-27.268-19.556c-10.564-6.95-21.985-12.468-34.261-16.562   c-12.275-4.089-24.316-6.136-36.116-6.136c-42.637,0-76.039,11.801-100.211,35.404C12.087,95.552,0,128.288,0,170.162 c0,12.753,2.24,25.889,6.711,39.398c4.471,13.514,9.566,25.031,15.275,34.546c5.708,9.514,12.181,18.796,19.414,27.837   c7.233,9.042,12.519,15.27,15.846,18.699c3.33,3.422,5.948,5.899,7.851,7.419L243.25,469.937c3.427,3.429,7.614,5.144,12.562,5.144   s9.138-1.715,12.563-5.137l177.87-171.307c43.588-43.583,65.38-86.41,65.38-128.475C511.626,128.288,499.537,95.552,475.366,71.951z","strokeWidth":30}},"languages":{"1":{"code":"en","name":"English (English)"}},"language":1},"criteria":{"1":{"id":1,"global":true,"active":true,"label":{"1":"Quality"},"products":[],"categories":[]}},"settings":{"theme":{"shape":"star","shapeSize":{"product":16,"list":16,"create":80}},"display":{"product":{"placement":"block","reviewsPerPage":5,"orderBy":"date","showAverage":true},"productList":{"show":true},"productComparison":{"show":true},"myReviews":{"show":true,"iconClass":"icon icon-star","reviewsPerPage":5,"maxRequests":3}},"moderation":{"enabled":true,"needApprove":{"create":true,"edit":true,"reported":false}},"review":{"displayName":"fullName","allowGuestReviews":true,"allowReviewWithoutCriteria":false,"allowEmpty":true,"allowDelete":true,"allowEdit":true,"allowVoting":true,"allowReporting":true},"notifications":{"admin":{"email":"shop@xxxxxxx.com","language":1,"reviewCreated":false,"reviewUpdated":false,"reviewDeleted":false,"needApprove":true},"author":{"thankYou":true,"reviewApproved":true,"reviewDeleted":true,"reply":true}},"richSnippets":{"enabled":true}},"translations":[]});
    </script>
    

Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.