-
Notifications
You must be signed in to change notification settings - Fork 121
[Local catalog] Handle missing products during order creation #16353
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
Merged
joshheald
merged 31 commits into
trunk
from
issue/woomob-1686-local-catalog-handle-errors-from-order-creation-with
Nov 18, 2025
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d17a002
Show error when product does not exist in order
joshheald b656e81
Remove unverified WooCommerce error codes
joshheald 84b69d8
Fix bug where removing one variation would remove all variations of s…
joshheald be58f92
Remove missing products from local catalog
joshheald 486bce2
Add comprehensive tests for missing products handling
joshheald 4e0d7f9
Fix: Use product/variation IDs instead of UUIDs for missing products
joshheald a48aac0
Enhance missing product error handling with variation ID extraction
joshheald 21822f7
Auto-remove unavailable products from catalog when identified
joshheald 6f269d7
Address code review feedback
joshheald 4e6c1bf
Remove unused removeMissingProductsFromCatalog method
joshheald 522f3d9
Add periphery ignore comments for public API properties
joshheald 195b14b
Fix line length lint violation
joshheald a83c22a
Simplify periphery ignore comments
joshheald 6e011b5
Fix periphery ignore comment placement
joshheald c5a4e9c
Add explanatory comments to periphery ignore directives
joshheald 980d20d
Add analytics events for checkout outdated item detection
joshheald 433859f
Fix syntax error in analytics event functions
joshheald efd7f33
Make PointOfSaleOrderSyncMissingProductsErrorMessageView public
joshheald 8fc3bd0
Add reason key to analytics Key enum
joshheald 2666068
Revert view to internal visibility
joshheald bcd7dc5
Remove unused quantity property from MissingProductInfo
joshheald a44e7ab
Extract post-sync cleanup into dedicated method
joshheald f8f17bf
Extract ID extraction logic and improve naming
joshheald 4d3edb4
Remove unused property
joshheald 836c617
Fix test
joshheald 88bd0b1
Add clarifying comment for UUID in cart item grouping
joshheald e721dc8
Move networking error extraction to POSOrderService
joshheald ddfccf5
Remove networking error extraction from PointOfSaleOrderController
joshheald 3c3df4c
Add tests for server-side validation error extraction
joshheald d19ab02
Improve missing product error messages
joshheald 8b4c0c2
Fix string mismatch in unknown product error handling
joshheald File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.