Jump to content

Additional Domain Fields help


nuffsaid

Recommended Posts

Hi, I'm trying to set up additional domain fields for a custom domain extension but when i add the line into  /resources/domains/additionalfields.php it shows the raw code on the top of the page rather than an additional field on checkout. 

Please refer to the screenshot attached  

I was trying to follow the tutorial here https://docs.whmcs.com/Additional_Domain_Fields 

What am I doing wrong and how can I fix this? 

 

What I am trying to do is to add additional fields in the domain upon checkout for .co.zw domain name where a client will enter the core business for the domain name as well as other text fields so i can comply with my local domain registry policies. 

 

Thank you in advance for your assistance

additionaldomain.PNG

Link to comment
Share on other sites

44 minutes ago, nuffsaid said:

What am I doing wrong and how can I fix this? 

I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include...

<?php

... but looking at your site, it now seems fixed. 👍

Link to comment
Share on other sites

 

2 hours ago, brian! said:

I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include...


<?php

 ... but looking at your site, it now seems fixed. 👍

Hi Brian, thank you very much. 

Adding the <?php tags solved the problem 

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