Hi aleksandarstefanov,
Nothing is impossible.
Whenever you want to review of the product you can display on any page just need to hook and filter of proper place. Here I have see you one example. If you want display review on shop page just put below code in your active theme’s functions.php file.
add_action('woocommerce_after_shop_loop_item', 'add_star_rating' );
function add_star_rating()
{
global $woocommerce, $product;
$average = $product->get_average_rating();
echo '<div class="star-rating"><span style="width:'.( ( $average / 5 ) * 100 ) . '%"><strong itemprop="ratingValue" class="rating">'.$average.'</strong> '.__( 'out of 5', 'woocommerce' ).'</span></div>';
}
Thanks,
Rushabh Shah
I do that but nothing change. I want to put this reviews also on page ( Feedback with stars ) – https://adrenalinefashion.com/. I want reviews from product to come on this page too. Please help me.
Hi aleksandarstefanov,
I have understood your query. I want to suggest you below link. And I know it definitely helps you.
Plugin link
If you have any query or concern about same then please let me know so that I can help you.
Thanks,
Rushabh Shah
-
This reply was modified 8 years, 5 months ago by
Rushabh Shah.