diff --git a/app/requestHandler/use-seller-hooks.ts b/app/requestHandler/use-seller-hooks.ts index 5ca35e8..054d0d1 100644 --- a/app/requestHandler/use-seller-hooks.ts +++ b/app/requestHandler/use-seller-hooks.ts @@ -148,6 +148,13 @@ export const useGetSellerProducts = ( }, initialPageParam: 1, enabled: !!sellerId, + // Public storefront: prices/discounts must reflect the seller's latest + // edits. Always treat as stale and revalidate on mount/refocus so the + // store list can't keep showing a pre-edit price (the detail page is SSR + // and already fresh, which caused the list-vs-detail mismatch). + staleTime: 0, + refetchOnMount: true, + refetchOnWindowFocus: true, }); };