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

grinosovo

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

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

grinosovo's Achievements

Explorer

Explorer (4/14)

  • Dedicated Rare
  • One Year In
  • First Post
  • Week One Done
  • One Month Later

Recent Badges

1

Reputation

  1. Решили таким способом: В \admin\model\extension\dashboard\sale.php строку: $sql = "SELECT SUM(total) AS total FROM " . DB_PREFIX . "order WHERE order_status_id > '0'"; заменить на $sql = "SELECT SUM(total) AS total FROM " . DB_PREFIX . "order WHERE order_status_id = 'ID ВАШЕГО СТАТУСА'"; либо заменить на: $st = implode(',', $this->config->get('config_complete_status')); $sql = "SELECT SUM(total) AS total FROM " . DB_PREFIX . "order WHERE order_status_id IN('" . $st . "')"; И тогда будут учитываться заказы выбранные в админке как "Статус заказа выполненного"
  2. Гуглить я умею, но это решение для OC2, там другой код и находится все уже в других файлах. Пробовал, не помогло.
  3. Дашборд ВСЕГО ПРОДАЖ в админке OC3 считает все заказы, а не только оплаченные. Хотелось бы исправить, чтоб считались только заказы указанные в config_complete_status либо с конкретным order_status_id который я укажу. Версия OpenCart 3.0.3.7
×
×
  • 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.