Review Count False Reading
-
My website keeps telling me I have 15 reviews for every product – even ones with no reviews.
I was trying to follow a tutorial on moving the star rating and accidentally did this.
Think this is what done it
foreach ($products as $key => $value) {
update_post_meta( $value, ‘_wc_average_rating’, 1 );
update_post_meta( $value, ‘_wc_review_count’, 15 );
// update_post_meta( $value, ‘_wc_rating_count’, $re );is there anywhere i can reset them back to what they should be?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Review Count False Reading’ is closed to new replies.