Here are the details of the order below:
| SKU | Name | Description | Quantity | Price |
|---|---|---|---|---|
| {{$product->sku}} | {{$product->name}} |
{{$product->description}}
@php($pattr = \App\Shop\ProductAttributes\ProductAttribute::find($product->pivot->product_attribute_id))
@if(!is_null($pattr)) @foreach($pattr->attributesValues as $it) {{ $it->attribute->name }} : {{ $it->value }} @endforeach @endif |
{{$product->pivot->quantity}} | {{config('cart.currency')}} {{number_format($product->price * $product->pivot->quantity, 2)}} |
| Subtotal: | {{config('cart.currency')}} {{number_format($order->total_products, 2)}} | |||
| Shipping: | {{config('cart.currency')}} {{number_format($order->total_shipping, 2)}} | |||
| Discounts: | ({{config('cart.currency')}} {{number_format($order->discounts, 2)}}) | |||
| Tax: | {{config('cart.currency')}} {{number_format($order->tax, 2)}} | |||
| Total: | {{config('cart.currency')}} {{number_format($order->total, 2)}} |