Login/register button stuck in cache
-
Hi,
I’ve enabled cache for logged in users with w3 total cache. I use redis cache. With cache it is suuuper fast. Everything works, also woocommerce. The only thing that is not working is the login/register button in the header.
On some pages it is showing the username and on some other it is showing login/register again.
How can I fix this?
Edit: The logged in cache is now turned of because we are testing with real customers.
Hello,
Please make the full backup of your site as well as the Theme settings export and check these plugins settings on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by Woocommerce.
Best Regards
Hi Elise!
I am making a copy of the store right now.
I also have made a video of the problem. I think it is a caching problem.
https://streamable.com/0ab5uf
Luc
Hello,
Please deactivate all the plugins not related to the theme and check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Best Regards
Hi Elise,
I’ve deactivated al plugins and activated them one by one. Nothing that causes the problem except deactivating the cache.
When installing the storefront theme, the dynamic login/register to Hi “username” is not supported.
I think that there is some fault in that section with caching enabled? https://streamable.com/0ab5uf
Hello,
Please contact the plugin support what would they suggest? Perhaps they provide the option which would help to configure the plugin in a way not to prevent Login/Register from correct operation.
Best Regards
I will, i keep you updated.
Can you tell me the login/registrer file? Is it ajax of js? Maybe I’ll find a way to exclude them?
Hello,
Here is the file that you can edit: woodmart/header-elements/account.php
Best Regards