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

interface

Newbie
  
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

1,242 profile views

interface's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

1

Reputation

  1. Все ок. Спасибо. работает! респект модуль реально выручает ))). ocstore 1.5.5.1.2
  2. Скока лет уже прошло. Сам задался таким вопросом при разработке полностью автонаполняемого магазина. Вот как я это реализовал у себя OCstore 1.5.5.1.2 шаблон default Включаем подсчет категорий в настройках магазина В файле catalog/controller/module/category.php Делаем так (выделено как я сделал) if ($product_total!=0){ $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'] . ($show_product_count ? ' (' . $product_total . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } } $total = count($PIDs); if ($total!=0){ $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'] . ($show_product_count ? ' (' . $total . ')' : ''), 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); }
  3. Всем привет. Ну так как с проблемой справляться. У меня все включено но не считает. а точнее считает через раз.
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.