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. и в методе editManufacturer, тоже нужно добавить перед обновлением
  2. а noindex, у вас нет в шаблоне кто-то добавил в модель, а в шаблоне не вывел. это не стандартный функционал
  3. в модели- admin/model/catalog/manufacturer.php перед вставить $this->load->model('localisation/language'); $language_info = $this->model_localisation_language->getLanguageByCode($this->config->get('config_language')); $front_language_id = $language_info['language_id']; $data['name'] = $data['manufacturer_description'][$front_language_id ]['name']; и unlefined index: name, не будет
  4. вы не тот шаблон показsваете это information_form.tpl
  5. да покажите уже шаблон admin/view/template/catalog/manufacturer_form.tpl
  6. оно, берет оригинальный файл, вносит в него изменения, которые прописаны в ocmol.xml файле, и создает модифицированный . и все это происходит каждый раз, когда вы нажимаете в админке на кнопку "Обновить модификаторы"
  7. <style> #text{ display:none; } </style> <script> $(function(){ $('#show-hide').click(function(){ let t = $(this).data('text'); let tt = $(this).text(); $(this).text(t); $(this).data('text', tt); $("#text").slideToggle({ duration: 'slow', easing: 'linear' }); }) }) </script> <p>Содержание <span data-text="[скрыть]" id="show-hide">[открыть]</span></p> <p id="text">hello world</p>
  8. не факт, что у поля name="name" может опечатка
  9. при создании\редактировании производителя, в модель передается массив с данными и в этом массиве, нет данных с индексами name, noindex для начала, смотрите шаблон, есть ли в форме поля с соответствующими именами
  10. добавить в массив элементы с индексами name, noindex
  11. и на первом, мой переделанный модуль прайс листа. в покупателях, вас не вижу
  12. более подробное описание задачи, есть?
  13. видимо модуль images_by_options затирает ваши правки
  14. да, но не будет Undefined variable: last_image, в шаблоне
×
×
  • 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.