@if ($product)
@if ($product->isOutOfStock())
{{ __('Out Of Stock') }}
@else @if ($product->productLabels->count() || $product->front_sale_price !== $product->price)
@foreach ($product->productLabels as $label) color) style="background-color: {{ $label->color }}" @endif>{{ $label->name }} @endforeach @if ($product->front_sale_price !== $product->price) {{ get_sale_percentage($product->price, $product->front_sale_price) }} @endif
@endif @endif {{ $product->name }} @if (EcommerceHelper::isWishlistEnabled()) @endif @if (count($product->variationAttributeSwatchesForProductList))
    @foreach($product->variationAttributeSwatchesForProductList->unique('attribute_id') as $attribute) @if ($attribute->display_layout == 'visual') @php $attribute->setRelation('product', $product); @endphp
  • @endif @endforeach
@endif
{!! BaseHelper::clean($product->name) !!} {!! apply_filters('ecommerce_before_product_price_in_listing', null, $product) !!}

{{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} @endif

{!! apply_filters('ecommerce_after_product_price_in_listing', null, $product) !!} @if (EcommerceHelper::isReviewEnabled())
({{ $product->reviews_count }})
@endif
@endif