Okay
  Public Ticket #2660037
Customer Panel - Order Cancel
Closed

Comments

  •  6
    João started the conversation

    Hi,


    The customer panel allows by default a user to cancel their order.

    I would like to hide that option.  Is that possible?  I'm not very keen on having customers having a cancel button as that will have the potential to increase the number of cancelled orders.


    Thanks

    João

  • [deleted] replied

    Hi João,

    Yes, the cancel option is there as a default option for the customers and it can't be disabled.

    The Cancel button in the customer panel can probably be hidden by adding custom CSS, but since they don't have their own CSS class, maybe that will affect something else. Please try adding this CSS to the page where you have Amelia customer panel:

    li.el-dropdown-menu__item:nth-child(2) {display:none !important;}

    and let me know if it helped.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.

  •  6
    João replied

    Hi Marija,


    Thanks for the help.  I've used nth-child(1) and it does hide the cancel button but the design will look odd as you have a dropdown menu that doesn't have any options.  Can you provide css for hiding the dropdown menu?

    Thanks,

    João

  •  6
    João replied

    I think I did it with 

    button.el-button {
        display:none !important;
        
    }   


  • [deleted] replied

    Hello João,


    Apologies for replying a bit later, we don't work on weekends.

    You are welcome.

    Glad to see you managed to find a solution for hiding the drop-down, thank you for letting me know. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.