Jump to content
Sign in to follow this  
jeebee123

Configure domains, delete domain option

Recommended Posts

Hi,

So on the configure domain page (cart.php?a=confdomains) there isn't a delete button to delete a domain from your cart.

Is there a reason for it? Or is it possible to enable this?

Screenshot_1.png

Edited by jeebee123
Add image

Share this post


Link to post
Share on other sites
On 26/08/2020 at 11:26, jeebee123 said:

Is there a reason for it?

probably the usual WHMCS reason - it's the way that it's always been. 😕

On 26/08/2020 at 11:26, jeebee123 said:

Or is it possible to enable this?

not from admin settings, though you could modify the configuredomains.tpl template - either directly, or possibly with a hook depending on where you want to add the remove option (yeah I can see where that is on the above screenshot, but that's a custom template and I don't know the specific underlying template code or whether you could locate that specific spot with a hook).

ultimately, the solution should just include adding a link to the template, inside the relevant foreach loop, either with a FA icon (or image)...

<a href="cart.php?a=remove&r=d&i={$num}"><i class="fas fa-times" style="color: red;"></i></a>

jAaho2u.png

or a language string...

<a href="cart.php?a=remove&r=d&i={$num}">{$LANG.cartremove}</a>

Share this post


Link to post
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.

Sign in to follow this  

  • 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