Want menu1 to be hidden when basket is empty

cgan

Avatar: cgan

2013-01-31 11:12

How and where can I change the script so that the menu1 with basket is hidden until anything is added into the basket.
Best regards

» Quick.Cart v6.x

cgan

selekcjoner

Avatar: selekcjoner

2013-01-31 12:37

1) Edit file: templetes/default/_header.php
Find code:

 <?php echo $oPage->throwMenu1$iContent); // content of top menu first ?> 


Replace to:


<?php if( $GLOBALS['iOrderProducts'] > ) echo $oPage->throwMenu1$iContent); // content of top menu first ?> 

simlution.org

cgan

Avatar: cgan

2013-01-31 15:24

selekcjoner - thanks! Works perfect.

cgan

Back to top
about us | contact