hello, there is a system in OPC - plg_system_cartstock which does stock blocking on cart level, but it might cause performance issues because it block table rows during the concurrent updates so if your site is having way too many visitors at once it might not work for you.
It also might need a few modifications within VM template files:
\templates\{your template}\html\com_virtuemart\cart\padded.php
add this to beginning of the file within php block:
- Code: Select all
$dispatcher = JDispatcher::getInstance();
$countDownHtml = '';
$errors = array();
$dispatcher->trigger('plgVmOnDisplayMiniCart',array(&$countDownHtml, &$errors));
echo $countDownHtml;
in OPC the banner shows via "advertise position" so it has to be enabled in opc config. (show advertisement from payment plugin... )
best regards, stan