hikashop dashboard items

  • Posts: 6
  • Thank you received: 0
6 years 7 months ago #275205

Is there a way to hide certain elements in the hikashop dashboard ?
For example, I would like to hide the 'geo sales stats', and maybe other elements.
Who can help me ?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 7 months ago #275214

Hello,

Hikashop 3 comes with a new dashboard and you can still display the legacy dashboard via the legacy settings in your configuration.
www.hikashop.com/support/documentation/5...html#advanced_legacy

There is no settings for the new dashboard for the moment but we want to improve that in future releases.
For the moment, it would require a view override (dashboard / listing) or some CSS if you want to remove/hide some blocks.
www.hikashop.com/support/documentation/1...-display.html#layout

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: twhcreations

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

  • Posts: 6
  • Thank you received: 0
6 years 7 months ago #275282

OK.
But I can't seem to find what file in the listing I have to change or where in CSS files I can remove 'blocks'.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
6 years 7 months ago #275290

Hi,

If you look at the HTML of the dashboard with your browser inspector (like the CSS tutorial Jerome gave you), you can easily know the id that you need to use in your CSS to hide the areas you want:
monosnap.com/file/ZKgE58Jt7hB3tTtkJfZK8Sp4XLMLl3
So for example here, if you want to hider the total orders block, you can add such CSS:
#hikashop_dashboard_stat_sales_count{ display:none; }
Since it is in the backend of HikaShop, you want to add that CSS in the backend CSS file of HikaShop under the Display tab of the HikaShop configuration.

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

  • Posts: 6
  • Thank you received: 0
6 years 7 months ago #275364

The CSS trick did the job ! Thanks, you are great !

One more thing.
I would like to hide certain icons (not all of them) below the dashboard.
I can hide them all, but I don't find the way to hide only some of them...

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

  • Posts: 6
  • Thank you received: 0
6 years 7 months ago #275375

Hi guys !

No need to look further for this item.
I upgraded to business. Now there are much more options !

Thanks for the help !!!

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

  • Posts: 127
  • Thank you received: 8
5 years 8 months ago #295278

Has there been any movement on the ability to customize the Dashboard yet?
We have a client who would like a couple of custom reports added;
- Total Sale this Quarter
- Total Sales this Financial Year

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
5 years 8 months ago #295281

Hi,

We didn't move on that. We couldn't find a good way to be able to personalise the new dashboard due to all the possibilities it can offer.
However, it is highly suited to be customized if you're a developer.
You can edit the file "listing" of the view "dashboard" via the menu Display>Views and modify the variable $this->statistics there.
It contains all the parameter which define how each element of the dashboard will display. So you can add new elements to the dashboard by adding elements to that variable. I would recommend to do a var_dump of the data in that variable first and analyse what it contains for each element of the dashboard in order to see what each parameter does.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum