[Solved] Laravel Method Does not Exist [closed]
[ad_1] In your question, you say that you’re calling a method getTotal(), but there’s no such method in the code sample you’re linking to. I’m going to assume that you meant getPrice(). If a user has many carts, you can’t get a single one with just $user->cart, since that will contain the Collection of all … Read more