@component('mail::message') # Order Received Thank you for your order. **Order ID:** {{ $order->id }} **Order Email:** {{ $order->email }} **Order Name:** {{ $order->name }} **Order Total:** ${{ $order->order_total}} **Items Ordered** @component('mail::table') |Product Name | Price | Quantity | | ---------------- |:----------------:| ------------:| @foreach ($order->products as $product) | {{$product->name}}|${{ $product->pivot->price }}|{{ $product->pivot->quantity }}| @endforeach @endcomponent