@if(isset($deal_of_the_day->product))
@php($overall_rating = \App\CPU\ProductManager::get_overall_rating($deal_of_the_day->product->reviews))
{{ translate('Don’t_Miss_the_Chance') }} !

{{ translate('Today’s_Best_Deal') }}

{{ \Illuminate\Support\Str::limit($deal_of_the_day->product->name,30) }}
@for ($i = 1; $i <= 5; $i++) @if ($i <= $overall_rating[0]) @elseif ($overall_rating[0] != 0 && $i <= $overall_rating[0] + 1.1) @else @endif @endfor
({{ $deal_of_the_day->product->reviews->count() }})
@if($deal_of_the_day->product->discount > 0) {{\App\CPU\Helpers::currency_converter($deal_of_the_day->product->unit_price)}} @endif {{ \App\CPU\Helpers::currency_converter($deal_of_the_day->product->unit_price-\App\CPU\Helpers::get_product_discount($deal_of_the_day->product,$deal_of_the_day->product->unit_price)) }} {{ translate('save') }} {{ \App\CPU\Helpers::currency_converter(\App\CPU\Helpers::get_product_discount($deal_of_the_day->product,$deal_of_the_day->product->unit_price)) }}
@endif