@php Theme::set('stickyHeader', 'false'); Theme::set('topHeader', Theme::partial('header-product-page', compact('product'))); Theme::set('bottomFooter', Theme::partial('footer-product-page', compact('product'))); Theme::set('pageId', 'product-page'); Theme::set('headerMobile', Theme::partial('header-mobile-product')); @endphp
@foreach ($productImages as $img)
{{ $product->name }}
@endforeach

{{ $product->name }}

@if ($product->brand_id)

{{ __('Brand') }}: {{ $product->brand->name }}

@endif @if (EcommerceHelper::isReviewEnabled() && $product->reviews_count > 0) @endif

{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price)  {{ format_price($product->price_with_taxes) }} @endif

@if (is_plugin_active('marketplace') && $product->store_id)

{{ __('Sold By') }}: {{ $product->store->name }}

@endif
{!! apply_filters('ecommerce_before_product_description', null, $product) !!} {!! BaseHelper::clean($product->description) !!} {!! apply_filters('ecommerce_after_product_description', null, $product) !!}
@php $flashSale = $product->latestFlashSales()->first(); @endphp @if ($flashSale)
{{ __("Don't Miss Out! This promotion will expires in") }}
  • {{ __('Days') }}

  • {{ __('Hours') }}

  • {{ __('Minutes') }}

  • {{ __('Seconds') }}

{{ __('Sold Items') }}
@if (Botble\Ecommerce\Facades\FlashSale::isShowSaleCountLeft())

{{ $flashSale->pivot->sold }}/{{ $flashSale->pivot->quantity }} {{ __('Sold') }}

@endif
@endif
@csrf @if ($product->variations()->count() > 0)
{!! render_product_swatches($product, [ 'selected' => $selectedAttrs, 'view' => Theme::getThemeNamespace() . '::views.ecommerce.attributes.swatches-renderer' ]) !!}
@endif {!! render_product_options($product) !!}
@if ($product->isOutOfStock()) ({{ __('Out of stock') }}) @else @if (!$productVariation) ({{ __('Not available') }}) @else @if ($productVariation->isOutOfStock()) ({{ __('Out of stock') }}) @elseif (!$productVariation->with_storehouse_management || $productVariation->quantity < 1) ({{ __('Available') }}) @elseif ($productVariation->quantity) @if ($productVariation->quantity != 1) ({{ __(':number products available', ['number' => $productVariation->quantity]) }}) @else ({{ __(':number product available', ['number' => $productVariation->quantity]) }}) @endif @endif @endif @endif
{!! apply_filters(ECOMMERCE_PRODUCT_DETAIL_EXTRA_HTML, null, $product) !!}
{{ __('Quantity') }}
@if (EcommerceHelper::isCartEnabled()) @if (EcommerceHelper::isQuickBuyButtonEnabled()) @endif @endif
@if (EcommerceHelper::isWishlistEnabled()) @endif @if (EcommerceHelper::isCompareEnabled()) @endif

sku) style="display: none" @endif>{{ __('SKU') }}: {{ $product->sku }}

@if ($product->categories->count())

{{ __('Categories') }}: @foreach($product->categories as $category) {!! BaseHelper::clean($category->name) !!}@if (!$loop->last),@endif @endforeach

@endif @if ($product->tags->count())

{{ __('Tags') }}: @foreach($product->tags as $tag) {{ $tag->name }}@if (!$loop->last),@endif @endforeach

@endif
{{ __('Share:') }} {!! Theme::renderSocialSharing($product->url, SeoHelper::getDescription(), $product->image) !!}
{!! BaseHelper::clean($product->content) !!}

{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $product) !!}
@if (EcommerceHelper::isProductSpecificationEnabled() && $product->specificationAttributes->where('pivot.hidden', false)->isNotEmpty())
@include(EcommerceHelper::viewPath('includes.product-specification'))
@endif @if (EcommerceHelper::isReviewEnabled())
@include('plugins/ecommerce::themes.includes.reviews', ['reviewButtonClass' => 'ps-btn'])
@endif @if (is_plugin_active('marketplace') && $product->store_id)

{{ $product->store->name }}

{!! BaseHelper::clean($product->store->content) !!}
{{ __('More Products from :store', ['store' => $product->store->name]) }}
@endif @if (is_plugin_active('faq') && count($product->faq_items) > 0)
@foreach($product->faq_items as $faq)

{!! BaseHelper::clean($faq[1]['value']) !!}
@endforeach
@endif
@if (is_plugin_active('ads')) @endif
@php $crossSellProducts = get_cross_sale_products($product, 7); @endphp @if (count($crossSellProducts) > 0) {!! Theme::partial('cross-sell-products', compact('crossSellProducts')) !!} @endif

{{ __('Related products') }}