Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

specussa

Newbie
  
  • Posts

    33
  • Joined

  • Last visited

About specussa

  • Birthday 05/09/1988

Information

  • Gender
    Мужчина

Recent Profile Visitors

946 profile views

specussa's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Reacting Well Rare

Recent Badges

0

Reputation

  1. ну при загрузке категории, чтобы товары загружались через ajax
  2. решил так, вроде работает, но php файл этого tpl не подгружает if ($category_id == 81) { $template = $this->config->get('config_template') . '/template/product/categorynew.tpl'; } else { $template = $this->config->get('config_template') . '/template/product/category.tpl'; } if (file_exists(DIR_TEMPLATE . $template)) { $this->response->setOutput($this->load->view($template, $data)); } else { $this->response->setOutput($this->load->view('default/template/product/category.tpl', $data)); }
  3. нашел для старой версии в catalog/controller/product/category.php if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) { $this->template = $this->config->get('config_template') . '/template/product/category.tpl'; } else { $this->template = 'default/template/product/category.tpl'; } заменить на if ($category_id == 4) { $template = $this->config->get('config_template') . '/template/product/category_new.tpl'; } else { $template = $this->config->get('config_template') . '/template/product/category.tpl'; } if (file_exists(DIR_TEMPLATE . $template)) { $this->template = $template; } else { $this->template = 'default/template/product/category.tpl'; } как сделать для 2.1?
  4. да я написал туда, думал может есть альтернатива
  5. попробуйте в бд таблица "oc_url_alias" найти common/home и в следующее окно добавить index.html, не знаю на счет работоспособности, ну попытка не пытка только кеш почистите после
  6. ну я так понял вы решили html сайт решил закинуть на opencart) если нет, то весь шаблон надо пилить
  7. потому и полез что толком ничего не объяснили, скинули скрипт че с ним делать не пойму, хорошо я вставил туда скрипт толк какой?
  8. <script language="JavaScript"> window.location.href = "/news" </script> нашел в интернете, так перенаправляет, у вас не рабочий скрипт похоже
  9. добавить в html модуль, а html модуль привязать к схеме этой категории?
Guest
×
  • 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.