diff --git a/controllers/VariantCountController.php b/controllers/VariantCountController.php index 07873d3..9775b84 100644 --- a/controllers/VariantCountController.php +++ b/controllers/VariantCountController.php @@ -197,6 +197,7 @@ } /** + * Select Variants for list * @param string $q * @param int|null $shop_id * @@ -243,7 +244,13 @@ } return $out; } - + + /** + * Show import form action + * @param $shop_id + * + * @return string + */ public function actionImport($shop_id){ return $this->render( @@ -253,6 +260,12 @@ ] ); } + /** + * Upload file action + * @param $shop_id + * + * @return array + */ public function actionUpload($shop_id) { @@ -277,6 +290,10 @@ return $data; } + /** + * insert variants to stock + * @param $shop_id + */ protected function populateImportTable($shop_id) -- libgit2 0.21.4