@php Theme::layout('full-width'); Theme::set('bodyClass', 'single-product'); @endphp {!! Theme::partial('page-header', ['size' => 'xxxl']) !!}
@include(EcommerceHelper::viewPath('includes.product-gallery'))

{{ $product->name }}

{!! Theme::partial('ecommerce.product-price', compact('product')) !!} @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) !!}
{!! Theme::partial('ecommerce.product-availability', compact('product', 'productVariation')) !!} @if (Botble\Ecommerce\Facades\FlashSale::isEnabled() && ($flashSale = $product->latestFlashSales()->first()))
{{ __('Hurry up! Sale end in') }}
@if (Botble\Ecommerce\Facades\FlashSale::isShowSaleCountLeft())
{{ __('Sold') }}: {{ $flashSale->sale_count_left_label }}
@endif
@endif {!! Theme::partial( 'ecommerce.product-cart-form', compact('product', 'selectedAttrs', 'productVariation') + [ 'withButtons' => true, 'withVariations' => true, 'withProductOptions' => true, 'wishlistIds' => \Theme\Farmart\Supports\Wishlist::getWishlistIds([$product->id]), 'withBuyNow' => true, ], ) !!}
{{ __('SKU') }}: {{ $product->sku }}
@if ($product->categories->isNotEmpty())
{{ __('Categories') }}: @foreach ($product->categories as $category) {{ $category->name }}@if (!$loop->last),@endif @endforeach
@endif @if ($product->tags->isNotEmpty())
{{ __('Tags') }}: @foreach ($product->tags as $tag) {{ $tag->name }}@if (!$loop->last),@endif @endforeach
@endif @if (theme_option('social_share_enabled', 'yes') == 'yes')
{!! Theme::partial('share-socials', compact('product')) !!}
@endif
{!! dynamic_sidebar('product_detail_sidebar') !!}
{!! BaseHelper::clean($product->content) !!}
{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $product) !!}
@if (EcommerceHelper::isReviewEnabled())
@include('plugins/ecommerce::themes.includes.reviews')
@endif @if (is_plugin_active('marketplace') && $product->store_id)
@include(Theme::getThemeNamespace() . '::views.marketplace.includes.info-box', [ 'store' => $product->store, ])
@endif @if (is_plugin_active('faq') && count($product->faq_items) > 0)
@include('plugins/ecommerce::themes.includes.product-faqs', ['faqs' => $product->faq_items])
@endif
@if (($relatedProducts = get_related_products($product, 6)) && $relatedProducts->isNotEmpty()))

{{ __('Related products') }}

@endif
@if (EcommerceHelper::isCartEnabled()) @if (EcommerceHelper::isQuickBuyButtonEnabled()) @endif @endif