@if ($product)
@php $actionMaxWidth = 40; if (EcommerceHelper::isWishlistEnabled()) { $actionMaxWidth += 36; } if (EcommerceHelper::isCompareEnabled()) { $actionMaxWidth += 40; } @endphp
@if (EcommerceHelper::isWishlistEnabled()) @endif @if (EcommerceHelper::isCompareEnabled()) @endif
@if ($product->isOutOfStock()) {{ __('Out Of Stock') }} @else @if ($product->productLabels->isNotEmpty()) @foreach ($product->productLabels as $label) css_styles !!}>{{ $label->name }} @endforeach @else @if (! EcommerceHelper::hideProductPrice() || EcommerceHelper::isCartEnabled()) @if ($product->front_sale_price !== $product->price) {{ get_sale_percentage($product->price, $product->front_sale_price) }} @endif @endif @endif @endif
@if ($category = $product->categories->sortByDesc('id')->first()) @endif

{{ $product->name }}

@if (EcommerceHelper::isReviewEnabled() && $product->reviews_count)
({{ $product->reviews_count }})
@endif @if (is_plugin_active('marketplace') && $product->store->id) @endif
{!! apply_filters('ecommerce_before_product_price_in_listing', null, $product) !!} @include(Theme::getThemeNamespace('views.ecommerce.includes.product-price')) {!! apply_filters('ecommerce_after_product_price_in_listing', null, $product) !!} @if (EcommerceHelper::isCartEnabled())
@if($product->has_variations) {{ __('Add') }} @else {{ __('Add') }} @endif
@endif
@endif