GoldenPlaya3
New member
0
0%
3
Months of Service
0%
Good morning everyone, I have a conceptual question that I'm not sure how to solve. I'm programming in Laravel for a store, and the issue I'm facing is with the sales record where the sold products are displayed. The problem arises when a product is deleted, causing an error when accessing the sales record because the product no longer exists. In the database, the sales table has the product ID. My question is how can I delete a record and still have it displayed. I hope I explained myself well.
Greetings
Greetings