I've enabled the "Hide shop & products" option but it's not working properly.
I've set a products carousel in the home page but I still can see the products. Also, when I go to a product category page sometimes it shows both the login and registration form, but most of the times only the login form.
Is there any compatibility issue with XStore theme?
I just saw there was an option for caching. I disabled it and the login/registration issue is gone, but I still have the issue of the products carousel showing even though I access as a guest.
There is an incompatibility with the Elementor widget that displays that product carousel.
I set up a snippet to hide items to guests based on the .b2bkinghideguest class, and gave that class to the product carousel. Currently it looks like this for guests:
I am hoping that works for you as a fix until we can have better integration with Elementor.
Hello,
I've enabled the "Hide shop & products" option but it's not working properly.
I've set a products carousel in the home page but I still can see the products. Also, when I go to a product category page sometimes it shows both the login and registration form, but most of the times only the login form.
Is there any compatibility issue with XStore theme?
Regards,
Ronghai.
I just saw there was an option for caching. I disabled it and the login/registration issue is gone, but I still have the issue of the products carousel showing even though I access as a guest.
Regards,
Ronghai.
Hello Ronghai,
There is an incompatibility with the Elementor widget that displays that product carousel.
I set up a snippet to hide items to guests based on the .b2bkinghideguest class, and gave that class to the product carousel. Currently it looks like this for guests:
I am hoping that works for you as a fix until we can have better integration with Elementor.
Kind Regards,
Stefan
Thanks for your help Stefan. It's a good workoaround. :-)
Regards,
Ronghai.