@if(count($items) > 0)
| {{__('Summary')}} |
@foreach ($items as $keys => $item)
{{$item->name}} |
@endforeach
@if(count($items) != 1)
{{$items[0]->name}}
{{__('Brand')}} : {{$items[0]->brand->name}}
, {{__('Price')}} : {{PriceHelper::grandCurrencyPrice($items[0])}}
{{$items[1]->name}}
{{__('Brand')}} : {{$items[1]->brand->name}}
, {{__('Price')}} : {{PriceHelper::grandCurrencyPrice($items[1])}}
|
@foreach ($items as $item)
|
@endforeach
@php
// dd($sname,$sdesc)
@endphp
@foreach ($sname as $key => $name)
| {{$name}} |
@if($items[0]->specification_name)
@if(in_array($name,json_decode($items[0]->specification_name,true)))
@if (isset($sdesc[0][$key]))
{{$sdesc[0][$key]}}
@endif
@endif
@endif
|
@if($items[1]->specification_name)
@if(in_array($name,json_decode($items[1]->specification_name,true)))
@if (isset($sdesc[1][$key]))
{{$sdesc[1][$key]}}
@endif
@endif
@endif
|
@endforeach
@else
{{$items[0]->name}}
{{__('Brand')}} : {{$items[0]->brand->name}}
, {{__('Price')}} : {{PriceHelper::grandCurrencyPrice($items[0])}}
@foreach ($items as $item)
|
|
@endforeach
@foreach ($sname as $key => $name)
@if($items[0]->specification_name)
| {{$name}} |
@if(in_array($name,json_decode($items[0]->specification_name,true)))
@if (isset($sdesc[0][$key]))
{{$sdesc[0][$key]}}
@endif
@endif
|
@endif
@endforeach
@endif
|
@foreach ($items as $item)
{{__('Add to Cart')}}
|
@endforeach
@else
| {{__('Product not found')}} |
@endif