Jump to content

Recommended Posts

On 18. 5. 2018 at 6:26 PM, mowax said:

 

This worked for me!!! Thank you so much for this. I am using Ps 1.7.3.2 and the warehouse theme (made by IQIT). I tested the checkout and I don't get any 500 error.

Great that you try to fix it for 1.7. Unfortunatelly I have the same errror (custom theme, derived from Classic, should be without bugs). The error in cart is "Notice: Undefined index: product" in  yotpo.php line 872.

EDIT: seems to work after I remove YotPo from   displayReassurance  hook.

Edited by webplus (see edit history)

Share this post


Link to post
Share on other sites
  • 6 months later...
  • Replies 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Yotpo Reviews Add-on We’re proud to introduce the FREE Yotpo reviews add-on to Prestashop. Our reviews add-on will help your shop generate significantly more reviews, and present them beautifully on

The module seems well designed but I always have some problems with such providers which keeps me away using them. For example with foxrate there is to much information transmitted to them, order data

This problem has not been resolved? I have several reviews on my account but cannot have the module running as my orders do not place correctly.  

Posted Images

Good day,

For prestashop 1.6 what would be the best way to export the product reviews that are already created with the standard review module in prestashop ?

I can use Phpmyadmin for export these reviews if needed. Or is there a free module to extract these existing reviews? 

Also is which format does the export file need to be saved ?  To use the extracted reviews in the product review template (for uploading existing reviews to yotpo).

So that i can be sure that the format will be correct to use in the  product reviews template from this page  https://support.yotpo.com/en/article/importing-your-reviews-to-yotpo

Some detailed guidance would be appriciated.

 

Edited by frontend (see edit history)

Share this post


Link to post
Share on other sites

Hi,

Yes, the review data is saved in your store database. You can export the data with PhpMyAdmin.

Here is the list of table you need to export, for original review module, product comments :

 

ps_product_comment
ps_product_comment_criterion
ps_product_comment_criterion_category
ps_product_comment_criterion_lang
ps_product_comment_criterion_product
ps_product_comment_grade
ps_product_comment_report
ps_product_comment_usefulness

Share this post


Link to post
Share on other sites

Hi Kevin

While i extracted the above tables (already done that when i found that info another topic) i get this format 

Example phpmyadmin ps_product_comment extraction

41,"161","0","0","titleofthereview","review,worksgreat","nameofreviewer","4","1","0","2018-09-25 09:58:06"

This format does not seem the same as the template-yotpo.xls to be used to submit the product reviews to yotpo.

For instance the template states the product url etc.. which the above extracted reviews do not show.. 

How do you go about this ?

 

template-yotpo.xlsx

Share this post


Link to post
Share on other sites

Ok, besides adding the product url etc manually. Best practise would be to only add reviews to the yotpo template for products that are still active on the shop ? 

Or can there also be review for products that are not enabled any more ?

 

Share this post


Link to post
Share on other sites

I did install the module and then send the template-yotpo.xlsx with existing reviews to yotpo. After implementation all looks nice. 

Some things i noticed though..

GTMETRIX Website loading score is more then doubled after the install.. 

image.thumb.png.378ead37f9d155e462ee1db6413ba60e.png

Normally my sites fully load below 1 second. Most people already have a slow prestashop website without yotpo so meaby do not notice the extra slow down. Yotpo loads many files. You guys see the same on your website ?

 

Share this post


Link to post
Share on other sites

Hi frontend,

Go to Yotpo dashboard / On-site Widgets and tick " better performance " instead of " immediate update ", this will use a CDN and your widget will load faster.

By the way the fully loaded time isn't a representative value because Yotpo widget is loaded as asynchronous javascript.

That means you page doesn't wait 2.1 sec to appear, it appears as usual in 0.7 sec and the Yotpo javascript appear after, so that doesn't change the user speed experience 🙂

Yotpo.jpg

Edited by KevinNash (see edit history)

Share this post


Link to post
Share on other sites
  • 1 month later...
On 12/6/2017 at 3:53 PM, iqit-commerce said:

Hello,

I made some modifications and module from attachment should be compatible with Prestashop 1.7(only 1.7 do not use this version with older Prestashop).

if you instaleld older module version on ps 1.7 uninstall it first and then install versiom from attachment.

 

yotpo.zip

Hi - managed to get this working on Prestashop 1.7 Product stars are displaying in product list page, but not on Product details pages>

Any idea why?

 

Thanks

Baz

Share this post


Link to post
Share on other sites

Hi ukbaz, add this code to your product.tpl, you should see the product stars ☺️ :

 

<div class="yotpo bottomLine"
data-appkey="{$yotpoAppkey|escape:'htmlall':'UTF-8'}"
data-domain="{$yotpoDomain|escape:'htmlall':'UTF-8'}"
data-product-id="{$yotpoProductId|intval}"
data-product-models="{$yotpoProductModel|escape:'htmlall':'UTF-8'}"
data-name="{$yotpoProductName|escape:'htmlall':'UTF-8'}"
data-url="{$yotpoProductLink|escape:'htmlall':'UTF-8'}"
data-image-url="{$yotpoProductImageUrl|escape:'htmlall':'UTF-8'}"
data-description="{$yotpoProductDescription|escape:'htmlall':'UTF-8'}"
data-bread-crumbs="{$yotpoProductBreadCrumbs|escape:'htmlall':'UTF-8'}"
data-lang="{$yotpoLanguage|escape:'htmlall':'UTF-8'}">
</div> 

 

Share this post


Link to post
Share on other sites

Hi Kevin - I had that originally and it wouldn't show the stars.

I now have this and stars are displaying - just wondering what I have will allow review and Question/answers to sync correctly with Yotpo?

Can you see any problem with it?

<!-- YOTPO ADDED CODE FOR RICH SNIPPETS -->
		<!-- Custom CODE FOR YOTPO REVIEWS IN PRODUCT LISTING -->
		<div class="yotpo bottomLine" 
		data-appkey="{$yotpoAppkey|escape:'htmlall':'UTF-8'}" 
		data-domain="{$yotpoDomain|escape:'htmlall':'UTF-8'}" 
		data-product-id="{$product.id_product}"
 		data-product-models="{$yotpoProductModel|escape:'htmlall':'UTF-8'}" 
		data-name="{$yotpoproduct.name|escape:'htmlall':'UTF-8'}" 
		data-url="{$product.link|escape:'htmlall':'UTF-8'}" 
		data-image-url="{$link->getImageLink($product.link_rewrite, $product.id_image, '')}" 
		data-description="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}"
 		data-bread-crumbs="{$yotpoProductBreadCrumbs|escape:'htmlall':'UTF-8'}"
		data-lang="{$yotpoLanguage|escape:'htmlall':'UTF-8'}"> 
		</div>
		<!-- END OF YOTPO Custom CODE ADDED -->
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
        <span itemprop="ratingValue">{if {hook h="yotpoProductAverageScore" product_id=$product->id} > 0 }{l s='Buyer Rating: '} {hook h="yotpoProductAverageScore" product_id=$product->id} {l s=' out of 5 from'}{/if} </span>
        <span itemprop="ratingCount">{if {hook h="yotpoProductReviewCount" product_id=$product->id} > 0 } {hook h="yotpoProductReviewCount" product_id=$product->id}</span>  {l s='Reviews'}{/if} 
</div>
<div class='yotpo QABottomLine'
	data-appkey="{$yotpoAppkey}"
	data-domain="{$yotpoDomain}" 
	data-product-id='{$yotpoProductId|intval}'>
</div>
<!-- END OF GOOGLE RICH SNIPPETS CODE -->

Thanks again

 

Baz

Edited by ukbaz (see edit history)

Share this post


Link to post
Share on other sites

Your code looks perfect to me ☺️

		<!-- Custom CODE FOR YOTPO REVIEWS IN PRODUCT LISTING -->
		<div class="yotpo bottomLine" 
		data-appkey="{$yotpoAppkey|escape:'htmlall':'UTF-8'}" 
		data-domain="{$yotpoDomain|escape:'htmlall':'UTF-8'}" 
		data-product-id="{$product.id_product}"
 		data-product-models="{$yotpoProductModel|escape:'htmlall':'UTF-8'}" 
		data-name="{$yotpoproduct.name|escape:'htmlall':'UTF-8'}" 
		data-url="{$product.link|escape:'htmlall':'UTF-8'}" 
		data-image-url="{$link->getImageLink($product.link_rewrite, $product.id_image, '')}" 
		data-description="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}"
 		data-bread-crumbs="{$yotpoProductBreadCrumbs|escape:'htmlall':'UTF-8'}"
		data-lang="{$yotpoLanguage|escape:'htmlall':'UTF-8'}"> 
		</div>
		<!-- END OF YOTPO Custom CODE ADDED -->

Can you told me where you found the first part ?

 

 

Share this post


Link to post
Share on other sites

Hi Kevin - Trial and error adapting what I'd put in product-list.tpl from the 1.6 version of site where I had this:

		<!-- ADDED CODE FOR YOTPO REVIEWS IN PRODUCT LISTING -->
				<div class="yotpo bottomLine" 
		data-appkey="{$yotpoAppkey}" 
		data-domain="{$yotpoDomain}" 
		data-product-id="{$product.id_product}"
 		data-product-models="" 
		data-name="{$product.name|escape:'htmlall':'UTF-8'}" 
		data-url="{$product.link|escape:'htmlall':'UTF-8'}" 
		data-image-url="{$link->getImageLink($product.link_rewrite, $product.id_image, '')}" 
		data-description="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}"
 		data-bread-crumbs=""> 
		</div>
		<!-- END OF YOTPO CODE ADDED -->

Best regards - and thanks

 

Baz

Share this post


Link to post
Share on other sites

SEO and reviews are two differents beasts frontend.

Trusted reviews reassure and raise customer engagement a lot 😉

You can have a very good SEO and a poor conversion rate because of lack of trust and engagement from customers.

Share this post


Link to post
Share on other sites

Actually the default review module from prestashop does seem to do the same for adding reviews (with a lot less code loaded). Not that i think Yotpo is a bad thing. Actually its great to have send a reminder to add a review.  As a company, having five star Google reviews seems to do more for trusting your company. Sometimes i get questions about my company. Ill send them the link to my google company page with + 250 five star Google reviews and trust is build very easy.

When i send the Yotpo reviews, then they have never heard of it. You should be realistic about that.

Share this post


Link to post
Share on other sites
  • 1 month later...

Hello,

using PS 1.7.5.1 with IQIT / warehouse theme (multilanguages & currencies). Installed the YOTPO module from the PrestaShop marketplace but it is causing the shop speed dramatically slow down. After disabling the module the site speed is fast again. Is there any Yotpo-module or code compatible with PS 1.7.5.1 without dropping the site speed too much? Also checked that the settings are "Better Performance" in Yotpo account. Any other than YOTPO modules having similar functions (review request with discount code & easy and quick reviews for customers)?

 

Thanks!

Share this post


Link to post
Share on other sites

OK it is not official Yotpo module ( official one goes up to PS 1.6, not PS 1.7 ).

You can test your page speed and requests number ( try with the Yotpo module enabled and disabled ) with this tool : https://tools.pingdom.com/

In my case with Yotpo enabled on PS 1.5 I have 63 requests, loading time 1,22 s, page size 9767,6 KB

If I was you I would contact the module developer if the result is bad, it shouldn't be bad 😉

Edited by KevinNash (see edit history)

Share this post


Link to post
Share on other sites
  • 8 months later...

Hello,

For conversion tracking, Yotpo module must be hooked on Prestashop Order confirmation page or it won't work. Alternatively, you can add conversion tracking code in order-confirmation.tpl https://support.yotpo.com/en/article/conversion-tracking

For emails can you please check your Yotpo Dashboard/Analytics/Emails ? Is there a value in the emails sent section on the upper left ?

 

 

Share this post


Link to post
Share on other sites
On 12/18/2019 at 10:46 PM, KevinNash said:

Hello,

For conversion tracking, Yotpo module must be hooked on Prestashop Order confirmation page or it won't work. Alternatively, you can add conversion tracking code in order-confirmation.tpl https://support.yotpo.com/en/article/conversion-tracking

For emails can you please check your Yotpo Dashboard/Analytics/Emails ? Is there a value in the emails sent section on the upper left ?

 

 

I need help about this code:

I know I have to add the APPKEY, but what about others code "######ORDER_ID######""?

 

<script type="text/javascript">(function e(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="//staticw2.yotpo.com/{{APP_KEY}}/widget.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();</script><script>yotpoTrackConversionData = {orderId: "######ORDER_ID######", orderAmount: "######ORDER_AMOUNT#####", orderCurrency: "######ORDER_CURRENCY#####"}</script><noscript><img src="//api.yotpo.com/conversion_tracking.gif?app_key={{APP_KEY}}&order_id=######ORDER_ID######&order_amount=######ORDER_AMOUNT#####&order_currency=######CURRENCY######" width="1" height="1"></noscript>

Share this post


Link to post
Share on other sites

Did you try to hook Yotpo module first, it is simplier than adding code ?

 

For manual code ORDER_ID, ORDER_AMOUNT and CURRENCY are optional. I am not a php specialist at all but I guess you must put Prestashop variables there, like id_order.

 

 

Edited by KevinNash (see edit history)

Share this post


Link to post
Share on other sites
On 12/21/2019 at 1:11 AM, KevinNash said:

Did you try to hook Yotpo module first, it is simplier than adding code ?

 

For manual code ORDER_ID, ORDER_AMOUNT and CURRENCY are optional. I am not a php specialist at all but I guess you must put Prestashop variables there, like id_order.

 

 

Kevin,

where should I hook it? my problem is after order cutomer never resived any email for feadback .

please help me ....

Share this post


Link to post
Share on other sites

For conversion tracking, Yotpo module must be hooked on Prestashop Order confirmation page or conversion tracking won't work. Look under modules position to see if it is hooked there and hook it manually if needed.

 

For emails, can you please check your Yotpo Dashboard/Analytics/Emails ? Is there a value in the emails sent section on the upper left ?

Share this post


Link to post
Share on other sites

Thanks for your masage, I can found I have this 2 hook:

{block name='hook_order_confirmation_1'}
    {hook h='displayOrderConfirmation1'}
  {/block}

  {block name='hook_order_confirmation_2'}
    <section id="content-hook-order-confirmation-footer">
      {hook h='displayOrderConfirmation2'}
    </section>

 

when I cheak my position back office Yotpo alreday in hook_order_confirmation_1, do I need to add it on _2 as well?

 

do you think I have to create my own hook, please note I am using one page cheackout module as well.

 

Share this post


Link to post
Share on other sites

Hi,

On PS1.6 there is only 1 hook : displayOrderConfirmation if there is rwo on PS1.7, yes, you should try to hook it on the second one.

That is this hook who is needed by Yotpo to get conversion tracking 😉

Share this post


Link to post
Share on other sites
On 2/8/2019 at 12:46 AM, ukbaz said:

Hi - managed to get this working on Prestashop 1.7 Product stars are displaying in product list page, but not on Product details pages>

Any idea why?

 

Thanks

Baz

hi mate,

after i use your update module for PS 1.7.6.1 i get error when Debug mode is on.

any sugestion?

 

yotpo.jpg

Share this post


Link to post
Share on other sites

Dear Kevin,

In yotpo side said that also I have to repalce this 

Additionally, replace the ######ORDER_ID#####, ######ORDER_AMOUNT##### - total amount paid for the order, and ######ORDER_CURRENCY##### portions of the code with the correct placeholders.

 

can you help me about that?

all the modules i have are update with 1.7 exept this:(

 

Share this post


Link to post
Share on other sites

Hi mir-aus,

For manual code ORDER_ID, ORDER_AMOUNT and CURRENCY are optional, it is not mandatory to add them.

Sadly, I am not a php specialist at all but I guess you must put Prestashop variables there, like id_order instead of ######ORDER_ID#####

Share this post


Link to post
Share on other sites
  • 1 month later...

Has anyone had any success integrating the 'review snippet' mentioned on this page? 

I have all structured data fields showing including aggregate rating, rating value & review count & as correct in the rich results testing tool on Google, but have one 'The review field is recommended' warning still showing. It's referred to on this page, but no luck implementing it!

https://support.yotpo.com/en/article/product-rich-snippets

Thanks

Baz

Share this post


Link to post
Share on other sites

Hi, it works fine on my side but Google did some modifications recently, giving me a lot of work on snippet code.

Can you share your website url so I can take a look ( PM me if you don't want to share your website on the forum ).

Edited by KevinNash (see edit history)

Share this post


Link to post
Share on other sites

Hi again ukbaz,

I got your PM, you can also use this Google tool to test, it is better with more informations https://search.google.com/structured-data/testing-tool/

As I thinked it is because of Google new guidelines for snippets, you're missing the Review field ( it is not mandatory by the way ).

In your product.tpl just under this actual Yotpo code :

<div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating" style="display:none">
        <span itemprop="ratingValue">{hook h="yotpoProductAverageScore" product_id=$product->id}</span>
        <span itemprop="ratingCount">{hook h="yotpoProductReviewCount" product_id=$product->id}</span>
</div>

Add this code and you should be good to go 😀

 <div itemprop="review" itemscope itemtype="https://schema.org/Review" style="display:none">
     <span itemprop="author">{Configuration::get('PS_SHOP_NAME')}</span>,
     <meta itemprop="datePublished" content="{'Y'|date}-{'m'|date}-{'d'|date}">
     <div itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating">
         <span itemprop="ratingValue">{hook h="yotpoProductAverageScore" product_id=$product->id}</span>
     </div>
 </div>

 

Edited by KevinNash (see edit history)
  • Like 1

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

×
×
  • Create New...

Important Information

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