@php if ($gs->switch_highlight_currency) { $highlight = $prod->firstCurrencyPrice(); $small = $prod->showPrice(); } else { $highlight = $prod->showPrice(); $small = $prod->firstCurrencyPrice(); } @endphp {{-- If This product belongs to vendor then apply this --}} @if($prod->user_id != 0) {{-- check If This vendor status is active --}} @if($prod->user->is_vendor == 2)
{{ mb_strlen($prod->name,'utf-8') > 35 ? mb_substr($prod->name,0,35,'utf-8').'...' : $prod->name }}
{{ mb_strlen($prod->name,'utf-8') > 35 ? mb_substr($prod->name,0,35,'utf-8').'...' : $prod->name }}