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

blkang

Newbie
  
  • Posts

    8
  • Joined

  • Last visited

Information

  • Gender
    Не определился

blkang's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Я имею ввиду ссылка не та. Должна быть ссылка на реальную картинку, а получается на без картинки.
  2. Друзья, нужна помощь с добавлением картинок подкатегорий в меню аккордеон. /catalog/controller/module/category.php $this->load->model('tool/image'); $image = empty($category['image']) ? 'no_image.jpg' : $category['image']; $thumb = $this->model_tool_image->resize($image, 10, 10); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'] . ($show_product_count ? ' (' . $total . ')' : ''), 'children' => $children_data, 'thumb' => $thumb, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } /catalog/view/.../module/category.tpl <?php foreach ($category['children'] as $child) { ?> <li> <a href="<?php echo $child['href']; ?>"><?php echo $category['thumb']; ?></a> </li> <?php } ?> </ul> В меню выводится url без картинки: site.ru/image/cache/no-image-10x10.jpg, хотя изображение есть. Как это можно исправить? Спасибо.
  3. Помогите решить проблему. В файле category.tpl изменил <div class="product-list"> на <div class="product-grid"> и удалил весь js-код отвечающий за смену Список/Витрина. Перестали обновляться товары при изменении фильтра, обновляется только фильтр. Как исправить?
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.