VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ocean1 on November 15, 2012, 21:42:55 PM

Title: disable module on check out
Post by: ocean1 on November 15, 2012, 21:42:55 PM
Hi,

We have a product slider on top of the webstore, how can we disable the slider when checking out.
Modules can be shown in specific menu's and now I want it also in specific item in VirtueMart like the checking out page

Best regard
Ocean
Title: Re: disable module on check out
Post by: PRO on November 15, 2012, 23:03:07 PM
<?php if (JRequest::getVar('view')!='cart') { ?>
<jdoc:include type="modules" name="module-name" />
<?php } ?>

http://www.kaizenmediaworks.com/virtuemart-template-and-module-control


or

http://www.metamodpro.com/metamod/metamod-pro

OR:

YOU can also change the module template

wrap it like so
<?php if (JRequest::getVar('view')!='cart') { ?>



<?php } ?>
Title: Re: disable module on check out
Post by: ocean1 on November 15, 2012, 23:29:58 PM
uhmm
okey
wouw
that will do the trick
thanks
8)