Want to disguard shopping cart [more] sidebox on the checkout process on 3 pages.

includes > modules > my template > shopping_cart.php
Where do I place code? using 1.3.7 zen-cart

Example, I am playing with.
Works perfect on the checkout process, but the sidebox Shopping Cart [more] opens on the main page after log out, and when you empty your cart still appears... Don't want this....
What am I missing???


$show_shopping_cart_box = true;
if ($_GET['main_page'] == 'checkout_shipping'){
$show_shopping_cart_box = false;
}

if ($_GET['main_page'] == 'checkout_payment'){
$show_shopping_cart_box = false;
}

if ($_GET['main_page'] == 'checkout_confirmation'){
$show_shopping_cart_box = false;

Mark,