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

Andrii1990

Newbie
  
  • Posts

    4
  • Joined

  • Last visited

Andrii1990's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Методом дидукции и магического ТИКА, сделал /catalog/controller/module/featured.php после foreach ($products as $product_id) { $product_info = $this->model_catalog_product->getProduct($product_id); вставив $categories = $this->model_catalog_product->getCategories($product_id); if ($categories) $categories_info = $this->model_catalog_category->getCategory($categories[0]['category_id']); $data['category_title'] = $categories_info['name']; $data['category_href'] = $this->url->link('product/category', 'path=' . $categories_info['category_id']); и там где нужно в .tpl <a href="<?php echo $category_href; ?>"><?php echo $category_title; ?></a>
  2. Всем привет, нужна подсказка: как вивести преаю корзины в header.tpl Нужно сделать так чтоби откривалось превю корзины (отображения товаров в корзине) при нажатии на корзину розворачивался блок которий находится после открития тега <BODY> Версия opencart 2.0.2.0
×
×
  • 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.