@if ($product && is_object($product))
{!! RvMedia::image($product->image, $product->name, 'small', lazy: $lazy ?? true) !!} @if ($product->isOutOfStock())
{{ __('Out Of Stock') }}
@else @if ($product->productLabels->isNotEmpty())
@foreach ($product->productLabels as $label) css_styles !!}>{{ $label->name }} @endforeach
@else @if ($product->front_sale_price !== $product->price)
{{ get_sale_percentage($product->price, $product->front_sale_price) }}
@endif @endif @endif
{!! BaseHelper::clean($product->name) !!} @if (is_plugin_active('marketplace') && $product->store->id)

{{ __('Sold by') }}: {{ $product->store->name }} {!! $product->store->badge !!}

@endif @if (EcommerceHelper::isReviewEnabled())
({{ $product->reviews_count }})
@endif
{!! Str::limit(clean(strip_tags($product->description)), 120) !!}
@php $priceHtml = Theme::partial('product-price', [ 'product' => $product, 'priceWrapperTag' => 'p', 'priceWrapperClass' => 'ps-product__price', ]); @endphp @if ($priceHtml) {!! apply_filters('ecommerce_before_product_price_in_listing', null, $product) !!} {!! $priceHtml !!} {!! apply_filters('ecommerce_after_product_price_in_listing', null, $product) !!} @endif @if (EcommerceHelper::isCartEnabled()) @if ($product->has_variation) {{ __('Select Options') }} @else 'none']) !!} title="{{ __('Add to cart') }}">{{ __('Add to cart') }} @endif @endif
@endif