-- url of the page with the problem -- :
mtsicurezza.com/index.php?option=com_hik...g&Itemid=108&lang=it
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 5.6.40
Good morning. After the Hikashop update, the products in the categories disappeared. I can navigate in the categories both from the menu and from the module, but I only see the categories and sub-categories. Entering a category that contains products the product list is empty.
By deleting the menu item and creating it the same, the navigation has recovered.
In the module the behavior has remained the same, it allows me to see the categories, to navigate in the sub-categories, but when I get to the products the list is empty.
I compared the URLs generated by the menu and the component and I realized that the only thing that changes is the value of the ITEMID parameter.
While in the menu it is 184 and allows me to see the products, in the ITEMID module it is 108.
To overcome the problem I set the parameter value in the file /modules/mod_hikashop/mod_hikashop.php fixed at 184:
if ($ type == 'manufacturer') $ type = 'category';
[b] $ Module_options ['itemid'] = '184';[/b]
if (empty ($ module_options ['itemid']) && $ type == 'category' &&! hikaInput :: get () -> getVar ('hikashop_front_end_main')) {
has anyone had the same problem and solved it?
Why does the module take an ITEMID different from the one taken from the menu?
Thanks, see you soon