flush sale cache before loading sales

This commit is contained in:
Marion Muszynski 2017-11-14 10:28:45 +01:00
parent 1fcc90846e
commit fe13931fbc

View File

@ -30,6 +30,9 @@ class Catalog
public function setContent($version = 'fr')
{
// Flush to load the good sales
CacheRedis::getInstance()->clear('sale*');
$test_for_tomorrow = (int)Tools::getValue('tomorrow',0);
$sales_today = array();