From fe13931fbcc591041f84bdb3d7ab924ef6c5e12a Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Tue, 14 Nov 2017 10:28:45 +0100 Subject: [PATCH] flush sale cache before loading sales --- modules/emarsys_rss/flux.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/emarsys_rss/flux.php b/modules/emarsys_rss/flux.php index 0b8e632e..35670dfe 100755 --- a/modules/emarsys_rss/flux.php +++ b/modules/emarsys_rss/flux.php @@ -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();