@extends('storefront.layouts.app') @section('title', ($product->meta_title ?: $product->title).' — '.config('shop.name')) @section('meta_description', $product->meta_description ?: \Illuminate\Support\Str::limit(strip_tags($product->localized('short_description')), 150)) @section('content')
{{-- Gallery --}}
{{ $product->title }} @if($product->images->isNotEmpty())
@foreach($product->images as $img) @endforeach
@endif
{{-- Info --}}

{{ $product->title }}

@if($product->sku)
SKU: {{ $product->sku }}
@endif
{{ money($product->current_price) }} @if($product->on_sale) {{ money($product->price) }} -{{ $product->discount_percent }}% @endif
@if($product->in_stock)
{{ __('In Stock') }} @if($product->is_low_stock){{ __('Low Stock') }} ({{ $product->stock_qty }})@endif
@else
{{ __('Out of Stock') }}
@endif @if($product->localized('short_description'))

{{ $product->localized('short_description') }}

@endif
@csrf @if($product->has_variations && $product->variations->isNotEmpty())
@endif
in_stock)>
@auth
@csrf
@endauth
{{ __('Call to Order') }}: {{ settings('contact_phone') }}
{{-- Description tabs --}}
{!! nl2br(e($product->localized('description'))) !!}
{{-- Related --}} @if($related->isNotEmpty())

{{ __('Related Products') }}

@foreach($related as $product)
@include('storefront.partials.product-card')
@endforeach
@endif
@endsection @push('scripts') @endpush