@foreach($data['product'] as $product)
{{$product->title}}

{{$product->title}}

@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) {{fnumber_format(PriceCalculation($product->prices[0]->price,$product->prices[0]->discount_percent))}} @else {{fnumber_format($product->prices[0]->price)}} @endif @endif {{$prefix}}
@endforeach @if( count($data['product']) < 4 )
@endif
@foreach($data['categoryAttribute'] as $categoryAttribute)
{{$categoryAttribute->title}}
@foreach($categoryAttribute->attributeAll as $attribute)
{{$attribute->title}}
@for($i=0;$i<$data['count'];$i++) @php $AttributeValue=\App\Models\AttributeValue::getProductAttributeValue($attribute->id,$data['product'][$i]->id); @endphp
@if(sizeof($AttributeValue)>0) @if($AttributeValue[0]->attribute_value_id!=0) {{implode(',',$AttributeValue->pluck('value')->toArray())}} @else {{$AttributeValue[0]->text}} @endif @endif
@endfor
@endforeach
@endforeach