@if ($product)
@if ($product->isOutOfStock()) {{ __('Out Of Stock') }} @else @if ($product->productLabels->count()) @foreach ($product->productLabels as $label) color) style="background-color: {{ $label->color }}" @endif>{{ $label->name }} @endforeach @else @if ($product->front_sale_price !== $product->price) {{ get_sale_percentage($product->price, $product->front_sale_price) }} @endif @endif @endif
@php $category = $product->categories->first(); @endphp @if ($category) @endif

{{ $product->name }}

@if (EcommerceHelper::isReviewEnabled())
({{ $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) }} @endif
@if (EcommerceHelper::isCartEnabled())
@endif
@endif