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

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

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

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

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

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

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

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

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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More