@include('theme-views.partials._profile-aside')
{{translate('my_compare_list')}}
@if($compareLists->count()>0) {{translate('Clear_All')}} @endif
@if($compareLists->count()>0) @php($digitalProductExist = false) @foreach ($compareLists as $compareList) @endforeach @foreach ($compareLists as $compareList) @endforeach @foreach ($compareLists as $compareList) @endforeach @foreach ($compareLists as $compareList) @endforeach @foreach ($compareLists as $compareList) @if ($web_config['brand_setting']) @if(isset($compareList->product->brand->image)) @else @endif @endif @endforeach @foreach ($compareLists as $compareList) @endforeach @if($digitalProductExist) @foreach ($compareLists as $compareList) @endforeach @endif @endif
{{ translate('Product_Name') }} {{ $compareList->product['name'] }}
{{ translate('price') }}{{ webCurrencyConverter($compareList->product['unit_price']) }}
{{ translate('rating') }}
@php($avgRatting = number_format($compareList->product?->reviews?->avg('rating'), 2))
@for ($rattingIndex = 1; $rattingIndex <= 5; $rattingIndex++) @if ($rattingIndex <= (int)$avgRatting) @elseif ($avgRatting != 0 && $rattingIndex <= (int)$avgRatting + 1.1 && $avgRatting > ((int)$avgRatting)) @else @endif @endfor
({{ $avgRatting }})
{{ translate('brand') }} {{ 'N/a' }}
{{ translate('category') }} {{ $compareList?->product?->category?->name }}
{{ translate('Digital_Variation') }} @if($digitalVariation && count($digitalVariation) > 0) @foreach($digitalVariation as $variantIndex => $variation) @php($variantIndex++) {{ strtoupper($variation['variant_key'] )}} @if($variantIndex < count($digitalVariation)),@endif @endforeach @else {{ "N/a" }} @endif
@if($compareLists->count()==0)
{{ translate('You_have_not_added_product_to_compare_yet') }}!
@endif