@extends('emails.mail') @section('content')

Dear {{$order->name}},

Thank you for placing your order with Helpingme. Your order has now been cancelled.

In case you require any further assistance, please feel free to share your issues or concerns at {{env('MAIL_FROM_ADDRESS')}} We would be happy to help you!

Products Details

@if ($order->cart) @foreach ($order->cart as $item) @php $attributes = json_decode($item->attributes, true); $conditions = json_decode($item->conditions, true); $discountValue = 0; if(count($conditions)){ foreach ($conditions as $condition) { $discountValue += $condition['parsedRawValue']; } } $product = $item->product; @endphp @if($product->getMedia('gallery')->count()) @endif Order No: {{$order->order_no}} Product Name: {{$item->name}}
@isset ($attributes['weight'])
Weight: {{$attributes['weight']}}g @endisset @isset ($attributes['options']) @foreach ($attributes['options'] as $attribute)
{{$attribute['name'] .': '.$attribute['value']}} @endforeach @endisset
Price: Rs. {{$item->price - $discountValue}} Quantity: {{$item->quantity}} @if ($order->payment_mode == "Online") Nature of Transaction: {{$order->payment_mode}} @endif @endforeach @endif

Price Details

Product Price: Rs. {{$order->subtotal}} Shipping: Rs. {{$order->shipping}} Discount: Rs. {{$order->discount}} Order Total: Rs. {{$order->total}}

*All the above prices are including GST

@endsection