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

buslikdrev

Users
  
  • Posts

    4,051
  • Joined

  • Last visited

Everything posted by buslikdrev

  1. Прям вижу, как орк сидит в окопе и задаёт вопрос по OpenCart на форуме.
  2. $extension = pathinfo($result['image'], PATHINFO_EXTENSION); $image_old = $result['image']; $image_new = 'cache/' . utf8_substr($result['image'], 0, utf8_strrpos($result['image'], '.')) . '-' . (int)$this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_width') . 'x' . (int)$this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_height') . '.' . $extension; if (!is_file(DIR_IMAGE . $image_new) || (filemtime(DIR_IMAGE . $image_old) > filemtime(DIR_IMAGE . $image_new)) { $image = new Image(DIR_IMAGE . $image_old); if ($image) { $image->resize($this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_height')); $image->rotate(90); $image->save(DIR_IMAGE . $image_new); } } if (is_file(DIR_IMAGE . $image_new)) { $image = ($this->request->server['HTTPS'] ? $this->config->get('config_ssl') : $this->config->get('config_url')) . 'image/' . $image_new; } else { $image = $this->model_tool_image->resize('no_image.png', $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_height')); }
  3. Есть модули добавляющие такую возможность.
  4. Если весь шаблон, то в tpl оставляйте.
  5. Вам нужен модификатор "Свободное описание при редакторе summernote", который позволит вставлять любой html код.
  6. Наймите сис-админа в вашем городе их должно быть много.
  7. https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=43207
  8. https://opencartforum.com/forum/18-настройка-и-мелкая-работа-по-уже-существующему-сайту/
  9. Есть много факторов из-за чего переадресация быть может. За 10$ могу исправить.
×
×
  • 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.