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

grinosovo

Новичок
  
  • Posts

    3
  • Joined

  • Last visited

grinosovo's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • Conversation Starter

Recent Badges

0

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.