Customer cpanel actions dropdown change

  • Posts: 1086
  • Thank you received: 12
  • Hikashop Business
2 weeks 4 days ago #365853

-- 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

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

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

  • Posts: 83401
  • Thank you received: 13494
  • MODERATOR
2 weeks 3 days ago #365855

Hi,

Removing it is easy. You can just CSS code like this:

.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.

  • Posts: 1086
  • Thank you received: 12
  • Hikashop Business
2 weeks 3 days ago #365859

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.

  • Posts: 83401
  • Thank you received: 13494
  • MODERATOR
2 weeks 3 days ago #365860

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.

  • Posts: 1
  • Thank you received: 0
2 days 3 hours ago #366135

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.062 seconds
Powered by Kunena Forum