@php use App\Utils\Helpers; use App\Utils\ProductManager; @endphp
@if(isset($product->flash_deal_status) && $product->flash_deal_status == 1)
@endif @if($product->discount > 0) @if ($product->discount_type == 'percent') {{'-'.' '.round($product->discount,(!empty($decimal_point_settings) ? $decimal_point_settings: 0)).'%'}} @elseif($product->discount_type =='flat') {{'-'.' '.webCurrencyConverter($product->discount)}} @endif @else @endif
{{ Str::limit($product['name'], 18) }}
@if($product->discount > 0) {{webCurrencyConverter($product->unit_price)}} @endif {{webCurrencyConverter($product->unit_price-(Helpers::getProductDiscount($product,$product->unit_price)))}}