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