@php $product_last=\App\Models\Product::latest()->first(); $product_last=$product_last?$product_last->id:null; $product_url = route('product', ['slug'=>$product->getTranslation('slug')]); if($product->auction_product == 1) { $product_url = route('auction-product', ['slug'=>$product->getTranslation('slug')]); } @endphp
{{ $product->getTranslation('name') }} {{ $product->getTranslation('name') }} @if(discount_in_percentage($product) > 0)

{{translate('sale').' '. discount_in_percentage($product)}}%

@elseif($product->id == $product_last)

{{translate('new')}}

@endif
{{$product->getTranslation('name')}}

{!! Str::limit($product->getTranslation('description'),40) !!}

{{ renderStarRating($product->rating) }}

{{ home_discounted_base_price($product) }}

@if(home_base_price($product) != home_discounted_base_price($product)) {{ home_base_price($product) }} @endif