{{ $product->name }}
@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) @endif @endif @endif
{!! Theme::partial('ecommerce.product-loop-buttons', compact('product') + (!empty($wishlistIds) ? compact('wishlistIds') : [])) !!}
@if (is_plugin_active('marketplace') && $product->store->id) @endif

{{ $product->name }}

@if (EcommerceHelper::isReviewEnabled()) {!! Theme::partial('star-rating', ['avg' => $product->reviews_avg, 'count' => $product->reviews_count]) !!} @endif {!! Theme::partial('ecommerce.product-price', compact('product')) !!} @if (!empty($isFlashSale))
@if ($product->pivot->quantity > $product->pivot->sold) {{ __('Sold') }}: {{ (int) $product->pivot->sold }} / {{ (int) $product->pivot->quantity }} @else {{ __('Sold out') }} @endif
@endisset
{!! Theme::partial('ecommerce.product-cart-form', compact('product')) !!}