- Posts: 1184
- Thank you received: 13
Customer cpanel actions dropdown change
1 year 7 months ago #365853
by verzevoul
Customer cpanel actions dropdown change was created 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
-- 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.
1 year 7 months ago #365855
by nicolas
Replied by nicolas on topic Customer cpanel actions dropdown change
Hi,
Removing it is easy. You can just CSS code like this:
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.
Removing it is easy. You can just CSS code like this:
Code:
.hika_order_action .hkdropdown { display: none; }
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.
1 year 7 months ago #365859
by verzevoul
Replied by verzevoul on topic Customer cpanel actions dropdown change
Hi,
I mean instead of being a dropdown element, just have an actions button.
I mean instead of being a dropdown element, just have an actions button.
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365860
by nicolas
Replied by nicolas on topic Customer cpanel actions dropdown change
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.
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.
Less
More
- Posts: 1
- Thank you received: 0
1 year 6 months ago #366135
by andrewphilmorgan
Replied by andrewphilmorgan on topic Customer cpanel actions dropdown change
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