@if($product->effective_discount > 0) -{{ round($product->effective_discount) }}% @endif {{ $product->name }}
@auth
@csrf
@else @endauth

{{ $product->name }}

{{ optional($product->category)->name }}
@if($product->effective_discount > 0) Rs. {{ number_format($product->effective_price, 2) }} Rs. {{ number_format($product->price, 2) }} @else Rs. {{ number_format($product->price, 2) }} @endif
Details @auth
@csrf
@endauth