Skip to content

[Product] Product information is cached and not refreshed when entering the product detail screen #12513

Open
@toupper

Description

@toupper

Describe the bug
Product Detail information is cached and not refreshed when we enter the Product detail page again. We can see that the product reviews information doesn't change, even if we modify it (e.g. adding a new review) externally. While I've only tried with reviews, this could affect other more sensitive product fields, such as price.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Products tab
  2. Tap on a product
  3. On the product detail page, see the Reviews information e.g. rated once
  4. Add an approved review product (e.g. from the verified store owner) remotely, in web
  5. See that that product information is not updated, even if we go back to the products list and back again to the product detail page.

Screenshots
If applicable, add screenshots to help explain your problem.

Product Detail page shows no approved reviews even if have one:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-04-18.at.14.53.00.mp4

After re-starting the app, we see the right approved reviews number in the product detail page:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-04-18.at.14.53.44.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: product detailsRelated to adding or editing products, including Product Settings.good first issueThe issue is a good candidate for a community contribution or for a newcomer to the team.type: bugA confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions