vivaciti Posted September 5, 2007 Share Posted September 5, 2007 Hi, how do I make it so users can ONLY choose subdomains with free packages? I did see a ref to this, but did not know what file should be edited and where. Thank you in advance. 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 9, 2007 Share Posted September 9, 2007 Hi, how do I make it so users can ONLY choose subdomains with free packages? I did see a ref to this, but did not know what file should be edited and where. Thank you in advance. I'll second that request. Am doing a similar thing and that would be simpler for the client also. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 9, 2007 WHMCS CEO Share Posted September 9, 2007 This has to be done with a simple template edit - if product id is one of the ones you only want to offer a subdomain with, hide the other options, else display them. Matt 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 10, 2007 Share Posted September 10, 2007 This has to be done with a simple template edit - if product id is one of the ones you only want to offer a subdomain with, hide the other options, else display them. Matt Matt I have this as the if statement and think it is correct, but it is being totally ignored. {if $productid eq "27" } Is that part correct, please? 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 10, 2007 Share Posted September 10, 2007 Also been try this option {if $product.id!="27"} but it's not reading that properly. It's not picking up product ID specifically. Anyone know why? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 10, 2007 WHMCS CEO Share Posted September 10, 2007 No, looks like you've just picked that variable name at random. Using {debug} you can get a list of all the variables but the one you need for step two of the order process is {$productinfo.pid} Matt 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 10, 2007 Share Posted September 10, 2007 No, looks like you've just picked that variable name at random. Using {debug} you can get a list of all the variables but the one you need for step two of the order process is {$productinfo.pid} Matt Thanks for that Matt No not at random, searched for similar quotes in the 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.