Skip to main content

Customer cpanel actions dropdown change

More
1 year 7 months ago #365853 by verzevoul
-- HikaShop version -- : 5.1.4
-- Joomla version -- : ‎5.1.2

Hi!

Is it possible to remove the "Actions" dropdown button from user cpanel page and make it a simple button?

Thank you
The following user(s) said Thank You: andrewphilmorgan

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #365855 by nicolas
Hi,

Removing it is easy. You can just CSS code like this:
Code:
.hika_order_action .hkdropdown { display: none; }
I'm not sure what you mean by "make it a simple button" ?
It's already a button. If we remove it, then there is nothing left.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #365859 by verzevoul
Hi,

I mean instead of being a dropdown element, just have an actions button.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #365860 by nicolas
Hi,

Mmmm. Ok, but what should that button do ?
The actions button is a dropdown because you can have several actions: details, contact us, cancel order, print invoice, pay now, reorder, etc. Different choices are available based on the status of the order, and how you configure HikaShop.
But it's possible to have 4 actions available at the same time. So either we have one button as a dropdown, so that you can choose between the different actions, or HikaShop would have to display one button for each available action, which would sometimes mean a lot of buttons displayed on a small area.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #366135 by andrewphilmorgan
You can achieve this by modifying the cPanel theme or overriding the CSS/HTML. If you have access to the template files, you can replace the dropdown with a regular button linking to the intended action. Alternatively, use CSS to hide the dropdown and style a standalone button.

Please Log in or Create an account to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum