VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: thelordofweb on April 29, 2012, 14:38:07 PM

Title: [Bug] Missing data about images in content events
Post by: thelordofweb on April 29, 2012, 14:38:07 PM
Hi,

Information about versions
VirtueMart 2.0.6
Joomla! 2.5

Description:
I think the data about product images must be part of object which plugins pass as parameter.

For example:
I have a plugin executed by event "onContentBeforeDisplay". I need the data of the  images but its missing.

Proposed fix(es):
I suggest you to move this code before triggers executing.

$product_model->addImages($product);

which is on line 147 in file
\ex\components\com_virtuemart\views\productdetails\view.html.php

Cheers,
Todor