cenourinha Posted March 27, 2011 Share Posted March 27, 2011 Hi there, I want to display an text/html message when a costumer order a domain with a specific top level domains, how can this be done? I think this should be implemented by default. Regards, Teotónio Ricardo 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted March 28, 2011 WHMCS Support Manager Share Posted March 28, 2011 Display it where exactly? 0 Quote Link to comment Share on other sites More sharing options...
cenourinha Posted March 28, 2011 Author Share Posted March 28, 2011 In the order form, maybe the domain configuration page. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted March 28, 2011 WHMCS Support Manager Share Posted March 28, 2011 Sure, that should be possible, take a look at http://docs.whmcs.com/Order_Form_Templates and http://docs.whmcs.com/Template_Syntax 0 Quote Link to comment Share on other sites More sharing options...
cenourinha Posted March 28, 2011 Author Share Posted March 28, 2011 Is there any "{$domain.tld}" tag? I could find it. 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted March 28, 2011 Share Posted March 28, 2011 yes, you could use tags that smarty gives you http://www.smarty.net/docsv2/en/language.function.if.tpl 0 Quote Link to comment Share on other sites More sharing options...
cenourinha Posted March 28, 2011 Author Share Posted March 28, 2011 I tried this: {if {$domain.tld} eq ".com"} bla bla {/if} But couldn't get it to work. 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted March 28, 2011 Share Posted March 28, 2011 Have not checked this but should {if {$domain.tld} eq ".com"} really be {if {$domain.tld} eq "com"} (no period in the tld field) Trevor 0 Quote Link to comment Share on other sites More sharing options...
cenourinha Posted May 28, 2011 Author Share Posted May 28, 2011 Has anyone figured out how to do this? I'm not beeing sucessfull 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted May 30, 2011 Share Posted May 30, 2011 Has anyone figured out how to do this? I'm not beeing sucessfull Did you try the suggestion above? 0 Quote Link to comment Share on other sites More sharing options...
Grizzlyware Josh Posted May 30, 2011 Share Posted May 30, 2011 You don't need to wrap the variables in curly braces. {if {$domain.tld} eq "com"} should be {if $domain.tld eq "com"} 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.