Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global $product;
- $rating_1 = $product->get_rating_count(1);
- $rating_2 = $product->get_rating_count(2);
- $rating_3 = $product->get_rating_count(3);
- $rating_4 = $product->get_rating_count(4);
- $rating_5 = $product->get_rating_count(5);
Add Comment
Please, Sign In to add comment