Show Product Name in Order Data Table

Laraship QuestionsCategory: TechnicalShow Product Name in Order Data Table
Arif Hidyawan asked 6 years ago


How to show product name in Order Data Table?

I try to edit OrderTransformer.php but cannot find the product name variables.


1 Answers
laraship Staff answered 6 years ago


Each Order can have multiple products, Products are attached to Order Items not orders. you need to grab order items and then loop through them