Skip to content

[Bug]: Review Count Does Not Match Actual Submitted Reviews #371

Description

@SharayuShelke2006

Bug Description

The application stores reviewCount in the Product document while individual reviews are stored separately in the Reviews collection.

Currently, there is no guarantee that the stored reviewCount value always matches the actual number of reviews associated with a product. As reviews are added, updated, deleted, migrated, or modified, the count can become stale and diverge from the real review total.
"""""""""""""""""""""""""""""""""
It is a critical issue because
""""""""""""""""""""""""""""""""""""
Review count is a key trust signal for customers.
Incorrect counts can mislead users about product popularity and credibility.
Analytics, sorting, filtering, and recommendation systems may rely on inaccurate data.
The issue can propagate across product cards, collection pages, search results, and product detail pages.

Steps to Reproduce

Navigate to collections page
Check review count on cards

Expected Behavior

Review count should always match the actual number of reviews associated with a product.
The application should maintain consistency between Product and Review data.

Current Behavior

Review count doesnt match actual review count

Environment

Windows Chrome

Logs/Screenshots

No response

@Nsanjayboruds please assign me this issue under gssoc'26

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions