Jump to content

Remove the "Contact Support to Purchase" button from TLD Spotlight boxes


gbotica

Recommended Posts

Hi,

 

(WHMCS 7.1.1)

 

I've noticed that the TLD spotlight boxes on the Register Domain page now have a button "Contact Support to Purchase" next to the "Add" button. I don't know why it's been added, nor can I see how to remove it.

 

Is there an option or hook to get rid of this button? (It seems stupid to me...) Or, is using CSS to hide it the only option?

 

Thanks.

Link to comment
Share on other sites

it's in /templates/orderforms/standard_cart/domainregister.tpl ~ line 110

 

<button type="button" class="btn btn-primary domain-contact-support hidden">Contact Support to Purchase</button>

it seems strange that it doesn't use a language entry, but is hard-coded to English. :?:

 

so you could either remove the above line of code from the template, or tweak the css (in a custom.css file) along the lines of...

 

.spotlight-tld .btn.domain-contact-support {display: none;}

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.

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