News:

Support the VirtueMart project and become a member

Main Menu

plgVmOnDisplayProductFEVM3 not triggering

Started by webgobe, March 30, 2024, 17:09:08 PM

Previous topic - Next topic

webgobe

Hi! I am trying to port some of my old plugins to latest VM, Joomla 4 and I have difficulties with couple of vmcustom plugins. The short version is, that the code I used to insert my needed code, namely something like this:

class plgVmCustomMyproduct extends vmCustomPlugin {
...
function plgVmOnDisplayProductFEVM3($product,&$group) {
      vmdebug('myproduct: plgVmOnDisplayProductFEVM3 ');
....
}

]

seems to not work. And I have no idea what I am doing wrong here.
Like a fine wine... Good from the start and getting better over time.

Jumbo!

It works fine with us on both Joomla 4 and Joomla 5. Are you using a third-party template?

webgobe

Like a fine wine... Good from the start and getting better over time.

Jumbo!

Do the other methods/functions are triggered correctly in this custom plugin?

webgobe

Like a fine wine... Good from the start and getting better over time.

webgobe

Turned to be a conflict with another (badly written) vmcustom plugin. Thank you to anyone who contributed and gave me hints. All works since I removed the other plugin.
Like a fine wine... Good from the start and getting better over time.