Jump to content
  • 0

Domain Registration Configurable Options Suppression


CaptivationEric

Question

6 answers to this question

Recommended Posts

  • 1

Since there's not a way to remove the name server fields just for clients from the interface, you will need to update some code to accomplish this change.

 

Here's what will likely work:

  1. Find /components/modules/namecheap/namecheap.php from your Blesta installation. BACKUP this file somewhere
  2. Open that file in a text editor and search for:
    $fields = array_merge(Configure::get("Namecheap.nameserver_fields"), Configure::get("Namecheap.domain_fields"));
    
  3. Replace that line with:
    $fields = array_merge(Configure::get("Namecheap.domain_fields"));
    
  4. Save the change and overwrite the file at /components/modules/namecheap/namecheap.php

 

Now when a client goes to order a domain, they should not have any option to set name servers. However, you can still set them yourself when managing the service from the admin interface, or updating them on the package. The name servers you have set on the package will be used for services by default.

Link to comment
Share on other sites

  • 0

How do you have the product setup?

 

Are the name servers setup as a package option, or is the field included by the module? If the field is included by the module, then it depends on how the module is constructed and whether it allows for the name servers to be removed. If the field is a package option, it cannot currently be removed from display. In the next minor release of Blesta (v3.5), package options will have a setting that will allow them to not be selected by clients when adding or editing a service, which may be what you're looking for.

Link to comment
Share on other sites

  • 0

It looks like their included as part of the module. In the edit package screen, it says I'm using the "Domain Registration" module type and it has the options for TLDs and then five spots for Name Servers. It doesn't look like there is a way to remove those name server spots, and I've left them blank but they still show up as configurable options on the Order Summary page. 

Link to comment
Share on other sites

  • 0

Which module are you using? Namecheap? I think that module always shows five name server fields, but I think only two are necessary when provisioning the service. Others can be added/changed by the client during or after order. In some cases, they may want to add additional name servers. Curious why you'd like to remove those extra fields?

Link to comment
Share on other sites

  • 0

It is the Namecheap module. I was asked by my boss to remove them. I'm not sure if he doesn't know that two name server fields need to be filled out, or if he knows that but is just going to have it done on our end manually so clients don't have to worry about it. (Edit: We're not using the automatic procurement feature so we don't need the name servers and would like them to not show up so clients don't get confused.)

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
Answer this question...

×   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.

Loading...
×
×
  • Create New...