Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for “Products” #563

Open
fncscafred opened this issue Oct 4, 2024 · 4 comments
Open

Feedback for “Products” #563

fncscafred opened this issue Oct 4, 2024 · 4 comments
Labels
wip Work is currently in progress.

Comments

@fncscafred
Copy link

I was fetching data from https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id} with the parameters "include_fields": 'reviews_count,reviews_rating_sum'. On the BigCommerce live site, the reviews_count and reviews_rating_sum are showing as 0, but the API is returning non-zero values. I’ve verified that the product IDs match, so I'm not sure why the live site is displaying 0.

@bc-traciporter
Copy link
Collaborator

Hello @fncscafred Thank you for your feedback. I have taken your issue to our development team and we will get back to you.

@bc-traciporter bc-traciporter added the wip Work is currently in progress. label Oct 9, 2024
@bc-traciporter
Copy link
Collaborator

Hello @fncscafred
When a merchant creates a review for a purchased product, they select a rating from the drop-down menu (from 1 to 5 stars). When this review is sent and approved => reviews_count will increase by +1, and reviews_rating_sum will be increased by the value of the rating for the product.

@fncscafred
Copy link
Author

Hi @bc-traciporter. I understand that. However, I noticed something unusual. When I fetch data using the API and specific parameters, I'm still getting a value for a product that currently has no visible reviews. This leads me to believe that the API might be returning data for reviews that have been deleted or hidden, as the count doesn't seem to reflect the current number of active reviews.

@bc-traciporter
Copy link
Collaborator

Hi @fncscafred Thank you for this information. The team will investigate and fix this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip Work is currently in progress.
Projects
None yet
Development

No branches or pull requests

2 participants