@php Theme::asset() ->usePath() ->add('jquery-bar-rating-css', 'plugins/jquery-bar-rating/fontawesome-stars.css'); Theme::asset() ->container('footer') ->usePath() ->add('jquery-bar-rating-js', 'plugins/jquery-bar-rating/jquery.barrating.min.js'); Theme::asset() ->usePath() ->add('lightgallery-css', 'plugins/lightgallery/css/lightgallery.min.css'); Theme::asset() ->container('footer') ->usePath() ->add('lightgallery-js', 'plugins/lightgallery/js/lightgallery.min.js'); $flashSale = $product->latestFlashSales()->first(); Theme::set('pageTitle', ''); @endphp
@include(Theme::getThemeNamespace('views.ecommerce.includes.product-gallery'))
@if ($product->isOnSale() && $product->sale_percent) {{ __(':percent% off', ['percent' => $product->sale_percent]) }} @endif @if ($product->productLabels->isNotEmpty()) @foreach ($product->productLabels as $label) css_styles !!} >{{ $label->name }} @endforeach @endif @if (EcommerceHelper::isReviewEnabled())
{{ __(':count Reviews', ['count' => $product->reviews_count]) }} @endif

{!! BaseHelper::clean($product->name) !!}

{!! $product->stock_status_html !!}
@include(EcommerceHelper::viewPath('includes.product-price'), ['product' => $product])
@if ($product->tax_description)
{{ $product->tax_description }}
@endif {!! apply_filters('ecommerce_before_product_description', null, $product) !!}

{!! BaseHelper::clean($product->description) !!}

{!! apply_filters('ecommerce_after_product_description', null, $product) !!} @if ($flashSale)

{!! __('Hurry up! Sale end in') !!}

{{ __('Sold: :count', ['count' => $flashSale->pivot->sold . '/' . $flashSale->pivot->quantity]) }}
@endif
@csrf
@if ($product->variations->isNotEmpty()) {!! render_product_swatches($product, [ 'selected' => $selectedAttrs, 'view' => Theme::getThemeNamespace('views.ecommerce.attributes.swatches-renderer'), ]) !!} @endif {!! render_product_options($product) !!} {!! apply_filters(ECOMMERCE_PRODUCT_DETAIL_EXTRA_HTML, null, $product) !!}
@if (EcommerceHelper::isCartEnabled())
@if (EcommerceHelper::isQuickBuyButtonEnabled()) @endif
@endif
@if (EcommerceHelper::isWishlistEnabled()) @endif @if (EcommerceHelper::isCompareEnabled()) @endif
@if ($product->sku)

{{ __('SKU:') }}

{{ $product->sku }}
@endif @if ($product->brand->id)

{{ __('Brand:') }}

{{ $product->brand->name }}
@endif @if ($product->categories->isNotEmpty())

{{ __('Categories:') }}

@foreach ($product->categories as $category) {{ $category->name . (!$loop->last ? ',' : null) }} @endforeach
@endif @if ($product->tags->isNotEmpty())

{{ __('Tags:') }}

@foreach ($product->tags as $tag) {{ $tag->name . (!$loop->last ? ',' : null) }} @endforeach
@endif
{!! dynamic_sidebar('product_detail_sidebar') !!}
@include(Theme::getThemeNamespace('views.ecommerce.includes.cross-sale-products'), ['products' => $product->crossSaleProducts])
{!! BaseHelper::clean($product->content) !!}
@if (theme_option('facebook_comment_enabled_in_product', 'no') === 'yes')

{{ __('Comment') }}

{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $product) !!}
@endif
@if (EcommerceHelper::isProductSpecificationEnabled() && $product->specificationAttributes->where('pivot.hidden', false)->isNotEmpty()) @endif @if (EcommerceHelper::isReviewEnabled())
@include('plugins/ecommerce::themes.includes.reviews')
@endif @if (is_plugin_active('faq') && count($product->faq_items) > 0)
@foreach ($product->faq_items as $faq)

$loop->first]) >
{!! BaseHelper::clean($faq[1]['value']) !!}
@endforeach
@endif
@php($relatedProducts = get_related_products($product, 5)) @if ($relatedProducts->isNotEmpty()) @if (theme_option('enable_quick_view', 'yes') === 'yes') @include(Theme::getThemeNamespace('views.ecommerce.includes.quick-view-modal')) @endif @endif