@foreach ($products as $product)
@php
$isConfigurable = $product->variations()->count() > 0;
@endphp
{{ RvMedia::image($product->image, $product->name, 'thumb', useDefaultImage: true, attributes: ['loading' => false]) }}
{{ $product->name }}
@if (EcommerceHelper::isReviewEnabled())
@include(EcommerceHelper::viewPath('includes.rating-star'), ['avg' => $product->reviews_avg])
({{ $product->reviews_count }})
@endif
@include(EcommerceHelper::viewPath('includes.product-price'), [
'priceWrapperClassName' => 'bb-quick-search-item-price',
'priceClassName' => 'new-price',
'priceOriginalWrapperClassName' => '',
'priceOriginalClassName' => 'old-price',
])
@if (EcommerceHelper::isCartEnabled())
@endif
@endforeach