Marian Mada Posted December 17, 2020 Share Posted December 17, 2020 (edited) Hello, So I don't know what site to write on. I'll explain the problem first. I have an online store and integrated in it I have a feed that updates my prices every day. After the price update, the change is not seen in chrome, only on incognito. If I enter chrome normally and delete the cache, it shows the good prices after the first refresh, but if I give it another refresh, it shows me the old prices. Please, I left posts all the internet sites and forums for this. What plugin do I need or do I need a script on cron jobs to delete my cache in my site. My theme is AngarTheme, buyed from prestashop.com If there is here someone to know a script that can be added in cron jobs (in cpanel) and can be run automatically to delete cache from site.. Site: http://www.macoshop.ro Maybe I didn't post where I should and I apologize a thousand times for that. I thank you from the bottom of my heart. Edited December 17, 2020 by Marian Mada (see edit history) Link to comment Share on other sites More sharing options...
ClassyDevs Posted December 22, 2020 Share Posted December 22, 2020 Hello, can you give us some information In cache mode from performance you set never compile or compile when changes. Secondly, is the chrome cache clear works for you without clear PS cache. Looking forward from you to help Thank you Link to comment Share on other sites More sharing options...
Marian Mada Posted December 22, 2020 Author Share Posted December 22, 2020 (edited) in cache mode is set compile when changes I have add and php script like this <?php require(dirname(__FILE__).'/config/config.inc.php'); //change 'abc123' to any value you wish to use $token = Tools::getValue('token'); if (!$token || $token != 'pasword') die(); Tools::clearSmartyCache(); Tools::clearXMLCache(); Media::clearCache(); PrestaShopAutoload::getInstance()->generateIndex(); echo "Cache cleared"; ?> but in product when i click on product on quick view, i see another price than the principal price Edited December 22, 2020 by Marian Mada (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now