@if ($product->brand->id)
@endif
{{ $product->name }}
@if (is_plugin_active('marketplace') && $product->store?->id)
@endif
@if (EcommerceHelper::isReviewEnabled() && ($product->reviews_avg || theme_option('ecommerce_hide_rating_star_when_is_zero', 'no') === 'no'))
@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 (EcommerceHelper::isTaxEnabled() && get_ecommerce_setting('display_tax_description', false))
@php
$taxes = $product->taxes->isNotEmpty()
? $product->taxes
: collect([(object)['title' => get_ecommerce_setting('default_tax_rate') ? Tax::find(get_ecommerce_setting('default_tax_rate'))->title : '', 'percentage' => get_ecommerce_setting('default_tax_rate') ? Tax::find(get_ecommerce_setting('default_tax_rate'))->percentage : 0]]);
$taxNames = $taxes->map(fn($tax) => $tax->title . ' ' . $tax->percentage . '%')->implode(' + ');
@endphp
@if (EcommerceHelper::isDisplayProductIncludingTaxes())
({{ __('Including :tax', [
'tax' => $taxNames,
]) }})
@else
({{ __('Excluding :tax', [
'tax' => $taxNames,
]) }})
@endif
@endif
@if ($product->variations->isNotEmpty())
{!! render_product_swatches($product, ['selected' => $selectedAttrs]) !!}
@endif
{!! render_product_options($product) !!}
@include(Theme::getThemeNamespace('views.ecommerce.includes.product-availability'))
@if (isset($flashSale))
{{ __('Flash Sale end in:') }}
- 0{{ trim(__(':days D', ['days' => null])) }}
- 0{{ trim(__(':hours H', ['hours' => null])) }}
- 0{{ trim( __(':minutes M', ['minutes' => null])) }}
- 0{{ trim(__(':seconds S', ['seconds' => null])) }}
@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
! $product->sku])>
{{ __('SKU:') }}
{{ $product->sku }}
@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