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

spectre

Users
  • Posts

    6,006
  • Joined

  • Last visited

Everything posted by spectre

  1. потому что не указан минимум и скорее всего они с 0 отправляются
  2. Смотрите что корзину обновляет count_prod это явно что-то левое
  3. Проделать то же самое в catalog
  4. Значит не полностью перенесли и не обновили кеши
  5. Конфиг nginx server { server_name www.myopencart.co; ## Your Domain root /var/www/opencart/upload; ## Web Root Directory index index.php index.html; listen 80; listen [::]:80; listen 443 default ssl; ssl_certificate /etc/nginx/ssl/opencart.crt; ssl_certificate_key /etc/nginx/ssl/opencart.key; # Redirect HTTP to HTTPS if ($scheme = http) { return 301 https://$server_name$request_uri; } access_log /var/log/nginx/myopencart_access.log; location /image/data { autoindex on; } location /admin { index index.php; } location / { try_files $uri @opencart; } location @opencart { rewrite ^/(.+)$ /index.php?_route_=$1 last; } # Make sure files with the following extensions do not get loaded by nginx because nginx would display the source code, and these files can contain PASSWORDS! location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ { deny all; } # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac). location ~ /\. { deny all; access_log off; log_not_found off; } location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { expires max; log_not_found off; } location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
  6. Это ж вы в админке обновили, еще на сайте надо
  7. Ну так сначала выводить уточнить поиск потом описание, в category.tpl Блок, который начинается на <?php if ($categories) { ?> это подкатегории а <?php if ($thumb || $description) { ?> - это описание, поменяйте их местами и все будет тип-топ
  8. модификаторы обновить нужно
  9. так смысл такой же, найдите где перечисляются подкатегории
  10. в стене подкатегорий нужно добавить это поле в контроллере 'description_dop' = html_entity_decode($category_info['description_dop'], ENT_QUOTES, 'UTF-8');
  11. admin/controller/common/dashboard.php где-то в начале пишете такую строчку $data['show'] = ($this->user->getGroupId() != 'группа пользователей копирайтера') ? true : false; admin/view/template/common/dashboard.tpl перед <div id="content"> пишем <?php if ($show) { ?> перед <?php echo $footer; ?> закрываем <?php } ?>
  12. редактировать шаблон письма и model/checkout/order добавить в массив ссылку, в шаблоне вывести
  13. update oc_product set weight_class_id = 'id граммов' id граммов можно посмотреть в система локализация единицы веса
  14. в common/dashboard if ($this->user->getGroupId() == 'группа копирайтера') скрывать dashboard
  15. только учтите, если у пользователя отключена загрузка какой-то аналитики, вылетит ошибка js и он не сможет ничего купить
  16. Делаем позицию для банера, считаем товары, выводим банеры
  17. Значит у вас нет задач кроме как добавить и изменить кастомное поле в заказе а как вы их выводите в отчёты или другие места, силой мысли?
  18. Обычные Я думаю вы в курсе как и где выводятся кастомные поля и что их не особо удобно использовать в варианте as is
×
×
  • 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.