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.
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:
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?
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
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:
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.
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
I think I did it with
button.el-button {
display:none !important;
}
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.