@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(); if ($flashSale) { Theme::asset() ->container('footer') ->usePath() ->add('countdown-js', 'js/countdown.js'); } @endphp
@include(Theme::getThemeNamespace('views.ecommerce.includes.product-gallery'))
@foreach ($product->productLabels as $label) {{ $label->name }} @endforeach @if (EcommerceHelper::isReviewEnabled())
{{ __(':count Reviews', ['count' => $product->reviews_count]) }} @endif

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

@if (!$product->isOutOfStock()) {{ __('In Stock') }} @endif
!$product->isOnSale()])> {{ format_price($product->front_sale_price_with_taxes) }} {{ format_price($product->price_with_taxes) }} $product->isOnSale(), 'ms-0' => !$product->isOnSale(), ])> {{ format_price($product->front_sale_price_with_taxes) }}
{!! apply_filters('ecommerce_before_product_description', null, $product) !!}

{!! BaseHelper::clean($product->trans('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
@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->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') !!}
{!! BaseHelper::clean($product->trans('content')) !!}
@if (theme_option('facebook_comment_enabled_in_product', 'no') === 'yes')

{{ __('Comment') }}

{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $product) !!}
@endif
@if (EcommerceHelper::isReviewEnabled())
@if ($product->review_images)
{{ __('Images from customer (:count)', ['count' => count($product->review_images)]) }}
@endif
{{ __(':count review(s) for ":name"', ['count' => $product->reviews_count, 'name' => $product->name()]) }}
{{ __('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 (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()) @include(Theme::getThemeNamespace('views.ecommerce.includes.quick-view-modal')) @endif