'\'\'\'When admin make published status to no  of a product then in front the product is shown but clicking on it it is redirecting to 404 error page.PLease hide the product from user side if that product status is inactive\'\'\''