• *
  • 4 posts

I would like to change the location from regions to cities where it shows just top 10 or 12 cities. The reason is that I am planning to provide service in just 1 region and there is no point for me to have that location displayed just for 1 region. So, I would like to know how can I change from regions to cities.


MB Themes

Re: How to change location display from regions to cities on home page
« Reply #1 on: June 30, 2022, 11:06:54 AM »
in inc.search.php you must update:
Code: [Select]
RegionStats::newInstance()->listRegions('%%%%', '>', 'i_num_items DESC')
osc_search_url(array('page' => 'search', 'sRegion' => $r['pk_i_id']))
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots