added 404 if publications is not enabled or product was disabled