@php($overallRating=\App\CPU\ProductManager::get_overall_rating($product->reviews))
@for($inc=0;$inc<5;$inc++)
@if($inc<$overallRating[0])
@else
@endif
@endfor
{{\App\CPU\Helpers::currency_converter(
$product->unit_price-(\App\CPU\Helpers::get_product_discount($product,$product->unit_price))
)}}
@if($product->discount > 0)
{{\App\CPU\Helpers::currency_converter($product->unit_price)}}
@endif
@if($product['current_stock']<=0)
@endif