Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

datakick

[Free Module]Revws - Product Reviews

Recommended Posts

Posted (edited)

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

Share this post


Link to post
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. 

Share this post


Link to post
Share on other sites
Posted (edited)

Ok, thanks for clarification! In the field where you gave localhost:8080 we put the address of the correct server url?

Edited by Adik

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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?

 

 

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

 

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 2

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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

Share this post


Link to post
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 ....
 

Share this post


Link to post
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

Share this post


Link to post
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!

Share this post


Link to post
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

×