@if ($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
@if (is_plugin_active('marketplace') && $product->store->id) {{ $product->store->name }} @endif
{!! BaseHelper::clean($product->name) !!} @if (EcommerceHelper::isReviewEnabled())
({{ $product->reviews_count }})
@endif @if (! EcommerceHelper::hideProductPrice() || EcommerceHelper::isCartEnabled()) {!! apply_filters('ecommerce_before_product_price_in_listing', null, $product) !!}

{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} @endif

{!! apply_filters('ecommerce_after_product_price_in_listing', null, $product) !!} @endif
@endif