mikelegg Posted October 31, 2011 Share Posted October 31, 2011 I only want registered clients to be able to place orders and I'm familiar with the concept of adding the code below to the tpl file to hide pages from non-logged in users. {if $loggedin} ... {else} ... {/if} But I can't find a template file that corresponds to cart.php I'm using the vertical steps template and I've tried to add the above code to viewcart.tpl and verticalsteps.tpl but it doesn't prevent non-logged in users from accessing the pages. Does the above code work with the cart? 0 Quote Link to comment Share on other sites More sharing options...
mikelegg Posted October 31, 2011 Author Share Posted October 31, 2011 I've tried adding it to other individual tpl files in the order form but still no effect. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 31, 2011 WHMCS Support Manager Share Posted October 31, 2011 It depends exactly what page you want to apply to, for example the product list page is /templates/orderforms/*your active template*/products.tpl http://docs.whmcs.com/Order_Form_Templates 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.