Merge branch 'develop' into gli-1944

This commit is contained in:
vishalsingh.qlo325
2024-07-03 10:06:52 +05:30
81 changed files with 2078 additions and 1668 deletions

View File

@@ -278,7 +278,7 @@ class AdminNormalProductsControllerCore extends AdminController
$idServiceCategory = Configuration::get('PS_SERVICE_CATEGORY');
$this->objLocationsCategory = new Category($idServiceCategory, $this->context->language->id);
$nestedCategories = Category::getNestedCategories($idServiceCategory);
if ($nestedCategories) {
if (isset($nestedCategories[$idServiceCategory]['children']) && $nestedCategories[$idServiceCategory]['children']) {
foreach ($nestedCategories[$idServiceCategory]['children'] as $childCategory) {
$this->buildCategoryOptions($childCategory);
}