That is correct. Now you have to decide which of those links you want active in your reworked header. The code as is will only show the navLogoCart link if there is something in the cart. If you want to show that link all the time, you will need to remove the
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
and
<?php }?>
from around that HTML link. The checkout link is also displayed when the cart link is displayed; do you want that?
You need to go through each of those links, learn what they are, and decide if and where to use them.



