@php $layout = MetaBox::getMetaData($product, 'layout', true); $layout = ($layout && in_array($layout, array_keys(get_product_single_layouts()))) ? $layout : 'product-right-sidebar'; Theme::layout($layout); 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', ['jquery']); @endphp
{{ __('Email to a Friend') }}

{{ $product->name }}

@if ($product->brand->id)
{{ __('Brands') }}: {{ $product->brand->name }}
@endif @if (EcommerceHelper::isReviewEnabled())
({{ __(':count reviews', ['count' => $product->reviews_count]) }})
@endif
{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} {{ get_sale_percentage($product->price, $product->front_sale_price) }} {{ __('Off') }} @endif
{!! apply_filters('ecommerce_before_product_description', null, $product) !!} {!! BaseHelper::clean($product->description) !!} {!! apply_filters('ecommerce_after_product_description', null, $product) !!}
@csrf @if ($product->variations()->count() > 0)
{!! render_product_swatches($product, [ 'selected' => $selectedAttrs, 'view' => Theme::getThemeNamespace() . '::views.ecommerce.attributes.swatches-renderer' ]) !!}
@if ($product->isOutOfStock()) ({{ __('Out of stock') }}) @endif
@endif {!! render_product_options($product) !!} {!! apply_filters(ECOMMERCE_PRODUCT_DETAIL_EXTRA_HTML, null, $product) !!}
  • {{ __('SKU') }}: {{ $product->sku }}
  • @if ($product->categories->count())
  • {{ __('Categories') }}: @foreach($product->categories as $category) {{ $category->name }}@if (!$loop->last),@endif @endforeach
  • @endif @if ($product->tags->count())
  • {{ __('Tags') }}: @foreach($product->tags as $tag) @if (!$loop->last),@endif @endforeach
  • @endif
  • {{ __('Availability') }}: {!! BaseHelper::clean($product->stock_status_html) !!}
{!! BaseHelper::clean($product->content) !!}
{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $product) !!}
@if (is_plugin_active('faq') && count($product->faq_items) > 0)
@foreach($product->faq_items as $faq)

{!! BaseHelper::clean($faq[1]['value']) !!}
@endforeach
@endif @if (EcommerceHelper::isReviewEnabled())
@include('plugins/ecommerce::themes.includes.reviews', ['reviewButtonClass' => 'button'])
@endif
@php $crossSellProducts = get_cross_sale_products($product, $layout == 'product-full-width' ? 4 : 3); @endphp @if (count($crossSellProducts) > 0)

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

@foreach($crossSellProducts as $crossProduct)
@include(Theme::getThemeNamespace() . '::views.ecommerce.includes.product-item', ['product' => $crossProduct])
@endforeach
@endif