{!! Theme::partial('breadcrumb') !!}
@if ($productImages)
@foreach($productImages as $image)
{{ __('Product image') }}
@endforeach
@endif

{{ $product->name }}

@if (EcommerceHelper::isReviewEnabled())
({{ number_format($product->reviews_count) }})
@endif
@if ($product->front_sale_price === $product->price)

{{ format_price($product->front_sale_price_with_taxes) }}

@else

{{ format_price($product->front_sale_price_with_taxes) }}

{{ format_price($product->price_with_taxes) }}

@endif @if ($stockStatusLabel = $product->stockStatusLabel)

({{ $stockStatusLabel }})

@endif
{!! BaseHelper::clean(Str::limit($product->description, 320)) !!}
@if (strlen($product->description) > 340) {{ __('View more') }} @endif
@if ($product->variations()->count() > 0)
{!! render_product_swatches($product, [ 'selected' => $selectedAttrs, 'view' => Theme::getThemeNamespace('views.ecommerce.attributes.swatches-renderer') ]) !!}
@endif
@csrf @if (EcommerceHelper::isWishlistEnabled()) @endif
{!! BaseHelper::clean($product->content) !!}
@if (EcommerceHelper::isReviewEnabled())
@if($product->review_images)
{{ __('Images from customer (:count)', ['count' => count($product->review_images)]) }}
@endif
{{ __('Customer questions & answers') }}
{{ __('Add your review') }}

{{ __('Your email address will not be published. Required fields are marked.') }}

@csrf @guest('customer')

{!! BaseHelper::clean(__('Please login to write review!', ['link' => route('customer.login')])) !!}

@endguest
@foreach(array_reverse(range(1, 5)) as $i) @endforeach
{{ __('Upload photos') }}
{{ __('You can upload up to :total photos, each photo maximum size is :max kilobytes.', [ 'total' => EcommerceHelper::reviewMaxFileNumber(), 'max' => EcommerceHelper::reviewMaxFileSize(true), ]) }}

@endif
@if (($products = get_related_products($product)) && $products->count())

{{ __('You may also like') }}

{{ __('Take it to your cart') }}

@foreach($products as $product)
{!! Theme::partial('ecommerce.product.item-grid', compact('product')) !!}
@endforeach
@endif