Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Обычный

About GTaR

  • Rank
  1. Добрый день. При открытии карточки товара для некоторых товаров вылетает ошибка Fatal error: Call to undefined method ModelCatalogActionProductsPro::endings() in [site.ru]/system/storage/modification/catalog/controller/product/product.php on line 768 Методы is_installed() и getActionProduct() при этом успешно отрабатывают. Участок кода: if ($gift['date_end'] != '0000-00-00') { $date_diff = strtotime($gift['date_end']." 00:00:00") - strtotime(date("Y-m-d H:i:s")); $action_days = floor($date_diff/(3600*24)); if ($action_days <= 0) { $end = $this->language->get('text_days_end'); } else { $end = $this->language->get('text_days_left')." ".$action_days." ".$this->model_catalog_action_products_pro->endings($action_days); } } Версия OpenCart - Версия модуля - 1.4 В чём может быть проблема? Спасибо.

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.