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

fanatic

Users
  • Posts

    4,905
  • Joined

  • Last visited

Everything posted by fanatic

  1. разархивировать, открыть в текстовом редакторе
  2. $sql = "SELECT c.image, c.category_id, cd.name FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "product_to_category p2c ON (c.category_id = p2c.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (p2c.category_id = c2s.category_id) WHERE p2c.product_id = '" . (int) $product_info['product_id']. "' AND p2c.main_category = '1' AND cd.language_id = '" . (int) $this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "'"; $query = $this->db->query($sql); $cat_info = $query->row; $data['products'][] = array( 'category_name' => $cat_info['name'], ...................
  3. чуть не так откуда ->row, если модель возвращает - return $sql->row; if ($special_date && $special_date['date_end'] != '0000-00-00') { $data['special_date_end'] = date($this->language->get('date_format_short'), strtotime($special_date['date_end'])); }
  4. $this->response->setOutput($this->load->view('checkout/cart', $data)); } else { $data['heading_title'] = $this->language->get('heading_title'); $data['text_error'] = $this->language->get('text_empty'); $data['button_continue'] = $this->language->get('button_continue'); $data['continue'] = $this->url->link('common/home'); unset($this->session->data['success']); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $this->response->setOutput($this->load->view('error/not_found', $data)); }
  5. да, выводятся все. я даже не думал, что выбор может быть из 100 штук
  6. автор шаблона, быстрей ответит
  7. oc_store префикс oc у вас может быть другой
  8. сделают - под вопросом, а вот рубль - вперед
×
×
  • 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.