WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

Deleting records in Laravel

GoldenPlaya3

New member

0

0%

Status

Offline

Posts

48

Likes

0

Rep

0

Bits

245

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
 

249

6,622

6,642

Top