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

thvanx

Newbie
  
  • Posts

    12
  • Joined

  • Last visited

About thvanx

  • Birthday 05/01/1981

Information

  • Gender
    Не определился

Recent Profile Visitors

1,299 profile views

thvanx's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Благодарю за помощь, в итоге какой код правильный и какой вставлять? Этот? только изменив 1 HOUR на 7 DAY $this->db->query("DELETE FROM " . DB_PREFIX . "cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)");
  2. Здравствуйте! Как сократить время жизни корзины opencart 2.3 до 7 дней. В файле system/library/cart/cart.php нашёл строчку $this->db->query("DELETE FROM " . DB_PREFIX . "cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 2 MONTH)"); Пробовал, заменить "2 MONTH" на 7 DAY - не сработало
Guest
×
  • 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.