@if (count($relatedProducts) > 0) @php $layout = \Modules\CMS\Entities\Page::firstWhere('default', '1')->layout; $productCard = option($layout . '_template_product', ''); @endphp
{{ __('Related Product') }}
{{ __('Stock Out') }}
@endif @if(isset($product->featured) && $outStock == false){{ __('Featured') }}
@endif @if($product->review_average == 5 && $outStock == false){{ __('Top Rated') }}
{{ formatCurrencyAmount($product->getDiscountAmount()) }}% {{ __('off') }}
@endif{{ __('View') }}
{{ trimWords($product->name, 30) }}
@if ($productCard['price']){{ formatNumber($filterVariationRelated['min']) }} - {{ formatNumber($filterVariationRelated['max']) }}
@elseif($product->isGroupedProduct()) @php $groupProductPrice = $product->groupProducts() @endphp{{ formatNumber($groupProductPrice['min']) }} - {{ formatNumber($groupProductPrice['max']) }}
@else{{ $offerFlag ? formatNumber($product->sale_price) : formatNumber($product->regular_price) }}
@endif