- Posts: 3
- Thank you received: 0
Displaying statistics on the vendors home page
13 years 2 months ago #114587
by peteyboy
Displaying statistics on the vendors home page was created by peteyboy
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.
13 years 2 months ago #114597
by Jerome
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.
Replied by Jerome on topic Displaying statistics on the vendors home page
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,
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.
13 years 2 months ago - 13 years 2 months ago #114611
by peteyboy
Replied by peteyboy on topic Displaying statistics on the vendors home page
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
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: 13 years 2 months ago by peteyboy.
Please Log in or Create an account to join the conversation.
13 years 2 months ago - 13 years 2 months ago #114694
by Jerome
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.
Replied by Jerome on topic Displaying statistics on the vendors home page
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,
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.
Last edit: 13 years 2 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.224 seconds