diff --git a/controllers/front/CategoryController.php b/controllers/front/CategoryController.php index 33dfc3bf3..166ce0d2d 100644 --- a/controllers/front/CategoryController.php +++ b/controllers/front/CategoryController.php @@ -205,5 +205,13 @@ class CategoryControllerCore extends FrontController $this->context->smarty->assign('nb_products', $this->nbProducts); } + + /** + * Get instance of current category + */ + public function getCategory() + { + return $this->category; + } }