Paul Albers Posted August 13, 2020 Share Posted August 13, 2020 Hello, I have some problems with the featured products on my homepage. When I login with some user account and go back to the mainpage, I can add the products which are displayed in the featured products module. But when I logout and login with another account, I can't add products from the featured products on my homepage. As far I could see, the token stay's the same from my previous account. After I cleared the cache, the token equals with the current user account. So, how can I clear the cache or change something so that the featured products adds the current token from the account which I am logged in to? I also notice that more modules have this problem. Is this a setting or why does it do that? Thanks! Paul Link to comment Share on other sites More sharing options...
MBLX Posted July 21, 2021 Share Posted July 21, 2021 We have exactly the same issue. Did you find any solution for it? You can also PM me if you want. Link to comment Share on other sites More sharing options...
adzary Posted September 1, 2021 Share Posted September 1, 2021 (edited) Hello, We have exactly the same issue, we disabled the cache but its not a good solution. A better solution was to modify the function renderWidget of our module. we replaced : return $this->fetch($this->templateFile, $this->getCacheId('ps_specials')); by return $this->fetch($this->templateFile); And since we removed the cahche Id everythings is working fine. Edited September 1, 2021 by adzary (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