woocommerce-ios
woocommerce-ios copied to clipboard
[Woo POS] Ensure draft orders are removed from Order storage on leaving POS
Description
In POS, we show a message saying in-progress orders will be lost when exiting.
This should actually happen, however we do it using the auto-draft feature.
In some cases, draft orders remain in the local device storage after leaving POS, and aren't cleared from the Order List until we pull to refresh.
We could fix this by refreshing order storage on leaving POS, or by just deleting any draft orders from storage, or by ensuring they never get stored in the first place, if possible.
p91TBi-c11-p2#comment-13041
🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.
@joshheald Is this still valid? If it is and you believe it's worth spending time on, please assign a priority and move it to our backlog, thanks!
Yes, it is still valid.
Let's do a timeboxed effort on whether we can just avoid adding the draft orders to storage. If it can be done within half a day, it'll be worthwhile.