public function actionSelectcategory()
 {
     $session = new Session();
     $session->open();
     $super_cat_model = new SuperCategory();
     $category_model = new Category();
     $showCategory = false;
     $showSubCategory = false;
     $superCategoryData = $session['superCategoryArray'];
     $categoryData = '';
     if ($super_cat_model->load(Yii::$app->request->post())) {
         $showCategory = true;
         $categoryData = $category_model->getCategoriesData($super_cat_model->super_category_id);
         $session['categoryData'] = $categoryData;
     }
     return $this->render('uploaditem', ['superCategoryData' => $superCategoryData, 'super_cat_model' => $super_cat_model, 'category_model' => $category_model, 'categoryData' => $categoryData, 'showCategory' => $showCategory, 'showSubCategory' => $showSubCategory]);
 }