Logged out guest: Cookie: language=it-It; currency=EUR; cookieconsent_status=allow; jrv=4037%2C1880%2C581%2C596%2C1023%2C2923%2C340%2C345%2C4017%2C4015%2C4019%2C4024%2C4025%2C4021%2C3997%2C3951%2C3952%2C3949%2C3505%2C3617; _gcl_au=1.1.31919614.1631615068; _ga=GA1.2.217820659.1631615069; _gid=GA1.2.577276261.1631615069; OCSESSID=85b6797cdeaa1f90ad2e6edc53; _lscache_vary=session%3AloggedOut; lsc_private=b268326b97195bdfc3ec80afb4d9f2b5
Logged-in clientA: Cookie: language=it-It; currency=EUR; cookieconsent_status=allow; jrv=4037%2C1880%2C581%2C596%2C1023%2C2923%2C340%2C345%2C4017%2C4015%2C4019%2C4024%2C4025%2C4021%2C3997%2C3951%2C3952%2C3949%2C3505%2C3617; _gcl_au=1.1.31919614.1631615068; _ga=GA1.2.217820659.1631615069; _gid=GA1.2.577276261.1631615069; OCSESSID=85b6797cdeaa1f90ad2e6edc53; _lscache_vary=group%3A1%2Csession%3AloggedIn; lsc_private=b268326b97195bdfc3ec80afb4d9f2b5
Logged-in ClientB: Cookie: language=it-It; currency=EUR; cookieconsent_status=allow; jrv=4037%2C1880%2C581%2C596%2C1023%2C2923%2C340%2C345%2C4017%2C4015%2C4019%2C4024%2C4025%2C4021%2C3997%2C3951%2C3952%2C3949%2C3505%2C3617; _gcl_au=1.1.31919614.1631615068; _ga=GA1.2.217820659.1631615069; _gid=GA1.2.577276261.1631615069; OCSESSID=85b6797cdeaa1f90ad2e6edc53; _lscache_vary=group%3A4%2Csession%3AloggedIn; lsc_private=b268326b97195bdfc3ec80afb4d9f2b5
sorry this is the correct one, and I only now noticed that I had inserted your code in the wrong spot, I'm super embarassed... It works correctly now, it will show the pages depending on what customer group you are part of so that means that the prices will always be correct now.
I still have the issue with the names showing on header and footer.
Does your site have any sections where it shows the customer name, and if so how do you make it work with lscache?