Magento Open Source 2.2.x
Orders and Returns Widget

The Orders and Returns widget gives guests the ability to check the status of their orders, print invoices, and track shipments. When the widget is added to the storefront, it is visible only for guests and for customers who are not logged in to their accounts. Guests can find orders by providing the Order ID, Billing Last Name, and either the Email Address or ZIP Code.

Orders and Returns Widget in Sidebar