@props([ 'product' => \Modules\Shop\Products\Models\Product::class, ]) @php $quotationMode = (bool) config( 'shop.quotation_mode', env('SHOP_QUOTATION_MODE', false) ); $priceInfo = $product->price_info; $isOnSale = $priceInfo->base_price && $priceInfo->min_price < $priceInfo->base_price; $discountPercentage = $isOnSale ? round((1 - $priceInfo->min_price / $priceInfo->base_price) * 100) : 0; @endphp
{{-- Image Container --}}
{{-- Badges --}}
@if ($isOnSale) Oferta @elseif($product->featured) Destacado {{-- Destacado --}} @endif
{{-- Image --}} {{ $product->name }}
{{-- Content --}}

{{ $product->name }}

{{-- Marca --}} @if ($product->brand)
{{ $product->brand->name }}
@endif {{-- Shipping Badge --}} @if ($product->shippable) @endif {{-- Price --}}