Change the design of the overall Look of your Site
Purpose: This file defines the overall navigation and user interface of the store. 99.9% of the time, this is the only template you will ever need to edit!
Think of our Code Blocks as code includes within your HTML document. For example, if you wanted to add a breadcrumb to your page, you need the breadcrumb code block, plus the necessary variables inside that codeblock.
Code blocks will typically begin and end with commented out areas of HTML code which will contain the name of the block for easier reference.
Note: It is important to preserve the commented tags to ensure the software performs correctly.
For example:
[TITLE] [META] [template] [stylesheet] <!--START: FRAME_RSSFEEDS --> [store_url] <!--START: RSSFEEDS_CATEGORIES--> [category_name] [store_url] [catid] <!--END: RSSFEEDS_CATEGORIES--> <!--END: FRAME_RSSFEEDS --> <!--START: quicksearch--> <!--END: quicksearch--> [screenwidth] <!--START: username--> [account_greeting] [username] <!--END: username--> <!--START: global_header--> [storename] [storeslogan] <!--END: global_header--> <!--START: shopping_cart--> [ITEMSINCART] [SUBTOTAL] <!--End: shopping_cart--> <!--START: FRAME_SEARCH--> <!--END: FRAME_SEARCH--> <!--START: FRAME_MENU--> <!--START: menuitems_view--> <!--START: TOP_LINK_FORMAT--> [link_id] [link_target] [link_name] <!--END: TOP_LINK_FORMAT--> <!--END: menuitems_view--> <!--END: FRAME_MENU--> <!--START: LEFT BAR--> <!--START: LEFT_BAR_BLOCKS--> <!--START: TOP_SELLERS_BLOCK--> [frame_top-sellers] <!--START: topsellers--> <!--START: topsellers_topitem--> [catalogid] [thumbnail] [name] <!--START: ITEMPRICE--> [ITEMPRICE] <!--END: ITEMPRICE--> <!--START: SALEPRICE--> [ITEMPRICE] [ITEMSALEPRICE] <!--END: SALEPRICE--> <!--START: product_review_average--> [review_average] <!--END: product_review_average--> <!--END: topsellers_topitem--> <!--START: topsellers_item--> [ranking] [catalogid] [thumbnail] [name] <!--START: ITEMPRICE--> [ITEMPRICE] <!--END: ITEMPRICE--> <!--START: SALEPRICE--> [ITEMSALEPRICE] <!--END: SALEPRICE--> [catalogid] <!--START: product_review_average--> [review_average] <!--END: product_review_average--> <!--END: topsellers_item--> <!--END: topsellers--> <!--END: TOP_SELLERS_BLOCK--> <!--START: FRAME_CATEGORY--> [frame_categories] <!--START: CATEGORIES--> <!--START: CATEGORY_FORMAT--> <!--END: CATEGORY_FORMAT--> <!--START: SUB_CATEGORY_FORMAT--> <!--END: SUB_CATEGORY_FORMAT--> <!--END: CATEGORIES--> <!--END: FRAME_CATEGORY--> <!--START: FRAME_BYPRICE--> [frame_byprice] <!--START: byprice_format--> [id] [title] <!--END: byprice_format--> <!--END: FRAME_BYPRICE--> <!--START: FRAME_MANUFACTURER--> [frame_manufacturer] <!--START: manufacturer_format--> [mfgid] [manufacturer] <!--END: manufacturer_format--> <!--END: FRAME_MANUFACTURER--> <!--START: FRAME_MAILLIST--> [frame_mailinglist] [mailinglist_text] [mailinglist_button] [mailinglist_subscribe] [mailinglist_unsubscribe] <!--END: FRAME_MAILLIST--> <!--START: LEFT_BANNER--> [LEFT_BANNER] <!--END: LEFT_BANNER--> <!--END: LEFT_BAR_BLOCKS--> <!--END: LEFT BAR--> <!--start middle column--> <!--end middle column--> <!--START: RIGHT BAR--> <!--START: RIGHT_BAR_BLOCKS--> <!--START: NEW_RELEASES_BLOCK--> [frame_new-releases] <!--START: newreleases--> <!--START: newreleases_topitem--> [catalogid] [thumbnail] [name] <!--START: ITEMPRICE--> [ITEMPRICE] <!--END: ITEMPRICE--> <!--START: SALEPRICE--> [ITEMPRICE] [ITEMSALEPRICE] <!--END: SALEPRICE--> <!--START: product_review_average--> [review_average] <!--END: product_review_average--> [catalogid] <!--END: newreleases_topitem--> <!--START: newreleases_item--> [catalogid] [name] <!--START: ITEMPRICE--> [ITEMPRICE] <!--END: ITEMPRICE--> <!--START: SALEPRICE--> [ITEMPRICE] [ITEMSALEPRICE] <!--END: SALEPRICE--> <!--START: product_review_average--> [review_average] <!--END: product_review_average--> <!--END: newreleases_item--> <!--END: newreleases--> <!--END: NEW_RELEASES_BLOCK--> <!--START: RIGHT_BANNER--> [RIGHT_BANNER] <!--END: RIGHT_BANNER--> <!--END: RIGHT_BAR_BLOCKS--> <!--END: RIGHT BAR--> <!--START: FRAME_LINKS--> <!--START: LINKS--> <!--START: LINK_FORMAT--> [link_id] [link_target] [link_name] [template] <!--END: LINK_FORMAT--> <!--END: LINKS--> <!--END: FRAME_LINKS--> [frame_copyright1] [GLOBAL_FOOTER] <!--START: 3dcart stats--> [catalogid] [catid] <!--END: 3dcart stats-->
Dynamic Code Blocks: The frame.html file itself contains the following code blocks which are dynamically inserted or removed based on settings/configurations set within the Shift4Shop Online Store Manager. In the following list, we will specify the area of the Online Store Manager where these settings are configured.
There is also a very special block of code called 3dcart stats which contains special scripting elements intended to provide the store's statistical reporting information. (See Reports section in the Online Store Manager.)
Note: Several of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance.