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

nickpo

Newbie
  
  • Posts

    5
  • Joined

  • Last visited

nickpo's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Добрый день. У меня сбоку на сайте выводится корневая категория и её подкатегории. Я добавил ещё одну корневую категорию, но она не выводится. Вот код файла category.tpl. Помогите вывести и вторую корневую категорию тоже, чтобы был такой же блок, как сейчас. Т.е. было 2 блока. <div id='news'> </span> <div class="catalog-section-list"> <ul> <?php foreach ($categories as $category) { ?> <li> <span class='head_list'><?php echo $category['name']; ?></a></span> <?php if ($category['children']) { ?> <ul> <?php foreach ($category['children'] as $child) { ?> <li> <?php if ($child['category_id'] == $child_id) { ?> <a href="<?php echo $child['href']; ?>" class="active"><?php echo $child['name']; ?></a> <?php } else { ?> <a href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a> <?php } ?> <div class="subsubmenuss"></div> </li> <?php } ?> </ul> <?php } ?> </li> <?php } ?> </ul> </div> </div>
  2. Вот такой модуль решил проблему http://www.opencart.com/index.php?route=extension/extension/info&extension_id=17&filter_search=import
  3. Есть два работающих магазина, оба на опенкарте 1.5.6.4. Нужно перенести часть товара из одного мазанина в другой, вместе с картинками, ценами, описаниями. Есть ли для этого готовый модуль или инструкция как сделать это руками. Спасибо!
  4. Спасибо, не додумался сразу сделать так. Ошибки стали понятными и я их исправил. Благодарю!
  5. Перенес сайт на другой хостинг и такая ошибка появилась вместо меню. Notice: Undefined offset: 1 in /home/catalog/view/theme/dilecta/template/common/header.tpl on line 471 Notice: Undefined offset: 1 in /home/catalog/view/theme/dilecta/template/common/header.tpl on line 514 Начиная с 471 строки (на 514 строке точно такой же блок). <?php if($custom_menu_status[$language_id] == '1' && $custom_menu_position[$language_id] == '1') { for ($n = 1; $n <= 10; $n++) { $custom_menus = $this->config->get('custom_menu'); $custom_menu = $custom_menus[$language_id][$n]; if(isset($custom_menu['text']) && isset($custom_menu['url'])) { if($custom_menu['text'] != '' && $custom_menu['url'] != '') { echo '<li><a href="'.$custom_menu['url'].'">'.$custom_menu['text'].'</a></li>'; } } } } ?> Помогите решить проблему.
×
×
  • 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.