This topic has 4 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Rose Tyler
Hi,
We are currently migrating our review to yotpo.
I have encountered 2 issues:
1. The star review is not showing on the product category page, here is the staging site link: https://wordpress-1095720-3837730.cloudwaysapps.com/shop/
I have contacted Yotpo for help, here is their answer:
Regarding the first issue: Please try to use this code on your back-end website:
Here’s the article link for your reference: https://support.yotpo.com/docs/generic-other-platforms-installing-yotpo-reviews-v3#step-3-adding-the-star-rating-element
2. I also want to display the review widget before the related product block, it is now showing at the bottom: https://wordpress-1095720-3837730.cloudwaysapps.com/product/aani-pure-cashmere-featherlight-scarf-wrap/
Is it possible to help me fix these issue, you can test on my staging site and implement it on my live site: https://www.peilishop.com
Thanks,
Jimmy
Hello, Jimmy,
Thank you for contacting us and for using XStore.
We do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, but not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.
We kindly request you to provide us with FTP access in order for us to assess the situation and determine the best course of action to assist you.
To create FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption) , please contact your hosting provider for assistance.
Kind Regards,
8theme team
Please check the SFTP details, Please test on the staging site and make changes on the live site. Thank you.
Hello, Jimmy,
1/ ”The star review is not showing on the product category page” => We added the next code to your child-theme/functions.php:
add_action('et_after_shop_loop_title', function() {
global $product; ?>
<div class="yotpo bottomLine" data-yotpo-product-id="<?php echo (($sku = $product->get_sku()) ? $sku : esc_html__( 'N/A', 'xstore' ) ) . '/' . $product->get_ID(); ?>"></div>
<?php
});
according to the information from plugin docs but it seems that they missed smth to mention for making star-ratings work. So please, contact them and ask what should you add to make it work as expected. Now you have that block added on each product but each of them is empty → https://prnt.sc/aOEAHJELvj1d .
2/ “I also want to display the review widget before the related product block“ => We copied xstore/woocommerce/content-single-product.php to xstore-child/woocommerce/content-single-product.php and made the next modifications → https://prnt.sc/jWiXQ_QFgcRy
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up