I’m having Storing Items from my Cart to the Database
I’ve made an ecommerce platform and I want to store the users order whenever they select a product and make a purchase. I’ve already made the order model and migrations. But I don’t know how to push the users order to the mysql db through the OrderController. I’m not typing in the orders so I appear to be facing issues. Can someone kindly offer me any assistance if they know how.