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

drujban

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

    98
  • Joined

  • Last visited

2 Followers

Информация

  • Пол
    Мужлина
  • Город:
    Киев

Recent Profile Visitors

1,529 profile views

drujban's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

7

Reputation

  1. скорее всего кол-во формируется в файлах модуля. поищите файл с названием reviews или tabs или что-то в этом рогде
  2. в catalog/language/*/common/cart.php добавляете $_['text_items_empty'] = 'Ваша корзина пуси'; в catalog/language/*/checkout/cart.php добавляете $_['text_items_empty'] = 'Ваша корзина пуси'; в 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, $this->session->data['currency'])); и меняете на if($this->cart->countProducts() == 0){ $data['text_items'] = $this->language->get('text_items_empty'); }else{ $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, $this->session->data['currency'])); } в 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, $this->session->data['currency'])); } и меняете на if($this->cart->countProducts() == 0){ $json['total'] = $this->language->get('text_items_empty'); }else{ $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, $this->session->data['currency'])); } не тестил, но должно рилиить
×
×
  • 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.