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

GTaR

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Everything posted by GTaR

  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 - 2.1.0.2 Версия модуля - 1.4 В чём может быть проблема? Спасибо.
×
×
  • 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.