Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Невозможность выпотому чтора нужной подкатегории


Recommended Posts

Всем привет столкнулся с проблемой, создаю категорию ES и для неё нужно усиновить родительскую категорию с названием Lexus > ES ввожу в строку поиска ES находит любые другие подкатегории но только не те что мне нужно и их лисло ограничено в ручную выбрать нельзя. Подскажите как решить проблему? 

 

Edited by Dimusik
Link to comment
Share on other sites


спасипотому что а в каком файле менять надо? нашел спасипотому что! модулями не хотелось бы перегружать сайт.

 

/admin/controller/catalog

public function autocomplete() {
        $json = array();

        if (isset($this->request->get['filter_name'])) {
            $this->load->model('catalog/category');

            $filter_data = array(
                'filter_name' => $this->request->get['filter_name'],
                'sort'        => 'name',
                'order'       => 'ASC',
                'start'       => 0,
                'limit'       => 50
            );

/admin/view/stylesheet

bootstrap.css

чтобы всё помещалось и можно было посмотреть все варианты

.col-sm-10 .dropdown-menu {
    height: 240px;
    overflow-y: scroll;
}

 

Edited by Dimusik
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.