Concerning the lesson for the shopping cart with turbo. I've also added user authentication and authorization. I need the admin to be able to see all orders of all customers and their state, whether in process or shipped, and the normal user to be able to access all order history. Can you assist me in making this association?
But in the orders controller, I need to destroy the cart
What is the right way to delete the cart?