{{-- ===== BREADCRUMB ===== --}}
{{-- ===== HERO ===== --}}
{{-- ===== HIGHLIGHTS ===== --}}
Sold by
@if($product->store)
{{ $product->store->name }}
@else
Store
@endif
Category
@if($product->category)
{{ $product->category->name }}
@else
Product
@endif
Brand
@if($product->brand)
{{ $product->brand->name }}
@else
Local pick
@endif
Returns
24 hrs
{{-- ===== VARIANTS ===== --}}
@if($variantPayload->count() > 1)
@endif
{{-- ===== OFFERS ===== --}}
@if(($productCoupons ?? collect())->count() || ($productPromotions ?? collect())->count())
@endif
{{-- ===== DESCRIPTION ===== --}}
@if($description || $tags->isNotEmpty() || $ingredients->isNotEmpty())
@endif
{{-- ===== RELATED PRODUCTS ===== --}}
@if(($relatedProducts ?? collect())->count())
@endif
{{-- ===== BOTTOM PURCHASE BAR ===== --}}
{{-- Top Actions --}}
{{-- Discount Badge --}}
@if($discountPercent)
{{ $discountPercent }}%OFF
@else
@endif
{{-- Main Image --}}
{{-- Summary --}}
@if($initialImage)
@else
{{-- Thumbnails --}}
@if(count($initialImages) > 1)
{{ Str::upper(Str::substr($product->name, 0, 1)) }}
{{ $product->category?->name ?? trans_key('storefront.fallbacks.product') }}
@endif
@foreach($initialImages as $index => $galleryImage)
@endforeach
@endif
{{ $product->name }}
{{ $selectedVariant?->name ?: ($product->short_description ?: $product->category?->name) }}
{{ \App\Support\StorefrontPresenter::money($price) }}
@if($hasDiscount)
{{ \App\Support\StorefrontPresenter::money($comparePrice) }}
Save {{ \App\Support\StorefrontPresenter::money((float) $comparePrice - (float) $price) }}
@else
@endif
{{ $stockLabel }}
@if($selectedVariant?->sku)
SKU {{ $selectedVariant->sku }}
@else
@endif
@if($selectedVariant?->weight)
{{ $selectedVariant->weight }}
@else
@endif
Select variant
@foreach($variantPayload as $variant)
@endforeach
Available offers
@foreach(($productCoupons ?? collect())->take(3) as $coupon)
{{ $coupon->code }}
{{ $coupon->title ?: \App\Support\StorefrontPresenter::couponDiscountLabel($coupon) }}
@endforeach
@foreach(($productPromotions ?? collect())->take(2) as $promotion)
Offer
{{ $promotion->title }}
@endforeach
{{ \App\Support\StorefrontPresenter::couponMinimumLabel($coupon) }}
{{ $promotion->subtitle ?: 'Limited time seller promotion.' }}
Product details
@if($description){{ $description }}
@endif @if($tags->isNotEmpty())
@foreach($tags as $tag)
{{ $tag }}
@endforeach
@endif
@if($ingredients->isNotEmpty())
Ingredients
@foreach($ingredients as $ingredient)
{{ $ingredient }}
@endforeach
@endif
{{ $selectedVariant?->name ?: 'Selected item' }}
{{ \App\Support\StorefrontPresenter::money($price) }}
@auth
@else
Sign in to buy
@endauth
Full details
{{ $product->name }}
Brand
{{ $product->brand->name }}
{{ Str::upper(Str::substr($product->brand->name, 0, 1)) }}
View brand products
@if($product->category)
{{ Str::upper(Str::substr($product->category->name, 0, 1)) }}
{{ $product->category->name }}
@endif
@if($product->store)
{{ Str::upper(Str::substr($product->store->name, 0, 1)) }}
{{ $product->store->name }}
@endif