Related products per category

  • Posts: 235
  • Thank you received: 4
6 years 1 month ago #288165

-- url of the page with the problem -- : dekreij.p100.nl/automaten/product/6821-c...relateerde-producten
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : -

We want to seperate related products per category

On this tab we want to show the module to 'machinery' (module 143)
dekreij.p100.nl/automaten/product/6821-c...kbare-koffiemachines

On this tab we want to show the module to 'coffees' (module 118)
dekreij.p100.nl/automaten/product/6821-c...relateerde-producten

Attachments:

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
6 years 1 month ago #288174

Hi,

The synchronization for related products of the modules override the main category of the module.
So the behavior you see is normal.
You would have to write a small plugin and implement in it the onBeforeProductListingLoad trigger to add your condition to the query loading the products for the related modules.
www.hikashop.com/support/documentation/6...reProductListingLoad

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

Time to create page: 0.057 seconds
Powered by Kunena Forum