@rooman
If you look into model
// GET SELLER ITEM CITIES
public function getCities($user_id) {
if(osc_get_current_user_locations_native() == 1) {
$this->dao->select('DISTINCT l.fk_i_city_id as city_id, l.s_city as city_name, l.s_city_native as city_name_native');
} else {
$this->dao->select('DISTINCT l.fk_i_city_id as city_id, l.s_city as city_name');
}
$this->dao->from($this->getTable_item() . ' as i, ' . $this->getTable_item_location() . ' as l');
$this->dao->where('l.fk_i_item_id = i.pk_i_id');
$this->dao->where('i.fk_i_user_id', (int)$user_id);
$this->dao->where('l.fk_i_city_id > 0');
$this->dao->where('l.s_city <> ""');
$result = $this->dao->get();
if($result) {
return $result->result();
}
return array();
}
It only get cities where seller has listings.