{{ $product->name }}

@if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} @endif {{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ get_sale_percentage($product->price, $product->front_sale_price) }} @endif
@if (EcommerceHelper::isReviewEnabled()) @php $countRating = get_count_reviewed_of_product($product->id); $avgRating = get_average_star_of_product($product->id); @endphp @if ($countRating > 0)
({{ $countRating }} {{ __('reviews') }})
@endif @endif
@if ($product->variations()->count() > 0)
{!! render_product_swatches($product, [ 'selected' => $selectedAttrs, 'view' => Theme::getThemeNamespace() . '::views.ecommerce.attributes.swatches-renderer' ]) !!}
@endif
@csrf @if (EcommerceHelper::isCartEnabled())
@endif @if (EcommerceHelper::isCartEnabled()) @endif
{{ __('View full details') }}