@if($order) @foreach($order as $key => $item)
  • @if(isset($item['subcategories']) && $item['subcategories'])
      @foreach($item['subcategories'] as $sK => $sV)
    • {{ isset($sV['title']) && $sV['title'] ? $sV['title'] : '' }}
    • @endforeach
    @endif
    {{ $item['title'] }}
    @if(isset($item['color']) && $item['color'])
    Color :
    {{ ucfirst($item['color']) }}
    @endif @if(isset($item['product_size']) && $item['product_size'])
    Size :
    {{ $item['product_size'] }}
    @endif @if(isset($item['thread']) && $item['thread']) @php $thread = $item['thread']; @endphp @if(isset($thread['thread_title']) && $thread['thread_title'])
    Thread : @php $thread['thread_price'] = isset($thread['thread_price']) && $thread['thread_price'] <= 0 ? 0 : $thread['thread_price']; @endphp
    {{ $thread['thread_quantity'] }} {{ $thread['thread_title'] }} (+ {{ $currency_symbol.$thread['thread_price']*$thread['thread_quantity'] }})
    @endif @endif
    {{ isset($item['priceWithoutDiscount']) && $item['priceWithoutDiscount'] > 0 ? (isset($item['amount']) && $item['priceWithoutDiscount'] > $item['amount'] ? $currency_symbol.$item['priceWithoutDiscount'].' ' : '') : '' }}
    {{ isset($item['amount']) && $item['amount'] > 0 ? $currency_symbol.$item['amount'] : '' }}
    {{ isset($item['without_discount']) && $item['without_discount'] > 0 ? $currency_symbol.$item['without_discount']." OFF" : '' }}
  • @endforeach @endif