I have difficulties to achieve one thing I saw on another site that also has WHMCS.
My clients can not register theirself at WHMCS without ordering, so when they make an order, they will create a WHMCS account (for this there is options in WHMCS Config so i got this).
Now I want to hide all the pages at WHMCS except for the ordering, the cart and of course products. So, first time when visitor go to mydomain.com/whmcs it says "Restricted Pages" but when he goes
to product page, I want that he/she can see that page.
Only hook I find on this site is forceeveryonetologin.php but unfortunately, this is not good, because in this case, the user(first time visitor) can not see all the pages including the product, cart because they have not been registered before.
I hope that you understand me :)