public static function getPrestaProdCat() { $cats = sdsconfig::getCategories(); //1 Context::getContext()->language->id self::$prestacats = array(); if (!empty($cats)) { foreach ($cats as $cat) { self::$prestacats['category_' . $cat['category_id']] = htmlspecialchars_decode($cat['name']); self::getPrestaProdChildCat($cat['category_id']); } } return self::$prestacats; }