News:

Looking for documentation? Take a look on our wiki

Main Menu

product hits [vm 4.0.22]

Started by hazael, June 05, 2023, 13:49:08 PM

Previous topic - Next topic

hazael

There is a "hits" column in the database in the #_virtuemart_products table. In the entire table, all products are NULL - Nothing changes.
Is there any script in the Virtuemart template that collects this data?

Only this plugin is able to do that? And what about joomla 4 compatibility?
https://forum.virtuemart.net/index.php?topic=132581.0

PS.
I fixed this plugin and it is now compatible with Joomla 4.

In the vm2hits.php file you only need to change               
Quoteif (!$db->query()) die($db->stderr(true));
to:
Quoteif (!$db->execute()) die($db->stderr(true));