Jump to content

Custom Hooks and customization


pratik_asabe

Recommended Posts

Hello members,

I need to,

1. Create one hook to remove sidebar from cart page (refer screenshot below), also

2. I need to know how can I do css modification to increase total & tax calculation box (entire box) for only desktop? not for mobile devices, to achieve this is it ok to use css media queries?

 

Thanks in advance.. 🙂

whmcs_cart.JPG

Link to comment
Share on other sites

On 27/11/2018 at 12:44, pratik_asabe said:

Create one hook to remove sidebar from cart page (refer screenshot below),

the hook would be simple enough to write, and it would remove the sidebar, but the cart page width wouldn't automatically adjust - so you'd be left with a empty gap down that right hand side (unless you have a custom theme that would not do this).

if that gap is there, your other option is to edit the cart templates (nearly all of them) as outlined below (example is for domainregister.tpl, but you'll have to alter the other similar templates too)...

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