diff --git a/frontend/controllers/ProductController.php b/frontend/controllers/ProductController.php
index <HASH>..<HASH> 100644
--- a/frontend/controllers/ProductController.php
+++ b/frontend/controllers/ProductController.php
@@ -8,6 +8,7 @@ use bl\cms\shop\common\entities\ProductCountry;
 use bl\cms\shop\common\entities\ProductPrice;
 use Yii;
 use yii\web\Controller;
+use yii\web\NotFoundHttpException;
 
 /**
  * @author Albert Gainutdinov <xalbert.einsteinx@gmail.com>
@@ -17,6 +18,10 @@ class ProductController extends Controller
     public function actionShow($id = null) {
         $product = Product::findOne($id);
 
+        if(empty($product)) {
+            throw new NotFoundHttpException(Yii::t('yii', 'Page not found.'));
+        }
+
         /*Getting SEO data*/
         $this->view->title = $product->translation->seoTitle;
         $this->view->registerMetaTag([
throw not found exception if product does not exists