Originally Posted by
rlexyd
2) How to Force the shopping cart box/icon to display on header ALWAYS, even when Empty!
The cart icon is wrapped in a conditional statement, i.e. only show if cart has contents. Removing that statement will cause it to always show.
Code:
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a class="navCartContentsIndicator" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><i class="fa fa-shopping-cart" title="Shopping Cart"></i></a></li>
<li class="last"><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><i class="fa fa-check-square" title="Checkout"></i></a></li>
<?php }?>
Bookmarks