@if($product && filled($imagePath))
@else
@endif
{{-- Availability --}}
@if(! $product || ! $isPublished)
{{ __('Unavailable') }}
@elseif($isOutOfStock)
{{ __('Out of Stock') }}
@elseif(
$product->product_type
=== 'digital'
)
{{ __('Digital') }}
@else
{{ __('In Stock') }}
@endif
@if($discountPercentage > 0)
-{{ $discountPercentage }}%
@endif
{{-- Seller --}}
@if($seller)
{{-- Price --}}
@if($product)
@if(filled($item->id))
@endif
@if(filled($sellerUrl))
{{ $sellerName }}
@else
{{ $sellerName }}
@endif
@endif
{{-- Product Title --}}
@if( $isPublished && filled($productUrl) ) {{ $title }} @else {{ $title }} @endif
{{-- Description --}} @if($description !== ''){{ $description }}
@endif {{-- Rating --}}
@for($star = 1; $star <= 5; $star++)
@endfor
{{ number_format($rating, 1) }}
({{
number_format(
$reviewsCount
)
}})
{{
money(
$sellingPrice,
$displayCurrency
)
}}
@if($hasDiscount)
{{
money(
$regularPrice,
$displayCurrency
)
}}
@endif
@endif
{{-- Actions --}}
@if($isPublished)
@if(filled($productUrl))
{{ __('View Product') }}
@endif
@if(
$isAvailable
&& $cartRouteExists
)
@endif
@if(filled($contactUrl))
{{ __('Contact Seller') }}
@endif
@else
{{
__(
'This product is no longer available.'
)
}}
@endif
{{-- Remove from Wishlist --}}
@if($wishlistRouteExists)
@elseif(! $product)
{{
__(
'The original product record has been removed.'
)
}}
@endif