Glossary Item Box
Navigation Blocks are areas (boxes by default) that contain links and other HTML specific to navigating particular areas of your store:
Each theme can be configured to display it's own navigation blocks.
![]() |
Navigation Blocks are used to control many important functions in your storefront. For this reason, you should be very careful editing them, as a mistake can have a significant negative impact on your store. |
Displaying Navigation Blocks
By default, navigation blocks are designed to be displayed when the navigation area they are assigned to is shown, via PHP code in your main storefront page template:
<?php
// Left Navigation section
print sc_nav('Primary');
?>
The default Squirrelcart theme displays navigation blocks assigned to Primary navigation on the left side of the page, and navigation blocks assigned to Secondary navigation on the right.
You can optionally add code to display an individual navigation block in your storefront without it being nested inside a navigation area. The code to do this is as follows:
<?php
// Print navigation block having record number "123"
print sc_nav_block(123);
?>
That code can be placed in any Squirrelcart template you wish.
© 2001-2017 Lighthouse Development. All Rights Reserved.