Products

    @forelse($products as $product)
  • {{ $product->name }}
    @if(!empty($product->cut_price)) ${{ number_format($product->cut_price,2) }} @endif ${{ number_format($product->price,2) }}
  • @empty @endforelse
@if ($products->lastPage() > 1)
  • @if($products->currentPage() == 1) Previous @else Previous @endif
  • @for ($i = 1; $i <= $products->lastPage(); $i++)
  • {{ $i }}
  • @endfor
  • @if($products->currentPage() == $products->lastPage()) Next @else Next @endif
@endif