07-26-2023, 08:42 PM
I have found many hooks but none that just prevents the products/store page from being viewed by logged in users.
So how would I redirect guests to login or register before viewing the store?
Thank you for your help
I tried the hook listed to prevent access to pages but that hook still allows guest access to store.
So how would I redirect guests to login or register before viewing the store?
Thank you for your help
I tried the hook listed to prevent access to pages but that hook still allows guest access to store.