Showing {{ $start_count }}β{{ $end_count }} of {{ $products->total() }} results
{{-- OPTIONAL: Sort dropdown (only if you want) --}}
{{-- PRODUCTS GRID (same as shop) --}}
@php
$currency = session('currency_shortcut', 'USD');
$symbol = session('currency_symbol', '$');
$rate = session('currency_rate', 1);
@endphp
@forelse($products as $product)
@php
$base = $product->product_amount ?? 0;
$price = $base * $rate;
if ($currency === 'AED') {
$formattedPrice = number_format($price, 2) . ' ' . $symbol;
} else {
$formattedPrice = $symbol . ' ' . number_format($price, 2);
}
$img = $product->image_1 ?: asset('img/shop/shop-1.jpg');
@endphp
@if(!empty($product->is_new))
New
@endif
{{ $product->product_name }}
{{ $formattedPrice }}
@empty
@endforelse
{{-- Showing & Pagination (reuse same block we made for shop) --}}
Showing {{ $start_count }}β{{ $end_count }} of {{ $products->total() }} results