Displaying statistics on the vendors home page

  • Posts: 3
  • Thank you received: 0
11 years 4 months ago #114587

I would like to display some statistics about the vendor on their home page. For example, I would like to display the total number of products that the vendor has sold. What would be the right approach to do this?

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #114597

Hi,

What is exactly the vendor home page ? It is the HikaMarket vendor dashboard page ?

The idea we have in our TODO list is to implement a module which will use the HikaShop report system but with modification of the data in order to retrieve the vendor statistics.
Because this module is not yet implemented, it is not possible to use it now. But depending on what you want to display exactly and the page where you want to display the data, we could find an good working alternative.
Retrieving some statistics can be done with simple SQL queries so it would be possible to override a view or create a very small module.

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.

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

  • Posts: 3
  • Thank you received: 0
11 years 4 months ago #114611

When I say Vendor home page, Im referring to the Vendor Page that web visitors would go to when they click on the vendors name in the 'Sold By ' text.

Im happy to create a SQL query and to write general php code, so I'll look into overriding the view to achieve what I want.

Thanks

Last edit: 11 years 4 months ago by peteyboy.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #114694

Hi,

Here an example for a module.
You can also use a part of the code an override the view "vendormarket | show".
At this moment you can display the number of sold product wherever you want. The module can be display under the vendor page using the HikaMarket configuration module (modules under the vendor page).

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.
Attachments:
Last edit: 11 years 4 months ago by Jerome.
The following user(s) said Thank You: DeeEmm

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

Moderators: Obsidev
Time to create page: 0.058 seconds
Powered by Kunena Forum