Hits - where is the code for counting hits?

  • Posts: 112
  • Thank you received: 1
7 years 1 month ago #281222

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 5.6.3.1
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : None

Hi,

Many of our products have a huge number of hits.

For my vendors (Hikamarket) they would expect a hit to mean that someone has clicked on one of their products to view the detail.

Where is the code/logic for counting hits?

For example, if I have a random selection of products on my frontpage and keep refreshing it are you counting the display of these random items as hits?

I just need to clarify how the hits counters work.

Thx, Darrell

p.s. not upgrading yet as HikaMarket 1.7.2 breaks the ability for any vendors to log in.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
7 years 1 month ago #281228

Hi,

We are only counting the display of the product page as a hit.
You can see the code for that in the "hit" function of the file administrator/components/com_hikashop/classes/product.php, which is called in the function "show" of the file components/com_hikashop/views/product/view.html.php

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

Time to create page: 0.057 seconds
Powered by Kunena Forum