Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Reviews Block Shows All Reviews and Not Just from Selected Category #6222

Closed
billrobbins opened this issue Apr 8, 2022 · 2 comments
Closed
Labels
block: reviews by category Issues related to the Reviews by Category block. type: bug The issue/PR concerns a confirmed bug.

Comments

@billrobbins
Copy link

Describe the bug

The reviews block allows the merchant to select which product categories' reviews should be displayed. The preview in the block is correct but the front-end of the site shows all reviews regardless of the settings.

To reproduce

Steps to reproduce the behavior:

  1. Create reviews for multiple products in different categories.
  2. Add a reviews block to a page and select a category.
  3. Notice that the preview of the block shows the correct reviews.
  4. Publish the page.
  5. Notice that all reviews are shown on the front end of the site.

Expected behavior

I expected the front end of the site to only show reviews from the selected categories.

Screenshots

Backend
backend-reviews

Front end
frontend-reviews

Environment

WordPress (please complete the following information):

  • Core version: 5.9.3
  • WooCommerce version: 6.3.1
  • WooCommerce Blocks version: 7.3.0
  • Site language: US English
  • Any other plugins installed: WC + WooCommerce Payments

Additional context

Mentioned in the forum: https://wordpress.org/support/topic/block-reviews-by-category-not-displaying-correctly/

@billrobbins billrobbins added the type: bug The issue/PR concerns a confirmed bug. label Apr 8, 2022
@danieldudzic
Copy link
Contributor

Tested and replicated

@danieldudzic danieldudzic added the block: reviews by category Issues related to the Reviews by Category block. label Apr 11, 2022
@albarin
Copy link
Contributor

albarin commented May 5, 2022

Same issue #6347
Fixed by #6358

@albarin albarin closed this as completed May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: reviews by category Issues related to the Reviews by Category block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants