@foreach ($product->categories as $category) {!! BaseHelper::clean($category->name) !!} @if (!$loop->last), @endif @endforeach
@if (EcommerceHelper::isReviewEnabled())
({{ number_format($product->reviews_count) }})
@endif

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

@if($product->productLabels->count() > 0 && auth('customer')->user())
@foreach($product->productLabels as $label) css_styles !!}> {{ $label->name }} @endforeach
@endif {{-- OLD PRICE CODE --}} {{--
{{ format_price($product->front_sale_price_with_taxes) }} {{ format_price($product->price_with_taxes) }} @if ($product->front_sale_price != $product->price) {{ round((($product->price - $product->front_sale_price) / $product->price) * 100) }}% Off @endif
--}} {{-- NEW PRICE WITH CUSTOMER DISCOUNT --}} {{--
--}} {!! Theme::partial('ecommerce.product-price', compact('product')) !!} {{-- @if ($product->front_sale_price != $product->price) {{ round((($product->price - $product->front_sale_price) / $product->price) * 100) }}% Off @endif --}} {{--
--}} {!! Theme::partial('ecommerce.product-availability', compact('product', 'productVariation')) !!}
{!! BaseHelper::clean($product->content) !!} {{-- {!! apply_filters('ecommerce_before_product_description', null, $product) !!}

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

{!! apply_filters('ecommerce_after_product_description', null, $product) !!} --}}
{!! Theme::partial('ecommerce.product-flash-sale', compact('product')) !!}
{{ __('SKU') }}:
{{ $product->sku }}
@if (($brands = $product->brand) && $brands->id)
{{ __('Brand') }}:
{!! BaseHelper::clean($brands->name) !!}
@endif {{-- @if ($product->categories->count())
{{ __('Categories') }}:
@foreach($product->categories as $category) {!! BaseHelper::clean($category->name) !!}@if (!$loop->last), @endif @endforeach
@endif --}} @if ($product->tags->count())
{{ __('Tags') }}:
@foreach($product->tags as $tag) {!! BaseHelper::clean($tag->name) !!}@if (!$loop->last), @endif @endforeach
@endif
@csrf @if ($product->variations()->count() > 0)
{!! 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) !!}
{{-- QUICK SET BUTTONS --}} {!! Theme::partial('ecommerce.quick-set-buttons', compact('product')) !!}