@extends('frontend.layouts.app') @section('content')
{{translate('Compare Product List')}}
@foreach($items as $item) @if($item->product) @endif @endforeach @foreach($items as $item) @if($item->product) @endif @endforeach @foreach($items as $item) @if($item->product) @endif @endforeach @foreach($items as $item) @if($item->product) @endif @endforeach @foreach($items as $item) @if($item->product) @endif @endforeach @foreach($items as $item) @if($item->product) @endif @endforeach

{{translate("Add Another Product")}}

{{$item->product->name}}

{{($item->product->brand ? get_translation($item->product->brand->name) : ' ')}}
{{translate('Price')}} {{short_amount($item->product->stock->first()->price)}}
{{translate('Discount Price')}}{{short_amount(cal_discount($item->product->discount_percentage,$item->product->stock->first()->price))}}
{{translate('Ratings')}}
@php echo show_ratings($item->product->review->avg('ratings')) @endphp
{{translate('Short Description')}} @php echo $item->product->short_description @endphp
@php $randNum = rand(6666,10000000); $randNum = $randNum."compare".$randNum; @endphp
@endsection