@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date)))
-{{ round(($product->price - $product->promotion_price) / $product->price * 100) }}%
@endif @if($product->image!==null) @php $images = explode(',', $product->image); $product->image = $images[0]; @endphp {{ $product->name }} @else {{ $product->name }} @endif
@if(in_array($product->id,explode(',',$wishlist))) favorite @else favorite @endif zoom_in
{!! ucwords($product->name) !!} @if(isset($product->unit)) ({{ $product->unit->unit_name }}) @endif
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date))) {{$currency->symbol ?? $currency->code}}{{ $product->promotion_price }} {{$currency->symbol ?? $currency->code}}{{ $product->price }} @else {{$currency->symbol ?? $currency->code}}{{ $product->price }} @endif
@if(!empty($ecommerce_setting->theme) && $ecommerce_setting->theme != 'fashion') @if($product->in_stock == 1) @if(is_null($product->is_variant))
@csrf
@else @endif @else @if($product->qty > 0) @if(is_null($product->is_variant))
@csrf
@else @endif @else {{trans('file.Out of stock')}} @endif @endif @endif