slscart logo

Template Include Codes for slscart

Use the bolded code to call the file name under it. A description of the code is located below.

General Includes

%BLOG_ENTRIES%

blog_entries.php since 10.4.2
Displays list of last 5 blog entries.

%BLOG_RECENT_CMTS%

blog_cmts.php since 10.4.2
Display last 5 blog comments

%BRAND%

brand.php
Displays a drop down box containing all item brands, if any exist.

%CATEGORY_DESCRIPTION%

description.php
Shows the description of the category for the catalog, if one exists. For pages other than the catalog page, nothing appears.

%CATEGORY_DROPDOWN%

categories.php
Shows a drop-down select box with all the category names listed within, to be used to search by category.

%CATEGORY_NAVIGATION%

navbar_list.php
On the catalog page, this displays catalog categories in the format Catalog > Category > SubCategory, with no images

%CONTENT%

content.php
Shows the main content of the site - the content added to the "Pages" area and the product display for the catalog.

%COPYRIGHT%

copyright.php
Shows a copyright notice with your site name and the current year.

%COUPONS%

coupon.php
Displays a text box that customers can use to enter a coupon code into the system to obtain a discount. For use only with the coupon system.

%EMAIL_FRIEND%

email.php
Shows an "Email a friend" link on all pages, which allows your visitors to send the page to others.

%FEATURED_COLUMN%

featured.php
Shows a vertical column of three featured items with images (usually added to a side bar).

%GOOGLE_ANALYTICS%

since 10.4.2

Adds asyncrhonous Google Analytics code to template. Uses Google Analytics ID in Site Settings.

%ITEMNUM_DROPDOWN%

catnum.php
Shows a drop down select box with all the item numbers listed within, to be used to search by item number.

%LOGO%

logo.php
Displays the uploaded logo, if one exists, on your page.

%META_TAGS%

meta.php
Shows the dynamic meta descriptions and keywords of the page. Should be placed inside the <header></header> tag.

%MOBILE%

mobile.php
Shows a mobile friendly menu (if a responsive template is used).

%PAGE_TITLE%

title.php
Shows the title of the page (ie. "Home Page", "Catalog", "Links", etc.) or the header image.

%PGLOWER%

pglower.php
Creates an entry in the body section for using the photo gallery. For best performance, place directly above </body>.

%PGUPPER%

pgupper.php
Creates an entry in the head section for using the photo gallery. For best performance, place directly above %STYLE_SHEET%.

%PRICE_DROPDOWN%

price.php
Shows a drop-down select box with your price ranges listed within, to be used to search by price.

%SEARCH_CATALOG%

search_catalog.php
Displays a keyword search box which customers can use to search for products in your catalog by keyword.

%SEARCH_SITE%

search_site.php
Displays a keyword search box which customers can use to locate pages on your site (including FAQs or articles), categories, or products by keyword.

%SITE_LOGO%

sitelogo.php
Displays the uploaded logo, if one exists. If a logo does not exist, displays the site name.

%SITE_MESSAGE%

sitemessage.php
Displays whatever you have entered in the "Site Message" field (in the variables area of the administration section). The text appears on every page, and is often used to easily update sale messages or note specials site-wide.

%SITE_NAME%

sitename.php
Displays the name of your web site in a header tag on your page.

%SITEG_URL%

<?php echo $urldir; ?>
Displays the URL of your web site using http or https whichever is active, dynamically pulling the value from the 'Web Site URL' in the 'Site Settings'.

%SITE_URL%

<?php echo $urldir; ?>
Displays the URL of your web site, dynamically pulling the value from the 'Web Site URL' in the 'Site Settings'.
(e.g. <img src='%SITE_URL%/image.gif' />

%STYLE_LOWER%

style_lower.php (since 10.4.1)
Goes just before </body> in template.
Contains Google analytics, photo gallery code

%STYLE_SHEET%

style.php
Sets the fonts and colors for the catalog. Should be placed inside the <head></head> tag.
If you are using custom templates, use the alternates %SYSTEM_STYLES% to show only system styles (product layouts, forms) and/or %NAVIGATION_STYLES% to show only link navigation styles.

%TITLE_TAG%

metatitle.php
Displays the category or product if selected, for use with search engines. Should be placed inside the <title></title> tag.

%VIEW_CART%

viewcontents.php
Displays a "View Cart" link only.

%VIEW_CONTENT%

viewcart.php
Displays a "View Cart" link, along with the quantity and total ordered.

Category Navigation

%CATEGORY_BAR%

navbar_bar.php
Displays the categories in a colored, "light-up" bar horizontally displayed on the page. Category images are not shown.

%CATEGORY_BULLETS%

navbar_bullets.php
Shows a list of all categories vertically in the catalog, using the format specified in the "Settings" in this administration area. If a navigation image is present, the text will be displayed to the right of the image.

%CATEGORY_BUTTONS%

navbar_buttons.php
Shows a list of all categories vertically in the catalog, using the format specified in the "Settings" in this administration area. If a navigation image is present, the text will be displayed over the image.

%CATEGORY_DROPMENU%

navbar_dropmenu.php (since 10.4.4)
Displays the categories in a colored, "light-up" bar horizontally displayed on the page. Category images are not shown. Subcategories appear under the bar as you mouse over the categories.

%CATEGORY_FLYOUT%

navbar_flyout.php (since 10.4.4)
Displays the categories in a colored, "light-up" column vertically displayed on the page. Category images are not shown. Subcategories appear to the right of the column as you mouse over the categories.

%CATEGORY_HORIZONTAL%

navbar_horizontal.php
Shows a list of all categories horizontally in the catalog, using the format specified in the "Settings" in this administration area. Note: the horizontal category list is already included in the %NAVIGATION_HORIZONTAL% include.

%CATEGORY_LIST%

navbar_lists.php
On the catalog page, this displays catalog categories vertically, using nested unordered list tags (</li>). The categories use the format specified in the administration area's vertical navigation bar in the catalog settings. To show only certain categories, use %CATEGORY_LIST_X% where X is the initial category id.

%CATEGORY_TABLE%

navbar_table.php
Creates an automated vertical "button" list of all active categories in the system, in a table format. Category images are not shown.

%CATEGORY_TABS%

navbar_tabs.php
Creates an automated horizontal list of tabs showing all main level active categories in the system. Category images are not shown. Subcategories appear in a bar underneath the tabs as you mouse over the categories.

%CATEGORY_VERTICAL%

navbar_vertical.php
Shows a list of all categories vertically in the catalog, using the format specified in the administration area's vertical navigation bar in the catalog settings. To show only certain categories, use %CATEGORY_VERTICAL_X% where X is the initial category id. Note: the vertical category list is already included in the %NAVIGATION_VERTICAL% include.

Page Navigation

%PAGES_BAR%

pagelist_bar.php
Displays the active pages in the system in a colored, "light-up bar" horizontally displayed on the page. Page images are not shown. For page ordering, use %NAVIGATION_HORIZONTAL_X% where X is the group number (1-5) to display.

%PAGES_BULLETS%

pagelist_bullets.php
Creates an automated vertical list of all active pages in the system. If a navigation image is present, the text will be displayed to the right of the image. For page ordering, use %PAGES_VERTICAL_X% where X is the group number (1-5) to display.

%PAGES_BUTTONS%

pagelist_buttons.php
Creates an automated vertical list of all active pages in the system. If a navigation image is present, the text will be displayed over the image. For page ordering, use %PAGES_VERTICAL_X% where X is the group number (1-5) to display.

%PAGES_HORIZONTAL%

pagelist_horizontal.php
Creates an automated horizontal list of all active pages in the system. For page ordering, use %PAGES_HORIZONTAL_X% where X is the group number (1-5) to display.

%PAGES_LIST%

pagelist_lists.php
Creates an automated unordered list of all active pages in the system. For page ordering, use %PAGES_LIST_X% where X is the group number (1-5) to display.

%PAGES_TABLE%

pagelist_table.php
Creates an automated vertical "button" list of all active pages in the system, in a table format. Page images are not shown. For page ordering, use %PAGES_TABLE_X% where X is the group number (1-5) to display.

%PAGES_TABS%

pagelist_tabs.php
Creates an automated horizontal list of tabs showing all active pages in the system. For page ordering, use %PAGES_TABS_X% where X is the group number (1-5) to display.

%PAGES_VERTICAL%

pagelist_vertical.php
Creates an automated vertical list of all active pages in the system. For page ordering, use %PAGES_VERTICAL_X% where X is the group number (1-5) to display.

Combo Navigation

%NAVIGATION_BULLETS%

pagenav_bullets.php
Creates an automated vertical list of all active pages in the system. If a navigation image is present, the text will be displayed to the right of the image. After the "Catalog" page, a vertical list of active categories are shown. For page ordering, use %NAVIGATION_DROPMENU% where X is the group number (1-5) to display.

%NAVIGATION_BUTTONS%

pagenav_buttons.php
Creates an automated vertical list of all active pages in the system. If a navigation image is present, the text will be displayed over the image. After the "Catalog" page, a vertical list of active categories are shown. For page ordering, use %NAVIGATION_DROPMENU% where X is the group number (1-5) to display.

%NAVIGATION_DROPMENU%

pagenav_dropmenu.php (since 10.4.4)
Shows an automated horizontal list of all active pages in the system. After the "Catalog" page, a horizontal list of active categories are shown. For page ordering, use %NAVIGATION_DROPMENU% where X is the group number (1-5) to display.

%NAVIGATION_FLYOUT%

pagenav_flyout.php (since 10.4.4)
Shows an automated vertical list of all active pages in the system. Under the "Catalog" page, a vertical list of active categories are shown, with categories flying out to the right as you mouse over them. For page ordering, use %NAVIGATION_FLYOUT_X% where X is the group number (1-5) to display.

%NAVIGATION_HORIZONTAL%

pagenav_horizontal.php
Shows an automated horizontal list of all active pages in the system. After the "Catalog" page, a horizontal list of active categories are shown, with categories dropping down as you mouse over them. For page ordering, use %NAVIGATION_HORIZONTAL_X% where X is the group number (1-5) to display.

%NAVIGATION_LIST%

pagenav_lists.php
Creates an automated vertical list of all active pages in the system, using nested unordered list tags (</li>). The categories use the format specified in the administration area's vertical navigation bar in the catalog settings. After the "Catalog" page, a vertical list of active categories are shown. For page ordering, use %NAVIGATION_DROPMENU% where X is the group number (1-5) to display.

%NAVIGATION_TABS%

pagenav_tabs.php
Creates an automated horizontal list of tabs showing all active pages in the system. After the "Catalog" page, a horizontal drop down list of active categories appears under the tabs. For page ordering, use %NAVIGATION_DROPMENU% where X is the group number (1-5) to display.

%NAVIGATION_VERTICAL%

pagenav_vertical.php
Shows an automated vertical list of all active pages in the system. Under the "Catalog" page, a vertical list of active categories are shown, using the format specified in the "Settings" in this administration area. For page ordering, use %NAVIGATION_VERTICAL_X% where X is the group number (1-5) to display.

***