Nobody has any ideas why I get from wrong product when I query the Orders.Items and reference the product relation?
I just thought I would let everyone know that I had the relation defined wrong. Changed hasOne to belongsTo and the correct product is now showing.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community