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

vyn

Newbie
  
  • Posts

    31
  • Joined

  • Last visited

vyn's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Здравствуйте! купил модуль. Установил на опенкарт 3. Потом захожу в настройки. Ставлю статус включить - сохраняю. Но он не сохраняет данные мои. Опять статус отключен у модуля. Как решить проблему?
  2. На сайте более тысячи товаров. Как теперь обновлять старые товары? Чтобы они опять в новинках были.
  3. я отключил товары с нулевым остатком в админке. а категории пустые всеравно остались.
  4. теперь так - foreach ($results as $result) { $data = array( 'filter_category_id' => $result['category_id'], 'filter_sub_category' => true, 'coolfilter' => $coolfilter ); $product_total = $this->model_catalog_product->getTotalProducts($data); if ($product_total > 0){ $this->data['categories'][] = array( 'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''), 'count' => $product_total, 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url) ); } } вроде пока изменений нет. пустые висят категории. кеш чистил
  5. эти категории висят после того как с помощью кода скрыты товары с количеством 0шт.(чтобы глаза не мозолили) но они не выключены(товары) просто скрыты. товаров много. в ручную не реально отключать. Товары загружаются с 1с
  6. Не помогло было так у меня - foreach ($results as $result) { $data = array( 'filter_category_id' => $result['category_id'], 'filter_sub_category' => true, 'coolfilter' => $coolfilter ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''), 'count' => $product_total, 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url) ); } добавил в нужном месте код. и категории не открываются
  7. Как автоматичсеки отключить показ пустых категорий, в которых нет товаров? Бывает до 100 пустых категорий висит. Какое условие нужно прописать в коде?
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.