Error handling for products
Hide pagination when the page doesn't exist