Jump to content
DataKick

[Free Module] Revws - Product Reviews - PS1.6/PS1.7

Recommended Posts

On 12/11/2018 at 6:53 AM, DataKick said:

Hi, 

module can be fully translated from you prestashop's back office. Go to Localization > Translations, choose Type of translations = Installed modules translations, and then find Revws sections (there are more than one).

 

ok, tnx I found  :)

Share this post


Link to post
Share on other sites

Hello DataKick,

I have installed your module in my store and it works well, only 2 aesthetic things fail me

1.- Can I do that in the list of products, if there are no opinions, do not show the opinion counter (ie if the stars but not "0 comments"

2.- Can I make the stars do not have rounded tips? I can not find the sgv to modify them.

Thank you so much

Share this post


Link to post
Share on other sites

Hello

How is the email sent to the customer to rate the products? Is there a model that we can see? thank you in advance and merry christmas

Share this post


Link to post
Share on other sites
9 hours ago, nevohteeb said:

Hello

How is the email sent to the customer to rate the products? Is there a model that we can see? thank you in advance and merry christmas

You can test the functionality on my demo account, unfortunately my server is configured in a way that no email is sent outside. Review request email looks like this:

img.thumb.png.26b742bf6cdcdb1aa58e366c10e4c015.png

 

 

 

Share this post


Link to post
Share on other sites

@DataKick are you interrested I post here - for free - the migrate-script to superceed the module gsnippetsreviews?

 

  • Like 1

Share this post


Link to post
Share on other sites

Hello

Thanks DataKick for your reply.  The custumer can click on the product and rate it and comment directly from the mail ?  And for all products ordered ?

I have the free version in v1.0.21 how to switch to the paid version without losing anything notice and translation ?

Thanks 

Edited by nevohteeb

Share this post


Link to post
Share on other sites
13 hours ago, doekia said:

@DataKick are you interrested I post here - for free - the migrate-script to superceed the module gsnippetsreviews?

 

That would be awesome, @doekia

Share this post


Link to post
Share on other sites
1 hour ago, nevohteeb said:

Hello

Thanks DataKick for your reply.  The custumer can click on the product and rate it and comment directly from the mail ?  And for all products ordered ?

I have the free version in v1.0.21 how to switch to the paid version without losing anything notice and translation ?

Thanks 

Hi,

The email will contain request to review all purchased products that customer haven't reviewed yet. Premium version is just another version of the free module, you can simply upload it to your server (overwrite free version) and it will upgrade itself. Just do not uninstall / reset free module.

 

Share this post


Link to post
Share on other sites

Actually  you have to run it by yourself (changing PREFIX_ with your db prefix)

The integration within the module requires js sources (pre-compression) I don't have them

Share this post


Link to post
Share on other sites
4 minutes ago, doekia said:

En fait, vous devez l'exécuter vous-même (en changeant PREFIX_ avec votre préfixe db)

L'intégration au sein du module nécessite des sources js (pré-compression) je ne les ai pas

Merci pour ta réponse.!

Share this post


Link to post
Share on other sites

Hello,

I have a problem with "Review criteria".
When I import the criteria, the criterion changes to "Quality" - when I create a new rating criterion (stars) from the reviews are removed. How can I create my own criteria and keep stars in imported reviews?

Share this post


Link to post
Share on other sites

Import functionality is strictly for initial data load. It always remove all existing reviews and review criteria. When the import finishes, there is only one criterion named quality. If you remove this criterion, every grading associated with it will be removed as well. 

You can rename criterion. 

You can also edit this criterion, mark is as non-global, and don't associate it with any product or category. This way the criterion will be active, but it won't be offered when you create new reviews. 

I hope that makes sense

  • Like 1

Share this post


Link to post
Share on other sites

Thank you for your quick help. I changed the name of the criterion and it works ok !

Share this post


Link to post
Share on other sites
On 12/12/2018 at 9:11 PM, lukash4 said:

ok, tnx I found  :)

Hi,

When i save translations in Localization > Translations, Type of translations = Installed modules translations, Revws sections

the fields remain empty. I have to redo the recording several times before I get to save correctly.

I'm in PS 1.7.5 ans Revws 1.0.22

Can you help me?

Thank you

Share this post


Link to post
Share on other sites
20 hours ago, collybry said:

Hi,

When i save translations in Localization > Translations, Type of translations = Installed modules translations, Revws sections

the fields remain empty. I have to redo the recording several times before I get to save correctly.

I'm in PS 1.7.5 ans Revws 1.0.22

Can you help me?

Thank you

Unfortunately this is problem with prestashop core, not with my module. I can't help you with that

 

Share this post


Link to post
Share on other sites

What regularly happens is that translation is correctly saved but not reflected withing the BO unless you fuly refresh the page

Share this post


Link to post
Share on other sites

Hello, browser changes...?

Edited by Soyons zen

Share this post


Link to post
Share on other sites
Posted (edited)

Hello

i have a problem. Module doesn't work

in debug console on Chrome i have this message:

Access to XMLHttpRequest at 'https://xxxxx/module/revws/api' from origin 'http://xxxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

I dont know what i do

I tested the module previously on the same server and it worked

 

Help!

 

Edited by collybry
Module doesn't work

Share this post


Link to post
Share on other sites
On 10/19/2018 at 12:33 PM, Rai said:

Hi,


First of all, congrats for the Incredible module.

I have installed it on ps 1.7.4.2, all seems ok, but it dont show the ratings...

 

Can you help me out?

 

thanks

 

 

Captura.JPG

I'm running on 1.7.4.4 and I'm having exactly the same issue as you. Did you manage to solve this?

Share this post


Link to post
Share on other sites
On 1/1/2019 at 12:58 PM, collybry said:

Hello

i have a problem. Module doesn't work

in debug console on Chrome i have this message:

Access to XMLHttpRequest at 'https://xxxxx/module/revws/api' from origin 'http://xxxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

I dont know what i do

I tested the module previously on the same server and it worked

 

Help!

 

 

Share this post


Link to post
Share on other sites
On 1/1/2019 at 12:58 PM, collybry said:

Hello

i have a problem. Module doesn't work

in debug console on Chrome i have this message:

Access to XMLHttpRequest at 'https://xxxxx/module/revws/api' from origin 'http://xxxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

I dont know what i do

I tested the module previously on the same server and it worked

Help!

 

Well, this is cors problem. This is caused when javascript served from one origin/domain tries to communicate with rest api endpoint on different domain. Do you have some sort of cdn? Or maybe media servers enabled? Please share url to your server

 

Share this post


Link to post
Share on other sites

Your website is on http and call an https server^^

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, jaimesks said:

how could I eliminate this message

 

In settings :) Note that this is premium functionality only. 

 

automation.png.d1b54817d543923e113fde594c8ce31c.png

 

Edited by DataKick

Share this post


Link to post
Share on other sites

Hello. Thank you for this great module. I have noticed on you demo site that the average rating is displayed in product category under the item name. Like on the picture below.

image.png.ff1405e97c9870f1e6bd45254c5fd5d3.png

 

I have problems achiving the same thing. I have this rating only in Additional Info section. I switched to Custom placement and when I insert the hook in product.tpl file I have Error 500 hook displayRevwsAverageRating called without product. I do not know what I am doing wrong. I am using free theme called Bentriz. In product.tpl I have found this code. I believe I need to put this hook somewhere in here, but I do not know where. I tried putting in different lines and I always had Error 500. Can you help me?

{block name='product_miniature_item'}
    <div class="product-item list-view">
        <article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">
            <div class="thumbnail-container">
                <div class="product-image-block">
                    {block name='product_thumbnail'}
                        <a href="{$product.url}" class="thumbnail product-thumbnail">
                            <img
                                src = "{$product.cover.bySize.home_default.url}"
                                alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
                                data-full-size-image-url = "{$product.cover.large.url}" />
                        </a>
                    {/block}
                    {if $product.show_price}
                        {if $product.has_discount}
                            {if $product.discount_type === 'percentage'}
                                <span class="discount-percentage">{$product.discount_percentage}</span>
                            {/if}
                        {/if}
                    {/if}
                    {block name='product_flags'}
                        <ul class="product-flags">
                            {foreach from=$product.flags item=flag}
                                <li class="product-flag {$flag.type}">{$flag.label}</li>
                                {/foreach}
                        </ul>
                    {/block}
                    <div class="highlighted-informations{if !$product.main_variants} no-variants{/if} hidden-sm-down">
                        {block name='quick_view'}
                            <a class="quick-view" href="#" data-link-action="quickview">
                                <i class="material-icons search">&#xE8B6;</i> {l s='Quick view' d='Shop.Theme.Actions'}
                            </a>
                        {/block}
                        {block name='product_variants'}
                            {if $product.main_variants}
                                {include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants}
                            {/if}
                        {/block}
                    </div>
                </div>
                <div class="product-description">
                    {block name='product_name'}
                        <h1 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:180:'...'}</a></h1>
                        {/block}
                        {block name='product_description_short'}
                        <div class="product-short-desc" id="product-description-short-{$product.id}" itemprop="description">{$product.description_short nofilter}</div>
                    {/block}
                    {block name='product_price_and_shipping'}
                        {if $product.show_price}
                            <div class="product-price-and-shipping">
                                {if $product.has_discount}
                                    {hook h='displayProductPriceBlock' product=$product type="old_price"}

                                    <span class="sr-only">{l s='Regular price' d='Shop.Theme.Catalog'}</span>
                                    <span class="regular-price">{$product.regular_price}</span>
                                {/if}
								
                                {hook h='displayProductPriceBlock' product=$product type="before_price"}

                                <span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>
                                <span itemprop="price" class="price">{$product.price}</span>

                            </div>
                        {/if}
                    {/block}
                    <div class="add">
                        <form action="{$urls.pages.cart}" class="cart-form-url" method="post">
                            <input type="hidden" name="token" class="cart-form-token" value="{$static_token}">
                            <input type="hidden" value="{$product.id_product}" name="id_product">
                            <input type="hidden" class="input-group form-control" value="1" name="qty" />
                            <button data-button-action="add-to-cart" class="btn btn-primary">{l s='Add to cart' d='Shop.Theme.Actions'}</button>
                        </form>
                    </div>
                    {block name='product_reviews'}
                        {hook h='displayProductListReviews' product=$product}
                    {/block}
                </div>
            </div>
        </article>
    </div>
{/block}

 

 

 

Share this post


Link to post
Share on other sites
9 hours ago, banan_44 said:

Hello. Thank you for this great module. I have noticed on you demo site that the average rating is displayed in product category under the item name. Like on the picture below.

I have problems achiving the same thing. I have this rating only in Additional Info section. I switched to Custom placement and when I insert the hook in product.tpl file I have Error 500 hook displayRevwsAverageRating called without product. I do not know what I am doing wrong. I am using free theme called Bentriz. In product.tpl I have found this code. I believe I need to put this hook somewhere in here, but I do not know where. I tried putting in different lines and I always had Error 500. Can you help me

 

 

Review ratings is rendered inside product miniature using hook

{hook h='displayProductListReviews' product=$product}

I can see that your theme already contains this hook. So it should work. Ensure that you have correct settings:

average.png.d202393bfc0d7e97c16755cb9fe4699d.png

Also don't forget to clear cache. 

If it still not working, let me know url to your prestashop. And it's version

 

 

Share this post


Link to post
Share on other sites

Thank you for your quick reply. I had the same setting as in your screenshot, it does not work. When I changed the setting to Render empty ratings empty stars appear just like on the screenshot below. The are not corresponding to the actual average rating of the item and clicking on them just refresh the category page. Inserting hook 'displayRevwsAverageRating' instead of 'displayProductListReviews' causes Error 500. Inserting 'displayRevwsAverageRating' anywhere inside product miniature block causes Error 500. I have sent you the address to my shop. I use Prestashop 1.7.5.0

 

image.png.b2969eaecca29a4ab29c016af87677f5.png

Share this post


Link to post
Share on other sites
On ‎1‎/‎8‎/‎2019 at 7:01 AM, DataKick said:

Well, this is cors problem. This is caused when javascript served from one origin/domain tries to communicate with rest api endpoint on different domain. Do you have some sort of cdn? Or maybe media servers enabled? Please share url to your server

 

Solved:

the error occurred after enabling simplified URLs
Disabling and everything works.

Share this post


Link to post
Share on other sites

I have disabled Smarty cache, but this did not solve the problem. I have disabled friendly URL, did not help either. I even disabled both options at the same time. Still have this issue..

Share this post


Link to post
Share on other sites
5 hours ago, jaimesks said:

How can I import my product Reviews

Module has rudimentary support for data *migration*, not import. You can migrate data from productcomments module, or from yotpo csv file. By doing so, you will loose your current reviews, if you have any.

Alternative is to use my DataKick module. It's a full fledged tool for data export and import, and it supports revws module data as well. Using this module you can set up automatic backup of your reviews data. You can also import reviews and criteria in any mode you need -- replace existing or add missing reviews, update reviews, etc...

you can give that module a try. It's paid, but is has 14 days free trial period. Just follow the link in my signature

Share this post


Link to post
Share on other sites

you have an example to load it

I have tried several things with your module but nothing works, which hurts that this module or in the premium version has the option to export the data

Edited by jaimesks

Share this post


Link to post
Share on other sites
12 hours ago, jaimesks said:

you have an example to load it

 

It really depends on what data you have available. DataKick module works with xml files only, so if you have csv, you will first need to convert it to xml.

Once you have xml file, you need to

1) create new import datasource - simply upload your xml file

2) create new import definition, and map your data. You need to map both reviews, and review ratings. Mapping is different for every xml format, obviously

Share this post


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

@DataKick have you managed to check my shop and my issue?

I can't really say what's wrong.  I would need to see if there's any error messages in your error log, have your theme source, and have access to sql tool to run queries agains your database.  

Share this post


Link to post
Share on other sites

For those of you running revws on prestashop 1.7.5.0:

If you are having problems displaying stars inside product listing pages (category, homepage,...), than it's caused by ps1750 introduced backward incompatible change. Hooks now receive ProductLazyArray object instead of Product object, and that causes problems. Next version of revws will fix this. Meanwhile, you can edit revws.php file, find method hookDisplayProductListReviews, and change line      

$productId = self::getProductId($params['product']);

to

 $productId = $params['product']->getId();

That should help. 

  • Like 1

Share this post


Link to post
Share on other sites

Tried that but ended with Error 500 Parse error: syntax error, unexpected ' ' (T_STRING) on line 440

Share this post


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

Tried that but ended with Error 500 Parse error: syntax error, unexpected ' ' (T_STRING) on line 440

You must have made some mistake or typo. Or it could be editor problem - what editor did you use to change the file? (some editors changes quotes, etc...)

Share this post


Link to post
Share on other sites

hi

i use prestashop 1.6.1.20

php 7.0

and i tested 2 version of your module ( 1.6.0.20 and 1.6.0.22 )

the problem is :

logged in customer cant send review and module say :

Failed to create review

but with guest user everything is perfect !

 

Share this post


Link to post
Share on other sites
6 hours ago, irapp said:

logged in customer cant send review and module say :

Failed to create review

 

That's weird. Are the reviews created (can you see them in back office), or not? PM me your url, I'll test 

 

Share this post


Link to post
Share on other sites
5 hours ago, DataKick said:

 

That's weird. Are the reviews created (can you see them in back office), or not? PM me your url, I'll test 

 

i send a pm

thanx for your support

Share this post


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

You must have made some mistake or typo. Or it could be editor problem - what editor did you use to change the file? (some editors changes quotes, etc...)

I am using Notepad++. I just tried again and this time it worked. Now I have stars in categories. Thank you for the fix :)

Share this post


Link to post
Share on other sites

hi

i use your module in my shop and thanx about for this great module

i have a problem with showing Publication date of reviews :

my country date format is hijri shamsi (iranian , persian) when a product page so have reviews loading ,  for few secound ( I mean, before loading is complete )  Publication date of comment is hijri  shamsi and THEN (after loading completed ) date change to Gregorian date

can you help me about this problem

regards

date.png

Edited by irapp

Share this post


Link to post
Share on other sites

Hi everyone,

I've released a new premium version of revws module. Upgrade 2.0.4 brings one of the feature everyone asked me about - Store Reviews. You can check this new functionality on my demo account - front office / back office. If you don't need this feature, free version is still there and fully supported.

9461563_storereviews.png.35f656b7f77892fca8d00346382032be.png

Share this post


Link to post
Share on other sites

Hi, this is great upgrade and I can only suggest the paid version to everyone!  Congratulations! 👍

Is it possible to import store reviews? There is no such option available at the moment... product reviews import only.

Share this post


Link to post
Share on other sites
1 hour ago, mr_absinthe said:

Hi, this is great upgrade and I can only suggest the paid version to everyone!  Congratulations! 👍

Thanks for the shout out. I really appreciate it.

1 hour ago, mr_absinthe said:

Is it possible to import store reviews? There is no such option available at the moment... product reviews import only.

Module does not have any import functionality, only migration. Migration utility from yotpo already supports importing store reviews. But this utility replaces all existing reviews with the data from yotpo csv file, so it's not usable for just adding new reviews.

Fortunately, that can be done using my DataKick export / import module. You just need to convert your csv file into valid xml file, for example by using this online tool: http://convertcsv.com/csv-to-xml.htm

If you are unsure how to do that, email me your access credentials, and I can set the import for you. It just takes one minute to do so 

Edited by DataKick

Share this post


Link to post
Share on other sites

hi sir @DataKick

I have upgraded my prestashop from 1.6 to 1.7 and my question is:

How can I import old comments on revws prestashop  1.6 into new revws 1.7?

 

Best Regards

Share this post


Link to post
Share on other sites

Unfortunately there is still no generic import in the module yet. But you can export all your reviews in your old ps16 into xml file. Then install my export/import module into your ps17, and import reviews and criteria using this tool

Share this post


Link to post
Share on other sites
12 hours ago, DataKick said:

Unfortunately there is still no generic import in the module yet. But you can export all your reviews in your old ps16 into xml file. Then install my export/import module into your ps17, and import reviews and criteria using this tool

thank you sir

I exported the .xml file from 1.6 and imported to 1.7

but I get some errors and half of reviews dosn't import as I attach some screenshots.

thanks for your kind help.

Capture.PNG

map field.PNG

relationships.PNG

Share this post


Link to post
Share on other sites
10 hours ago, alisafavieh said:

thank you sir

I exported the .xml file from 1.6 and imported to 1.7

but I get some errors and half of reviews dosn't import as I attach some screenshots.

thanks for your kind help.

 

Do you have same product ID on your original ps16 and ps17 shop? It seems to me that these changed, and that's causing the problems during import

 

Share this post


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

 

Do you have same product ID on your original ps16 and ps17 shop? It seems to me that these changed, and that's causing the problems during import

 

Yes, they are completely same as original ps16 shop. 

Share this post


Link to post
Share on other sites
1 hour ago, alisafavieh said:

Yes, they are completely same as original ps16 shop. 

Hard to say. Anyway, let take this discussion of this topic, as it's not related (much) to this module. If you PM me credentials to your back office, and xml file with reviews, I could have a look where the problem is 

Share this post


Link to post
Share on other sites
Le 04/02/2019 à 7:32 AM, DataKick a dit :

Unfortunately there is still no generic import in the module yet. But you can export all your reviews in your old ps16 into xml file. Then install my export/import module into your ps17, and import reviews and criteria using this tool

Hi Datakick,

Many thanks for your free module.
How to export my old reviews into xml please ?

Share this post


Link to post
Share on other sites
1 hour ago, P i l o u said:

How to export my old reviews into xml please ?

If you want to export reviews from revws module, then go to Reviews tab, and click on icon in upper right corner. You'll get to Import / Export section.

 

Share this post


Link to post
Share on other sites

Hey,

Thanks for your answer, but I want to export the comments made with the inside Ps 1.6 module "productcomments".

You told :

Le 04/02/2019 à 7:32 AM, DataKick a dit :

Unfortunately there is still no generic import in the module yet. But you can export all your reviews in your old ps16 into xml file. Then install my export/import module into your ps17, and import reviews and criteria using this tool

I just asked how can I export all actual reviews into a xml file, so I can import them into your module.

 

ps: sorry for my poor english.

Edited by P i l o u

Share this post


Link to post
Share on other sites
4 minutes ago, P i l o u said:

Hey,

Thanks for your answer, but I want to export the comments made with the inside Ps 1.6 module "productcomments".

You told :

I just asked how can I export all actual reviews into a xml file, so I can import them into your module.

I don't think productcomments module offer any export functionality, but to be sure you'd need to ask its developer. 

But revws module has functionality to migrate productcomments reviews. If you install it alongside productcomments module, then all you need to do is click on a import button and revws will be populated.

Share this post


Link to post
Share on other sites

You will not find it in settings page. Go to Catalog > Product Reviews, switch to Reviews tab, and then click on the button in upper right corner.

Share this post


Link to post
Share on other sites

Thank you for update and new features of paid version! Going to test 👍

Edited by Un_Tal_Iban

Share this post


Link to post
Share on other sites

In the premium version the customer gets a link to the feedback form or can he write the opinion directly in the email he received?

Share this post


Link to post
Share on other sites
12 hours ago, lukash4 said:

In the premium version the customer gets a link to the feedback form or can he write the opinion directly in the email he received?

There's a link to review form, as it's not possible to embed html forms into emails. The stars in email reacts on mouse hover.

Default email looks something like this (you can of course modify it):

 

email.png.0856f926b620a32ab0a0d108ee0c6a20.png

  • Like 1

Share this post


Link to post
Share on other sites

 

Hello,

How could I modify the date of the comments in the database?

Thank you

Share this post


Link to post
Share on other sites
4 minutes ago, MD85 said:

 

Hello,

How could I modify the date of the comments in the database?

Thank you

Revws module doesn't support that. You can download my DataKick module (see link in my signature) and use it to modify data, either by inline editing or by mass update

Share this post


Link to post
Share on other sites
Le 05/02/2019 à 2:16 PM, DataKick a dit :

You will not find it in settings page. Go to Catalog > Product Reviews, switch to Reviews tab, and then click on the button in upper right corner.

Hello Datakick,

I could import the Reviews from Ps module, but it do no import the stars...

Do you know how can I do that please ?

Share this post


Link to post
Share on other sites
3 hours ago, P i l o u said:

I could import the Reviews from Ps module, but it do no import the stars...

Hi,

I've just tested this functionality and it works correctly, reviews are migrated including stars/ratings

Share this post


Link to post
Share on other sites
  On 2/6/2019 at 7:02 PM, MD85 said:

 

Hello,

How could I modify the date of the comments in the database?

Thank you

Revws module doesn't support that. You can download my DataKick module (see link in my signature) and use it to modify data, either by inline editing or by mass update

  El 2/6/2019 a las 7:02 PM, MD85 dijo:

Hi,

 

In reference to this answer, from the database if you can, right?

Thank you

----

Share this post


Link to post
Share on other sites

@MD85 of course you can change it directly in the database. Look for table ps_revws_review, column date_add

Share this post


Link to post
Share on other sites

I'm happy to introduce another free version 1.0.23:

Enhancements

  • Issue 86 - custom placement for review average - you can now position stars/ratings widget anywhere on your product page. For example prominently below product title
  • Issue 97 - added shortcuts from settings page to reviews, import, criteria pages
  • Issue 100 - added configuration option for number of reviews to be displayed on all-reviews / my-reviews page
  • Issue 48 - you can now edit review date from back office
  • Issue 47 - review lists can now be filtered by category and brand.

Bugfixes

  • Issue 90 - fix pagination problem that occured on some versions of MariaDB without proper support for SQL_CALC_FOUND_ROWS
  • Issue 96 - fixed overflow problems with long review content
  • Issue 20 - read review link now works in quick view
  • Issue 99 - don't filter reviews on my-reviews page by selected language
  • and of course, the issue with stars not displaying in product list (prestashop 1.7.5++ only)

Tip and tricks

Try adding this short snippet somewhere into your smarty template. It will display product reviews associated with category 4

{hook h='displayRevwsReviewList' category=4 }

Share this post


Link to post
Share on other sites
31 minutes ago, lukash4 said:

How can I import previously exported reviews?

There's no such functionality in the module yet. You can use my datakick module to import it back, though

Share this post


Link to post
Share on other sites

Hello

 

i need help, im totally new in prest shop and i don't know how to move Ratings view under Product name like on attached photo , please help.

Move.png

Share this post


Link to post
Share on other sites
1 hour ago, Mendus said:

i need help, im totally new in prest shop and i don't know how to move Ratings view under Product name

Go to revws settings, and in Product detail page section set Display review average = Custom placement

prodplacement.png.eff8559c80bcb5151daab188bdc54fe7.png

Now you need to edit your theme, and insert code

{hook h='displayRevwsAverageRating' mod='revws'}

where you want Ratings to be displayed. In prestashop 17 you will probably want to edit file 

/themes/<themename>/templates/catalog/product.tpl

And that's it'.

prod.png.5c6e4deafa77435dadf30f7afef385ed.png

 

If you want to edit Ratings content, then copy file

/modules/revws/views/templates/hook/review-average.tpl

to 

/themes/<yourtheme>/modules/revws/views/templates/front/review-average.tpl

and then modify the new file according to your needs

 

Share this post


Link to post
Share on other sites
21 hours ago, MarcinJJ said:

Hello,

I have problem with revws module and fancybox.

I got this error:

image.png.a45142fadac46e2c875c3bc689576a05.png

when i turn off mudule everythink is ok.

My website: http://naturestyle.pl

My fancybox is from here https://fancyapps.com/fancybox/3/

Maybe someone have this problem and solved it.

 

Petr Hučík author of this module solved this problem,

We have to remove this line in revws.php file (or remove our  fancybox)

$controller->addJqueryPlugin('fancybox');

bcs i loaded two version of fancybox and had conflict.

Thanks a lot, Petr Hučík

 

Share this post


Link to post
Share on other sites

First of all, thanks for your amazing work and your support.

 

I am using your free module in a Prestashop 1.6.1 shop. At the review form, I am experiencing an issue with the image size.

image.thumb.png.763486a6e56097fa798bd94333929491.png

It only happens when the screen size is over 1056px.Under that size, the image disapears and the form fields take all the width. 

 

My question is, can I resize anywhere the image shown there, or if not possible, remove it completly from the form?

 

It hapens with the new high res pics we are updating the catalog with. 

 

Thanks in advance.

Share this post


Link to post
Share on other sites
18 minutes ago, MarcinJJ said:

Petr Hučík author of this module solved this problem,

We have to remove this line in revws.php file (or remove our  fancybox)

$controller->addJqueryPlugin('fancybox');

bcs i loaded two version of fancybox and had conflict.

Thanks a lot, Petr Hučík

 

 

Let me clarify a little bit more. What is wrong here is that your website loads its own (new) version of fancybox jquery plugin, as part of theme js. This works as long as the original jquery plugin is not loaded...

Because revws module needs this plugin in order to work correctly, it instruct prestashop core to load it. Now, there are two versions of the fancybox in the page, which causes the problems. Note that there are many modules that needs (and loads) this jquery plugin. And it is also loaded in some core prestashop pages. That means that your problem can re-occur in the future, whenever you install any module that needs this plugin.

The solution is not to modify these third party modules, but to change the way you integrated new version of fancybox to your site. You can either import it under different name (for example fancyboxNew). Or you can replace old implementation with new one, but only if it's compatible.

BTW, please check that the revws module works correctly with the *new* version of fancybox. It's quite possible that it will not.

Edited by DataKick

Share this post


Link to post
Share on other sites
6 minutes ago, masecor said:

First of all, thanks for your amazing work and your support.

 

I am using your free module in a Prestashop 1.6.1 shop. At the review form, I am experiencing an issue with the image size.It only happens when the screen size is over 1056px.Under that size, the image disapears and the form fields take all the width. 

 

My question is, can I resize anywhere the image shown there, or if not possible, remove it completly from the form?

It hapens with the new high res pics we are updating the catalog with. 

  

Thanks in advance.

Please PM me your shop url. This can probably be fixed by some small css tweak

Share this post


Link to post
Share on other sites

Thank you very much for your help. 

 

I totally recomend getting the paid version of the module, even if it is to support the creator that made an awesome work with the module, and gives an awesome assistance as you can see in this threat. 

 

 

Share this post


Link to post
Share on other sites

Hi, I've few small issues with the premium version.

1/ none of pages such as module-revws-AllReviews, module-revws-StoreReviews and module-revws-ProductReviews will show in sitemap - I mean the Sitemap link that is in footer. How can I achieve that those pages will show there?

2/ is it possible to hide review average in grid view and keep it in list view?

Share this post


Link to post
Share on other sites
5 hours ago, mr_absinthe said:

Hi, I've few small issues with the premium version.

1/ none of pages such as module-revws-AllReviews, module-revws-StoreReviews and module-revws-ProductReviews will show in sitemap - I mean the Sitemap link that is in footer. How can I achieve that those pages will show there?

2/ is it possible to hide review average in grid view and keep it in list view?

1) Prestashop does not offer any extension point in sitemap controller, there's no easy way to hook here. You'll need to modify your theme and add link by hand, or use some dedicated module fo this

2) grid/list view is pretty theme specific, it's usually done using js/css only. You will need to investigate your theme options

Share this post


Link to post
Share on other sites

OK, thank you I'll try to investigate with the theme.

If there are no reviews, there is a button in reviews tab "Be the first to write a review!". Is it possible to replace the button with just an underline text? If I change a class="btn btn-primary" with a style="text-decoration-line: underline; in entity-review-list.tpl, it doesn't help.

Also, I've edited file revws-bootstrap-2_0_4.js section that reads:

* this function will not work on all themes. Change it if you use tabs,  and reviews tab will not open automatically when you click on 'read reviews'

and because the link on product page was still pointing to ... ?show=reviews#idTabRevws, I also edited file hook/review-average.tpl

The link is OK now but it will not open the tab, id does nothing. Can you please help me to fix it?

Edited by mr_absinthe
correction

Share this post


Link to post
Share on other sites

It looks like only reviews for one language are displayed. I want all reviews from all languages. Can I do that?

Edit: nevermind, found it in the module settings :)

 

Edited by fourarrow

Share this post


Link to post
Share on other sites

Hello. As I see this module is rewriting html tags in content fields. How can I use html tags inside review content? I need to insert iframe and link tags.

Share this post


Link to post
Share on other sites
On 2/6/2018 at 1:57 PM, DataKick said:

Hello,
With your module, it is possible to put the average rating and the number of reviews shop and customers on all pages (home, categories ...), for example in the footer?
Cordially.
Emilie Leroy

On 2/6/2018 at 1:57 PM, DataKick said:

 

 

Share this post


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

Hello. As I see this module is rewriting html tags in content fields. How can I use html tags inside review content? I need to insert iframe and link tags.

Review content is sanitized on purpose, otherwise it would open your website to attacks. There's a plan to support *some* rich content in reviews, but it will never allow raw html.

Share this post


Link to post
Share on other sites