Jump to content

Special field for danish domains


webhostinghotel

Recommended Posts

generally, you would use Additional Domain Fields to do this...

 

http://docs.whmcs.com/Domains_Configuration#TLD_Specific_Additional_Domain_Fields

 

in your /includes directory, there should be an unencrypted file called additionaldomainfields.php - this contains additional fields for some TLDs (domains) and you will need to add some code for .dk domains somewhere in the file..

 

however, Hexonet have their own WHMCS module, so if you're using their module, then it includes its own additional domain fields entry for .dk domains - specifically asking for VAT ID if the registrant is a company.

 

https://wiki.hexonet.net/wiki/WHMCS_Modules

https://wiki.hexonet.net/wiki/DK

 

Please note that you have to state the VAT-ID during the registration if the owner/admin contact is a organization (company). The VAT-ID is required and can be specified on creating or modifying the contact handle of the registrant / admin contact.

 

if you don't use their WHMCS module, then you could try adding the code below to your includes/additionaldomainfields.php file...

 

// .DK

$additionaldomainfields[".dk"][] = array("Name" => "Registrant VAT ID", "Type" => "text", "Size" => "20", "Default" => "", "Required" => false, "Description" => "(Only for Organization)", "LangVar" => "X-REGISTRANT-VATID",);
$additionaldomainfields[".dk"][] = array("Name" => "Admin VAT ID", "Type" => "text", "Size" => "20", "Default" => "", "Required" => false, "Description" => "(Only for Organization)", "LangVar" => "X-ADMIN-VATID",);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated