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. как мед, так и ложкой мой код прописать до или после последней крошки $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_error'), 'href' => $this->url->link('product/product', $url . '&product_id=' . $product_id) );
  2. вот как это сделано в контроллере страницы товара $discounts = $this->model_catalog_product->getProductDiscounts($this->request->get['product_id']); $data['discounts'] = array(); foreach ($discounts as $discount) { $data['discounts'][] = array( 'quantity' => $discount['quantity'], 'price' => $this->currency->format($this->tax->calculate($discount['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']) ); } сделать по аналогии в категории и модулях
  3. описание, это не модуль. это обычное поле с данными товара(в данном случае с описанием)
  4. два варианта 1. найти модуль 2. написать самому(по аналогии с описанием)
  5. $data['uri'] = $this->url->link('product/product', $url . '&product_id=' . $this->request->get['product_id']); <a href="{{ uri }}#gdekupit">Где купить</a>
  6. необходим стимул, чтобы написать решение
  7. подсмотреть, как это сделано в админке сделать по аналогии на фронте
  8. вот. уже ближе а теперь смотрим есть ли в шаблоне строки, которые прописаны в <search>...........</search> движок ищет эти строки в оригинальных фалах и заменяет или добавляет(перед\после них) код модуля. если в фале нет искомой строки, то и кода модуля не будет.
  9. данная тема, это что? php? opencart? система модификации файлов opencart?
×
×
  • 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.