Grouped products in WooCommerce are like lists of other products from your shop, and as a result they do not have reviews of their own. Let's see how to use one of the shortcodes that come with our plugin to display reviews corresponding to products linked to a grouped product on a page of that grouped product.

In this article, we discussed how to display reviews of a product with a shortcode. If you want to display reviews of child products linked to a grouped product, please add this code snippet to the product page template on your website:

$parent_product_id = get_queried_object_id(); // get the current (group) product ID
$child_product_ids = get_post_meta( $parent_product_id, '_children', true ); // get the child product IDs
$child_product_ids = join( ',', $child_product_ids ); // convert IDs from an array to a string
echo do_shortcode( '[cusrev_reviews_grid products=' . $child_product_ids . ' shop_reviews="false" ]' );

We hope that this solution was helpful. If not, please don't hesitate to reach out to us on the support forum. If you have a Pro license, please create a ticket on this portal for priority support. We are always available to help.