Jump to content

6y6JIuK92

Новичок
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Обычный

About 6y6JIuK92

  • Rank
    Новичок
  1. Не знаю на сколько актуально, сам мучился, искал, нашел много решений для 1.5.х а на Opencart 2.0.х делается так: в \catalog\controller\common\cart.php ищи $data['text_items'] = sprintf($this->language->get('text_items'), $this->cart->countProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total)); меняй на $data['text_items'] = sprintf($this->language->get('text_items'), $this->cart->hasProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total)); и в \catalog\controller\checkout\cart.php ищи $json['total'] = sprintf($this->language->get('text_items'), $this->cart->countProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total)); меняй на $json['total'] = sprintf($this->language->get('text_items'), $this->cart->hasProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total));
×

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.