wdele Posted December 10, 2014 Share Posted December 10, 2014 Hi, I offer hosting and of course optionally a domain name. So far, that works but there's just one problem. When a client buys hosting + domain name, he doesn't need the 'DNS management' addon. However, it is shown as an addon when buying a domain name in WHMCS and that confuses clients. When a client buys a domain name but NOT hosting, he does need the 'DNS management' addon. So in that case, it should be shown. How can I achieve this? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 11, 2014 Share Posted December 11, 2014 it might depend on which order form you're using, but it would generally be in configuredomains.tpl {if $domain.dnsmanagement} I haven't tried this, but the following may work... {if $domain.dnsmanagement and !$domain.hosting} so if DNS Management is enabled for a tld, but no hosting is chosen (e.g., it's just a domain), it should show... if hosting has been added for the domain, then the DNS addon shouldn't be shown. 0 Quote Link to comment Share on other sites More sharing options...
wdele Posted December 11, 2014 Author Share Posted December 11, 2014 it might depend on which order form you're using, but it would generally be in configuredomains.tpl {if $domain.dnsmanagement} I haven't tried this, but the following may work... {if $domain.dnsmanagement and !$domain.hosting} so if DNS Management is enabled for a tld, but no hosting is chosen (e.g., it's just a domain), it should show... if hosting has been added for the domain, then the DNS addon shouldn't be shown. Thanks, that works! 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.