Sellers will view their list of orders in the ShopOrders component, with each order showing only the purchased products relevant to the shop, and allowing the seller to change the status of the product with a dropdown of possible status values:
We will update MainRouter with a PrivateRoute, to load the ShopOrders component at the /seller/orders/:shop/:shopId route.
mern-marketplace/client/MainRouter.js:
<PrivateRoute path="/seller/orders/:shop/:shopId" component={ShopOrders}/>