*

Web

  • ****
  • 183 posts
Hide region
« on: April 18, 2020, 02:50:05 PM »
How to hide region ?

*

Web

  • ****
  • 183 posts
Re: Hide region
« Reply #1 on: April 21, 2020, 11:50:54 AM »
???

Marked as best answer by Web on April 29, 2020, 08:37:36 AM
*

MB Themes

Re: Hide region
« Reply #2 on: April 26, 2020, 12:03:30 PM »
@Web
In file:
oc-content/themes/beta/ajax.php

Remove:
Code: [Select]
    (SELECT "region" as type, r.s_name as name, c.s_name as name_top, null as city_id, r.pk_i_id  as region_id, r.fk_c_country_code as country_code  FROM ' . DB_TABLE_PREFIX . 't_region r, ' . DB_TABLE_PREFIX . 't_country c WHERE r.fk_c_country_code = c.pk_c_code AND r.s_name like "' . $term . '%")
    UNION ALL

Will hide region just in auto-complete feature.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots