@if ($admstore->reference_code == 1)
@php $prod = App\Models\Product::findOrFail($prod->id); @endphp
{{ $prod->ref_code }}
@endif
@if (!empty($prod->features))
@foreach ($prod->features as $key => $data1)
{{ $prod->features[$key] }}
@endforeach
@endif

? $prod->thumbnail
: asset('storage/images/thumbnails/' . $prod->thumbnail) }})
@if ($gs->is_rating == 1)
@endif
@if ($gs->is_cart)
@if ($prod->product_type == 'affiliate')
{{ __('Buy Now') }}
@else
@if ($prod->emptyStock())
{{ __('Out of Stock!') }}
@else
@if ($gs->is_cart_and_buy_available)
{{ __('Buy Now') }}
@else
{{ __('Details') }}
@endif
@endif
@endif
@else