Jump to content
thirty bees forum

[Free Module]Revws - Product Reviews


datakick

Recommended Posts

  • 3 weeks later...

Hello Petr,

I wonder if it's possible to load the /modules/revws/views/js/front-2_0_4.js file from an external server like KeyCDN? Loading this file takes most time.

revws-js1.jpg

Another js file served by KeyCDN:

revws-js2.jpg

Edited by Adik
Link to comment
Share on other sites

19 minutes ago, Adik said:

Hello Petr,

I wonder if it's possible to load the /modules/revws/views/js/front-2_0_4.js file from an external server like KeyCDN?

This javascript file is NOT loaded during initial page load. It's loaded asynchronously later when the page is already displayed. So there's no need to worry about page load/response time in this context, as it does not affect it at all.

Of course, if you want to serve this file from external CDN, you can. It will, however, make your module updates much more troublesome. To do so, 

1) upload the js file to external server

2) insert new row into PREFIX_configuration table, name='REVWS_APP_URL' value='<url>'. You will need to use sql for this, there is no built-in support for that in module. It should look like this:

+------------------+---------------+---------+---------------+------------------------------------+---------------------+---------------------+
| id_configuration | id_shop_group | id_shop | name          | value                              | date_add            | date_upd            |
+------------------+---------------+---------+---------------+------------------------------------+---------------------+---------------------+
|              353 |          NULL |    NULL | REVWS_APP_URL | http://localhost:8080/front_app.js | 2018-07-14 13:17:35 | 2018-07-14 13:17:35 |
+------------------+---------------+---------+---------------+------------------------------------+---------------------+---------------------+


And that's it. 

Link to comment
Share on other sites

  • 3 weeks later...

I've just released new version 1.0.24. This version brings following enhancements and bugfixes:

Enhancements

  • Reviews with empty titles are now supported
  • Review tab label now shows number of total reviews
  • Customer is redirected back to product page after login
  • Added default css for review average custom placement
  • Italian translation
  • French translation

Bugfixes

  • Fixed image overflow issue
  • Fixed images being stretched in firefox
  • Fixed ordering by usefulness

 

Also, new paid version 2.0.5 has been released as well, containing the same features and bugfixes

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

Love the look of this module. 

We currently use Yotpo free version, but they are badgering to upgrade (they dont really do the free version anymore). And i like the idea of it all being 'inhouse' rather than our customer data going external (what with GDPR etc)

 

The problem is we have hundreds of reviews already in that system. We can download them via CSV file - would it be possible to integrate those reviews into REVWS?

 

 

Link to comment
Share on other sites

10 hours ago, haylau said:

The problem is we have hundreds of reviews already in that system. We can download them via CSV file - would it be possible to integrate those reviews into REVWS?

 

 

Answer: Yes. It is in the paid version, though not obvious. I did not spot until after doing some database updates :)

 

Fab module!

  • Like 1
Link to comment
Share on other sites

On 6/1/2019 at 10:34 PM, haylau said:

Answer: Yes. It is in the paid version, though not obvious. I did not spot until after doing some database updates 🙂

 

Fab module!

Yes, revws comes with Yotpo import functinality. In fact, it's also in free version of the module.

It looks like I should make it more prominent somehow, as people have hard time finding it. Maybe I'll add import button to the review page if there are no reviews -- right after installation. That could do the trick. 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

 

I've just released new versions 1.1.0 and 2.1.0 (premium).

The only change in these versions is integration with my new conseqs module. Module now offers 4 triggers that you can use to implement your automations. For example, you can reward customer with discount coupon for submitting a review

 

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

Hi @datakik,

thank you for this wonderfull module!

One question, i cannot see the image of the product being reviewed (... anywere:) ...) as you can see from screenshoot
I still use images in legacy mode, the old sistem, can this be the cause?
If so, can you suggest what and where i have to adjust to solve it?
.... i have last version of the module and TB 1.0.8, with community theme reinvented a bit ....

Tks again for your job!
 

Screenshot_2019-06-21 PARACOLPI COTONE PER LETTINO ORSETTI - MUDRASHOP.png

Link to comment
Share on other sites

15 minutes ago, ariom said:

Hi @datakik,

thank you for this wonderfull module!

One question, i cannot see the image of the product being reviewed (... anywere:) ...) as you can see from screenshoot
I still use images in legacy mode, the old sistem, can this be the cause?
If so, can you suggest what and where i have to adjust to solve it?
.... i have last version of the module and TB 1.0.8, with community theme reinvented a bit ....

Tks again for your job!
 

Revws module expected image type home to exists. If it does, it should work, even for legacy mode.  Anyway, this is the code that would need to be updated

  • Thanks 1
Link to comment
Share on other sites

Sorry if this is a repeat, but I can't find the answer anywhere.  I'm coming from version 1.0.12 to the latest version, and I think a few things have changed.  😉 

How does one make css changes to the FO? One used to be able to make a css-extend.tpl file in themes/<mytheme>/modules/revws/views/templates/front, but that doesn't seem to be working anymore?

 

Ok, I'm an idiot, that still works, so...nevermind.

 

edit2: ok...how about the paging buttons at the bottom of the screen, the < and > ?

Edited by SLiCK_303
Link to comment
Share on other sites

  • 3 weeks later...

I don't know if I have already reported. But there is an issue with criteria that don't apply to all products/categories. In my case I always apply them to categories. But when I edit such a criteria, the categories aren't selected. In addition it says something like: "apply to no product" in the overview.

Link to comment
Share on other sites

17 hours ago, wakabayashi said:

I don't know if I have already reported. But there is an issue with criteria that don't apply to all products/categories. In my case I always apply them to categories. But when I edit such a criteria, the categories aren't selected. In addition it says something like: "apply to no product" in the overview.

I can't reproduce this issue. I've just tested on my demo account and it seems to be working correctly

Link to comment
Share on other sites

On 6/21/2019 at 11:45 AM, datakick said:

Revws module expected image type home to exists. If it does, it should work, even for legacy mode.  Anyway, this is the code that would need to be updated

@datakick
beeing very busy on last weeks and haven't the time to update regarding my problem with the missing product photo when making a review ...

I tried both ways:
1 - created image type home for products (there wasn't any home image type on my shop, maybe i deleted at the time i delete the old image type leaving only the _default type) and regenerating all products image, cleared cache, the problem persists, no product image showing on making revws popup ...
2 - Tried to modifiy the file front-app.php changhing at line 324 from:

$image = $link->getImageLink($rewrite, $imageId, ImageType::getFormatedName('home'));

to

$image = $link->getImageLink($rewrite, $imageId, ImageType::getFormatedName('home_default'));

deleted the file class_index.php on the cache folder, reset the module, even uninstalled and reinstalled, but same result ... product photo still not showing ...
maybe it depends on the path to the image, but i'm not a developer ... trying to my best with my little code understanding  ....
this is how it looks the link to the image from the revws popup:
https://www.mudrashop.com/7327-home_default/telo-mare-90x165-cm-spugna-jacquard-stelle-marine-home-sweet-home.jpg
 this is how it looks the llink of the same product from the category page
https://www.mudrashop.com/4134-7327-home_default/telo-mare-90x165-cm-spugna-jacquard-stelle-marine-home-sweet-home.jpg
from the product page the link it looks like this:
https://www.mudrashop.com/4134-7327-thickbox_default/telo-mare-90x165-cm-spugna-jacquard-stelle-marine-home-sweet-home.jpg
It looks to me is a problem with the product id, only the attribute id is called .... but here i'm stuck!
Any more idea how to solve the problem?

Tks in advance for any suggestion and help ....
 

Link to comment
Share on other sites

@ariom the image url should not look like yours. They should include only image id, not product id. That means that url https://www.mudrashop.com/7327-home_default/telo-mare-90x165-cm-spugna-jacquard-stelle-marine-home-sweet-home.jpg is correct.

I don't know how you managed to get product id to the image url. Do you have some module or override that do this? Anyway, you are going to have problems with this schema, because most modules (and tb core) expects image id to be single identifier.

Note that you already have some problems on your site. On your homepage, products img elements contains this code

<img class="img-responsive center-block" 
     srcset="
             https://www.mudrashop.com/7900-home_default_smallest/borsina-a-tracolla-in-pelle-intrecciata-aba-368.jpg 211w,
             https://www.mudrashop.com/7900-home_default_smaller/borsina-a-tracolla-in-pelle-intrecciata-aba-368.jpg 218w,
             https://www.mudrashop.com/4663-7900-home_default/borsina-a-tracolla-in-pelle-intrecciata-aba-368.jpg 250w
     " 
     sizes="(min-width: 1200px) 250px, (min-width: 992px) 218px, (min-width: 768px) 211px, 250px" 
     alt="BORSINA A TRACOLLA IN PELLE INTRECCIATA ABA 368" title="BORSINA A TRACOLLA IN PELLE INTRECCIATA ABA 368" 
     itemprop="image" 
     width="250" 
     height="250">

 

As you can see, srcsset attributes references 3 versions of the image with id 7900, but only one of them contains product id (and is accessible).

I suggest you to investigate this problem right away.

Edit: it looks like this is caused by enabled PS_LEGACY_IMAGES option. You could try these steps

1) move legacy images:

image.png.641a2b8017a168eb6165b0fe9610f55d.png

2) disable Legacy Images option 

3) regenerate images

4) regenerate .htaccess 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Thanks @datakick for pointing me in the right direction ....
... this afternoon i will try to move all image to new file sistem, hoping this is goig to solve the issue
the strange is that looking at source code:on my local environment everythings seems correct

<img class="img-responsive center-block"
                                          srcset="
                     http://localhost/vendita/2563-6039-home_default_smallest/copricuscino-smile-poltrona-1-posto.jpg 211w,
                     http://localhost/vendita/2563-6039-home_default_smaller/copricuscino-smile-poltrona-1-posto.jpg 218w,
                     http://localhost/vendita/2563-6039-home_default/copricuscino-smile-poltrona-1-posto.jpg 250w"
                     sizes="(min-width: 1200px) 250px, (min-width: 992px) 218px, (min-width: 768px) 211px, 250px"
                     alt="COPRICUSCINO SMILE 1 POSTO"
                     title="COPRICUSCINO SMILE 1 POSTO"
                     itemprop="image"
                     width="250"
                     height="250"
                >

this make me little crazy about ... anyway i'll let you know after the appllying the suggested steps ...

Tks again!

Link to comment
Share on other sites

  • 2 weeks later...

Hi a quick question in regards to Revws and my cron ... I was adding a cron and somehow I accidentally added a reviews cron (don't know how I did but I did)and I cannot delete it now.. I even tried going though my phpmyadmin and deleting it ,but if you refresh the page it returns.If I try to delete in my shop admin nothing happens it just stays there. It also seems to enable itself.

Should also mention I have reset module and uninstalled module ,but it is still there when enabled again

Capture.JPG

Edited by AndyC
Link to comment
Share on other sites

19 hours ago, AndyC said:

Hi a quick question in regards to Revws and my cron ... I was adding a cron and somehow I accidentally added a reviews cron (don't know how I did but I did)and I cannot delete it now.. I even tried going though my phpmyadmin and deleting it ,but if you refresh the page it returns.If I try to delete in my shop admin nothing happens it just stays there. It also seems to enable itself.

Should also mention I have reset module and uninstalled module ,but it is still there when enabled again

cronjobs module offers api to integrate with other modules -- third party modules (like revws) can request periodic cron action. Cronjobs module will then create cronjobs entries for all these requests, and trigger third party modules hook periodically.

The question is, why do you need it to be disabled? If you don't want the emails to be sent, then simply disable the sending email functionality in revws settings. In that case, cron event will be a no-op. 

Link to comment
Share on other sites

Hi,

Ahrefs keeps reporting that a <h1> tag is missing for all our Revws pages and I'm having trouble finding a way to add them since there doesn't seem to be a provision for this anywhere in the back office. I suspect that it may need to be hard-coded somehow but that, to me, feels like a last resort kind-a-solution that could get overwritten with future updates anyway. Am I missing something here or was this function overlooked?

 

Link to comment
Share on other sites

  • 2 weeks later...

New free version 1.2.0 has been released

Premium version 2.2.0 with the same features + additional functionality (give coupon discounts for review) will be released in a few days.

FEATURES

  • Allow multiple review - there is new settings option that allows customers to review the same product multiple times
  • Show images in review list - attached images are now displayed directly in review list, so employee don't miss them when approving reviews

BUGFIXES

  • fixed PHP warning when loading entities
  • Added nofollow attribute to login link to prevent google complaints

 

 

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...