Skip to content

Coupon disappear in "Most active coupons" in Dashboard after opening All Coupons list #13819

@pmusolino

Description

@pmusolino

I just discovered a bug while testing the new Dashboard (My Store tab) -> Coupon section.

How to replicate:

  1. Ensure you have a long list of coupons available in your store.
  2. Enable coupons in the Dashboard.
  3. Select a date range such that one of the coupons used when fetching the coupon list appears on a page beyond the first page in the pagination.
  4. Tap on "View all coupons".
  5. Do not paginate. Go back to the dashboard.
  6. The coupon should have disappeared.
  7. Tap "View all coupons" again, then paginate until you see the coupon that was previously displayed in the dashboard.
  8. Go back, and you will see the coupon again.

This is probably due to the fact that when the coupon list is opened, the locally stored coupons are overwritten with the ones from the first page of the coupon list, causing it to disappear from the dashboard.

Before After opening the coupons list, and that coupon is over the first page
Simulator Screenshot - iPhone 15 Pro Max - 2024-09-03 at 12 44 54 Simulator Screenshot - iPhone 15 Pro Max - 2024-09-03 at 12 45 04

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugKiwifeature: couponsRelated to basic fulfillment such as order tracking.feature: dashboardRelated to the My Store dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions