@if ($product->brand_id)
@endif
{{ $product->name }}
@if (is_plugin_active('marketplace') && $product->store_id)
@endif
@if (EcommerceHelper::isReviewEnabled())
@include(EcommerceHelper::viewPath('includes.rating-star'), ['avg' => $product->reviews_avg])
@endif
{!! apply_filters('ecommerce_before_product_description', null, $product) !!}
@if ($product->description)
{!! BaseHelper::clean($product->description) !!}
@endif
{!! apply_filters('ecommerce_after_product_description', null, $product) !!}
@include(EcommerceHelper::viewPath('includes.product-price'), [
'priceWrapperClassName' => 'tp-product-details-price-wrapper mb-20',
'priceClassName' => 'tp-product-details-price new-price',
'priceOriginalWrapperClassName' => '',
'priceOriginalClassName' => 'tp-product-details-price old-price',
])
@if ($product->variations->isNotEmpty())
{!! render_product_swatches($product, ['selected' => $selectedAttrs]) !!}
@endif
@include(Theme::getThemeNamespace('views.ecommerce.includes.product-availability'))
@if (isset($flashSale))
{{ __('Flash Sale end in:') }}
@endif
{!! apply_filters(ECOMMERCE_PRODUCT_DETAIL_EXTRA_HTML, null, $product) !!}
@if (EcommerceHelper::isCartEnabled())
@php
$isOutOfStock = $product->isOutOfStock();
@endphp
$isOutOfStock])>
{{ __('Quantity') }}
@if (EcommerceHelper::isQuickBuyButtonEnabled())
@endif
@endif
@if (EcommerceHelper::isCompareEnabled())
@endif
@if (EcommerceHelper::isWishlistEnabled())
@endif
@if ($product->categories->isNotEmpty())
{{ __('Category:') }}
@foreach($product->categories as $category)
{{ $category->name }}@if (!$loop->last),@endif
@endforeach
@endif
@if ($product->tags->isNotEmpty())
{{ __('Tag:') }}
@foreach($product->tags as $tag)
{{ $tag->name }}@if (!$loop->last),@endif
@endforeach
@endif