set 404 if product is not published
add search condition to product list