public static function getGroupArray()
{
$db = Factory::getDBO();
$query = 'SELECT id, title' . ' FROM #__phocacart_specification_groups' . ' ORDER by ordering';
$db->setQuery($query);
$groups = $db->loadObjectList();
$groupsA = array();
if (!empty($groups)) {
foreach ($groups as $k => $v) {
$groupsA[$v->id] = $v->title;
}
}
return $groupsA;
}