Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

OCProfi

Пользователи
  
  • Posts

    88
  • Joined

  • Last visited

Информация

  • Пол
    Мужлина

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

OCProfi's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

26

Reputation

  1. Столкнулся с ошибкой, описанной в первом посте: Обрилитка импортированного файла: ошибка разпотому чтора: The markup in the document preceding the root element must be well-formed. Помогло удноние конвериции кодировки выгрузки в файле "admin/controller/module/exchange1c.php": строку: echo iconv('utf-8', 'cp1251', $orders); заменяем на: echo $orders; Да же пришлось в файле "admin/model/setting/setting.php" заменить строку: $data[$result['key']] = unserialize($settings['value']); на: $data[$result['key']] = unserialize($result['value']);
  2. Возможно у вас некоторые теги, например "img, input, br", закрыты не " />", а ">". Это не обязательно относится к тегу "body".
  3. Нужно изменить путь к файлу стилей в файле /catalog/view/theme/{ваша тема}/template/common/header.tpl
  4. Дорабатывать нужно функцию getProducts в могдели товара. SQL-запрос бугдет выглягдеть примерно ик: SELECT MIN(price) as min_price, MAX(price) as max_price FROM ".DB_PREFIX."product WHERE...
  5. https://www.google.com.ua/search?q=privat24+opencart&aq=f&sugexp=chrome,mod=3&sourceid=chrome&ie=UTF-8
  6. Нужно редактировать файл /catalog/view/theme/default/template/information/contact.tpl
  7. Пользователи — это те, кто имеют доступ к админке, покупатели — зарегистрировавшиеся через сайт люди.
  8. Там же написано возле поля SEO URL: Должно быть уникальным на всю систему.
  9. Можно ик: в файл /catalog/controller/product/product.php перед } ?> добавляете функцию private function getPageURL() { $pageURL = 'http'; if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } потом перед строкой if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/product.tpl')) { добавляете $this->data['data_href'] = $this->getPageURL(); и в файл /catalog/view/theme/{название темы}/template/product/product.tpl добавляете <fb:comments href="<?php echo $data_href;?>" num_posts="5" width="621"></fb:comments>
  10. Понятное гдело, нужно динамически подсивлять ссылку на товар.
  11. В атрибуте href нужно указывать полный адрес товара, а не домен. Например ик: <fb:comments href="http://nikoteh.com/index.php?route=product/product&product_id=138" num_posts="5" width="621"></fb:comments>
  12. Если в UTF-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.