[Orders] Improve UI to explain discrepancy when searching Order Customers vs Store Customers #15109
Labels
category: design
Layout and style elements in the UI or user interface, including color and animations.
feature: order creation
All tasks related to creating an order
feature: order details
Related to order details.
priority: low
Not many people are affected or there’s a workaround, etc.
Ref: p1738568716995749-slack-C02KUCFCSFP
The "search customers" feature returns different results depending how customers are added and where we search from: Searching through the order is not finding customers that have been entered via the app, only customers that have gone through the web checkout flow. But all customers seem to appear under Menu > Customers. So:
406426995-b825d3b7-9cf1-4eed-84b5-76a7342bdb81.1.mp4
This discrepancy is expected. The Menu > Customers section uses the CustomerAction.searchWCAnalyticsCustomers action to perform its search. This should be consistent with the customers section on the web, however, the order customer search uses the CustomerAction.searchCustomers action.
Despite both calling the same remote endpoint, the searchCustomers method maps the search results to customer object, which limits what is returned, which seems to be related to how the customers are used in orders, and what data is needed (billing address?).
Would be good to improve the UI so the merchant knows why these results may differ in some way.
The text was updated successfully, but these errors were encountered: