RayTF Posted May 26 Share Posted May 26 Hello I'm trying to start my own IT business, and part of that is selling web hosting on WHMCS I am trying to sell .COM.BR domains with ResellerClub, and when i register domain, it asks for a CPF/CNPJ (requirement for Brazilian domains), but the page says "Register Number", and it's not good UX for the client to have to hover over the "Learn More" button to learn it's asking for their CPF/CNPJ I need to change that "Register Number" text to "CPF ou CNPJ" to make it more user friendly Someone please help me, thanks <3 0 Quote Link to comment Share on other sites More sharing options...
RayTF Posted May 26 Author Share Posted May 26 Forgot to include a screenshot. here it is 0 Quote Link to comment Share on other sites More sharing options...
Solution edvancombr Posted May 29 Solution Share Posted May 29 On 5/26/2024 at 2:27 PM, RayTF said: Forgot to include a screenshot. here it is Copy and paste the field definition from the /resources/domains/dist.additionalfields.php file into your custom /resources/domains/additionalfields.php file. Locate line 815 and edit as per your need. // .BR $additionaldomainfields['.br'][] = [ 'Name' => 'Register Number', 'LangVar' => 'br_register_number', 'Type' => 'text', 'Size' => 20, 'Default' => '', 'Description' => '<sup style="cursor:help; text-align:justify;" title="The CPF is the financial identity' . ' number provided by the Brazilian Government for every' . ' Brazilian citizen in order to charge taxes and financial matters.' . ' The CNPJ is the same as the CPF but it works for companies.' . ' CPF must be given in the following format: NNN.NNN.NNN-NN.' . ' CNPJ must be given in the following format: NN.NNN.NNN/NNNN-NN">Learn More</sup>', 'Required' => true, ]; If you wish, you can remove the field https://docs.whmcs.com/Additional_Domain_Fields#Remove_a_field Other information https://docs.whmcs.com/Additional_Domain_Fields 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.