Archived topic
Hide the cart icon if user not logged in
3 replies · Started by Thomas on August 28, 2021
Hi,
I am redesigning an e-commerce shop based on WooCommerce. The visitors can browse the shop but cannot buy anything if they are not logged in. We actually hide the link to the shop from the main menu if they are not logged in.
I like the cart icon added by GP Premium! But I am wondering if it's possible to hide it if the visitor is not logged in?
Thanks
Hi there,
see my reply here:
https://generatepress.com/forums/topic/hide-cart-icon-for-users-not-logged-in/#post-1196163
Thanks and sorry, I saw it right after I posted 🤦♂️
No apologies necessary :) Glad you found it !!