CaptivationEric Posted March 3, 2015 Report Posted March 3, 2015 Currently on the order summary page of the Domain Registration or Transfer wizard there are configurable options showing for five Name Servers. I was wondering if it was possible to remove these options. Quote
0 Tyson Posted March 3, 2015 Report Posted March 3, 2015 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. Quote
0 CaptivationEric Posted March 3, 2015 Author Report Posted March 3, 2015 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. Quote
0 Tyson Posted March 3, 2015 Report Posted March 3, 2015 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? Quote
0 CaptivationEric Posted March 3, 2015 Author Report Posted March 3, 2015 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.) Quote
1 Tyson Posted March 4, 2015 Report Posted March 4, 2015 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: Find /components/modules/namecheap/namecheap.php from your Blesta installation. BACKUP this file somewhere Open that file in a text editor and search for: $fields = array_merge(Configure::get("Namecheap.nameserver_fields"), Configure::get("Namecheap.domain_fields")); Replace that line with: $fields = array_merge(Configure::get("Namecheap.domain_fields")); 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. Michael 1 Quote
0 CaptivationEric Posted March 5, 2015 Author Report Posted March 5, 2015 That worked perfectly. Thank you very much Quote
Question
CaptivationEric
Currently on the order summary page of the Domain Registration or Transfer wizard there are configurable options showing for five Name Servers. I was wondering if it was possible to remove these options.
6 answers to this question
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.