Comments Updated
This commit is contained in:
parent
44374fd349
commit
0bd2762da9
|
|
@ -219,7 +219,7 @@ class CategoryController extends Controller
|
||||||
/**
|
/**
|
||||||
* Get category product count.
|
* Get category product count.
|
||||||
*
|
*
|
||||||
* @return json
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function categoryProductCount() {
|
public function categoryProductCount() {
|
||||||
$indexes = explode(",", request()->input('indexes'));
|
$indexes = explode(",", request()->input('indexes'));
|
||||||
|
|
@ -239,8 +239,7 @@ class CategoryController extends Controller
|
||||||
* This method will fetch all root category ids from the channel. If `id` is present,
|
* This method will fetch all root category ids from the channel. If `id` is present,
|
||||||
* then it is not deletable.
|
* then it is not deletable.
|
||||||
*
|
*
|
||||||
* @param $category
|
* @param \Webkul\Category\Models\Category $category
|
||||||
*
|
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private function isCategoryDeletable($category)
|
private function isCategoryDeletable($category)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue