[SOLVED] Backend - Products most viewed

  • Posts: 33
  • Thank you received: 1
11 years 10 months ago #90911

Hy all,

I wondered if it is possible to add some kind of widget to Hikashop in the back-end that let me see what products are viewed the most (so some kind of counter so i can see wich are popular by viewing, not by buying).

I came across this topic that is an little relavant ( it is for the front-end):
http://www.hikashop.com/en/forum/4-how-to/595-popular-item-view-on-frontend.html

Hope to hear sone of you

Last edit: 11 years 9 months ago by TWCrap. Reason: The problem is solved

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

  • Posts: 2334
  • Thank you received: 403
11 years 10 months ago #90951

Hi there,

This is not yet possible considering the way the widgets have been created. However it's something we'll think about since it's an interesting data.
You can however create a product listing which is displayed only for admin account and sort the product by "product_hit" (number of click on the product).

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

  • Posts: 33
  • Thank you received: 1
11 years 10 months ago #91050

Hello, Sounds clear.

I'm away a couple of days, but i think that this will work. If it won't work i will check back in here, and else... Thank you verry much ;)

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92168

Hi there,

We added this feature since last time so if you want to test it here are the files.
You have to put them in their respective folders which are:
widget.php in administrator>components>com_hikashop>classes
product.php in administrator>components>com_hikashop>views>dashboard>tmpl
form.php in administrator>components>com_hikashop>views>report>tmpl
view.html.php in administrator>components>com_hikashop>views>report

Do not hesitate to give us some feedbacks!

File Attachment:

File Name: Widget_files.zip
File Size:22 KB

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

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92173

I like to try it.

But 1 question... When i try to upload the widget.php to administrator/components/com_hikashop/classes, it askes if i wan't to override the file that is already there. Should i answer yes? Or just ignore it?

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92181

Alright, i've uploaded the files, and overrided the files that already where there...

Now the following question... Where can i find the overview?
Also, i'm missing now the 3th widget that was there. He disapeard after i tryed to change that view and chanelled it... ( so no save )

I've send you an PM eliot with an admin name and pass, so you can take an look...

Hope to hear sone from you guys :P

-btw- sorry for the bad english

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92326

Hi there,

I'm taking a look at your backend and indeed, the option doesn't appears. (EDIT: Indeed I think you didn't replaced the form.php since there is a JS error about an id)
Could you send me a FTP access so I can check the uploaded files?
Also, what was the disappeared widget? Did you checked that it's not just one of the unpublished widget?
The database isn't affected by the changes so the widget is probably still there :)

Last edit: 11 years 9 months ago by Eliot.

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92333

Hy,

I've send you the FTP login credentials.

The widget that is gone is the one that vieuws the best selled artikel, and best customer and so on....

Hope that this is enough info, and else i will hear it.

Thank you for your patience

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92337

Hi,

My bad, one line was missing in the file I gave you, I don't know why...
I configured you a widget with the most clicked product this month so you can take a look.
About your widget, I guess it was the "main statistics". Indeed, it's not here anymore... I guess a database access will help me see if it's still there.

Last edit: 11 years 9 months ago by Eliot.
The following user(s) said Thank You: TWCrap

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92338

Is it possible that you accidentally deleted it?

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92361

Well, i don't think so.

I've looked at the EDIT of it, because i thought that i would need to put somewhere an checkbox or something like that.

It wasn't there, so then i pressed cancel, and then it was gone...

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92367

I really have no idea how you did it.
anyway, I recreated the widget, everything should be fine now.
Tell me if it's ok for you :)

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92370

Hy,

Thank you so very much for your support and patience. I telled my client that the plugin was installed, so se will take a look at it in a couple of hours.

How do you want that i report back to you guys about this? ( if it is good or not? ) Report here or an PM?

The following user(s) said Thank You: Eliot

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #92371

Just post in this topic if you have any suggestion or feedback, it can always help people :)

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92373

Alright, Thank you so very much for the support. I will not forget this in the future :D

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #92577

Arlight, i recieved an email of my client, and after an look i recognized the error.

Mayby i overlooked something, but there are only 2 articels shown in the overview. But it the config of it does it says that the max is 7... And I, my client and probably some customers did look yesterday and today to some articles, but the aren't in the overview...

So my client and i think that there is something wrong... What do you guys think???

Keep up the good work :D
Marc

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #93287

Hi there,

I just took a look and it seems the configuration of the widget had been changed to the period "last 24h".
That's probably why it was displaying only few products. I put it back to "this month" (which means from march 1) and you know have more product displayed.

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #93294

Thank you so verry much. How did i could overlook that...

The widget looks very nice now.

Again, thank you verry much for the SUPER support :woohoo:

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

  • Posts: 33
  • Thank you received: 1
11 years 9 months ago #93384

Hy,

i'm back again.

Here are the words of my client:

"It is only the items ordered that are indicated."

Can you confirm that that's true, or is there something wrong???

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 9 months ago #94027

Hi,

Yes, only the ordered items are indicated in the reports since the reporting system bases itself of the sales to generate the graphs and listings.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum