-
@foreach($data['product'] as $product)
-
@if(sizeof($product->prices) >0)
@if($product->prices[0]->discount_percent>0 and $product->prices[0]->time_discount==1 and $date < $product->prices[0]->end_date)
{{__('Special Sale')}}
@endif
@endif
{{$product->title}}
@if(sizeof($product->prices) >0) @else @endif@if(sizeof($product->prices) >0)@if(sizeof($product->prices) >0) @if($product->prices[0]->time_discount==1 and isset($settings['time_discount']) and $settings['time_discount']==1 and $date < $product->prices[0]->end_date) @endif @endif@if($product->prices[0]->discount_percent>0 and $product->prices[0]->time_discount==1 and $date < $product->prices[0]->end_date) {{$product->prices[0]->discount_percent}}% @endif @if($product->prices[0]->discount_percent>0 and $product->prices[0]->time_discount==1 and $date < $product->prices[0]->end_date) {{fnumber_format(PriceCalculation($product->prices[0]->price,$product->prices[0]->discount_percent))}} {{$prefix}} @else {{fnumber_format($product->prices[0]->price)}} {{$prefix}} @endif@else{{__('Call To Get The Price')}}@endif@if(isset($settings['quick_purchase']) and $settings['quick_purchase']==1)@if(isset($settings['quick_purchase']) and $settings['quick_purchase']==1)@endif @if(isset($settings['quick_view']) and $settings['quick_view']==1) @php if (sizeof($product->prices)>0) { if ($product->prices[0]->AttributeValue != null) { $attributeTitle = $product->prices[0]->AttributeValue->attribute->title . ' : '; $attributeId = $product->prices[0]->AttributeValue->attribute->id; } else { $attributeTitle = ''; $attributeId = 0; } } else { $attributeTitle = ''; $attributeId = 0; } @endphp @php $tags=explode(',',$product->keywords); $tagsAll='';@endphp @php $arrayAttributes_list=[];@endphp @if(isset($product->short_description) and $product->short_description !=null) @php $arrayAttributes_list=json_decode($product->short_description); @endphp @endif@endif@endif{{__('Close')}}
@if(count($product->prices)>0)@endif
@endforeach