@php use Botble\Base\Facades\BaseHelper; use Botble\Ecommerce\Facades\EcommerceHelper; use Botble\Media\Facades\RvMedia; $imageUrl = RvMedia::getImageUrl($shortcode->image ?? null, 'banner-half'); $overline = trim((string) ($shortcode->overline ?? '')); $heading = trim((string) ($shortcode->heading ?? '')); $btnText = trim((string) ($shortcode->button_text ?? '')); $btnUrl = $shortcode->button_url ?: '#'; @endphp {{-- Mirrors html/home-fashion.html "Weekly Top Highlights" (line 2050-2452): section heading on top, then a 2-col `row`: banner (banner-image-text type-abs style-15) on the left, 2x2 product grid (`tf-grid-layout tf-col-2`) on the right. Uses the existing style-1 product card partial so swatches and other card features stay consistent across the page. --}}
htmlAttributes() !!} class="section-banner-highlight flat-spacing">
@if (! empty($shortcode->title ?? '') || ! empty($shortcode->subtitle ?? ''))
@if (! empty($shortcode->title ?? ''))

{!! BaseHelper::clean($shortcode->title) !!}

@endif @if (! empty($shortcode->subtitle ?? ''))

{!! BaseHelper::clean($shortcode->subtitle) !!}

@endif
@endif
@forelse ($products as $product)
@include(EcommerceHelper::viewPath('includes.product.style-1.grid'), [ 'product' => $product, 'showQuickView' => false, 'showQuickShop' => true, ])
@empty

{{ __('No products to show.') }}

@endforelse