Hi,
I have created a simple joomla module thatadd's some buttons for my products. The module itself works fine but I need to position it in the VM product details area - preferably the add-to-cart-area section.
I tried creating a new module position and calling it there but it does not seem to appear when I select the position in my module? Any help would be great.
Thanks,
James
Joomla 3.6.5
VirtueMart 3.0.18
call it with the load module content plugin
or try
$modules =& JModuleHelper::getModules('position-4');
foreach ($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
in the template
Hi,
Thanks for that, the second suggestion worked for me.
Thanks,
James