Customer Details:

Name: {{ $order->first_name }} {{ $order->last_name }}

Email: {{ $order->email }}

Phone: {{ $order->phone }}

Address: {{ $order->address }}

City: {{ $order->city }}

Zip Code: {{ $order->zip_code }}

State: {{ $order->state }}

Status: {{ $order->status }}

Product Details:

@foreach($orderproducts as $orderproduct) @php $product = \App\Models\Product::find($orderproduct->product_id); $productType = \App\Models\ProductType::find($orderproduct->product_type_id); $productTypeOption = \App\Models\ProductTypeOption::find($orderproduct->product_type_options_id); @endphp

Name: {{ $product->title }}

@if ($productType)

Type: {{ $productType->title }}

Type Option: {{ $productTypeOption->title }}

Price: {{ $orderproduct->plusprice }}

@else

Price: {{ $product->price }}

@endif

Quantity: {{ $orderproduct->quantity }}


@endforeach

Subtotal

${{ number_format($subtotal, 2) }}