{{-- Section title --}}

{{ $shortcode->title }}

{{-- Product grid --}}
@foreach ($products as $product)
{{-- Product Thumbnail with ribbons --}} {{-- Product Details --}}
{{-- Sold by store --}} @if (is_plugin_active('marketplace') && $product->store->id) @endif {{-- Product Title --}}
{{ Str::limit($product->name, 40) }}
{{-- Reviews --}} @if (EcommerceHelper::isReviewEnabled()) {!! Theme::partial('star-rating', [ 'avg' => $product->reviews_avg, 'count' => $product->reviews_count, ]) !!} @endif {{-- Price --}}
{!! Theme::partial('ecommerce.product-price', compact('product')) !!}
{{-- Flash Sale --}} @if (!empty($isFlashSale))
@if (Botble\Ecommerce\Facades\FlashSale::isShowSaleCountLeft())
@if ($product->pivot->quantity > $product->pivot->sold) {{ __('Sold') }}: {{ (int) $product->pivot->sold }} / {{ (int) $product->pivot->quantity }} @else {{ __('Sold out') }} @endif
@endif
@endif
{{-- Add to Cart --}}
{!! Theme::partial('ecommerce.product-cart-form', compact('product')) !!}
@endforeach