Purpose: This is the Search Group template which applies to the "Search by Manufacturer" and "Search by Price" pages.
Notes: The "search_group.html" template file is virtually identical to the "search.html" template. However, we created a separate template so that it can be customized to look different than the category pages.
Code Blocks
Note: It is important to preserve the commented tags to ensure the software performs correctly.
<!--START: BODY_HEADER--> [CATEGORY_FULLLINE] <!--END: BODY_HEADER--> [Search_header] <!--START: MANUFACTURER_HEADER--> <!--START: logo--> [logo] <!--END: logo--> <!--START: header--> [header] <!--END: header--> <!--END: MANUFACTURER_HEADER--> [keyword] [manf] [byprice] [category_Header-products] [productnumber] <!--START: sortbylist--> [sortbylist] <!--END: sortbylist--> <!--START: PAGING--> [category_moreresults] <!--START: PREV--> [keyword] [sortby] [manf] [byprice] [prev] [category_previouspage] <!--END: PREV--> <!--START: PAGES--> <!--START: FIRST_PAGE--> [keyword] [manf] [byprice] [PAGE] <!--END: FIRST_PAGE--> <!--START: PAGES_SELECTED--> [PAGE] <!--END: PAGES_SELECTED--> <!--START: PAGES_NOTSELECTED--> [keyword] [sortby] [manf] [byprice] <!--END: PAGES_NOTSELECTED--> <!--START: LAST_PAGE--> [keyword] [sortby] [manf] [byprice] [PAGE] <!--END: LAST_PAGE--> <!--END: PAGES--> <!--START: NEXT--> [keyword] [sortby] [manf] [byprice] [next] [category_nextpage] <!--END: NEXT--> <!--END: PAGING--> <!--START: CATEGORY_ITEMS--> <!--START: ITEM_TEMPLATE--> [catalogid] [THUMBNAIL] [name] <!--START: product_review--> <!--START: product_review_average--> [review_average] [review_count] <!--END: product_review_average--> <!--END: product_review--> <!--START: ITEMPRICE--> [product_yourprice] [ITEMPRICE] <!--END: ITEMPRICE--> <!--START: SALEPRICE--> [product_yourprice] [ITEMPRICE] [product_onsale] [ITEMSALEPRICE] <!--END: SALEPRICE--> <!--START: freeshippingblock--> [freeshipping] <!--END: freeshippingblock--> [category_buyitlink] [catalogid] <!--END: ITEM_TEMPLATE--> <!--END: CATEGORY_ITEMS--> <!--START: PAGING--> [category_moreresults] <!--START: PREV--> [keyword] [sortby] [manf] [byprice] [prev] [category_previouspage] <!--END: PREV--> <!--START: PAGES--> <!--START: FIRST_PAGE--> [keyword] [manf] [byprice] [PAGE] <!--END: FIRST_PAGE--> <!--START: PAGES_SELECTED--> [PAGE] <!--END: PAGES_SELECTED--> <!--START: PAGES_NOTSELECTED--> [keyword] [sortby] [manf] [byprice] <!--END: PAGES_NOTSELECTED--> <!--START: LAST_PAGE--> [keyword] [sortby] [manf] [byprice] [PAGE] <!--END: LAST_PAGE--> <!--END: PAGES--> <!--START: NEXT--> [keyword] [sortby] [manf] [byprice] [next] [category_nextpage] <!--END: NEXT--> <!--END: PAGING--> <!--START: CATEGORY_FOOTER--> [CONTENT] <!--END: CATEGORY_FOOTER-->
Note: Code blocks and their respective variables will only work with specific template pages.
Variables
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.
- [CATEGORY_FULLLINE] – Displays the page’s breadcrumb links.
- [Search_header] – Inserts the name of the search group page that is being viewed. (e.g. Price Range or Manufacturer Name)
- [logo] – For Browse by Manufacturer, when the manufacturer record is set up to include a logo, this variable will insert the respective logo.
- [keyword] – Used by the Software to reference the search “keyword” (manufacturer or price range) for any additional links present.
- [manf] – Used by the Software to insert the manufacturer name for additional links present.
- [byprice] – Used by the Software to insert the price range for additional links present.
- [category_Header-products] – Displays the Title of the “Products” page. (See Settings ->Design ->Store Language)
- [productnumber] – Inserts the number of products in the search results.
- [sortbylist] – Used by the Software to insert the “Sort by” dropdown list. (See Settings ->Design ->Edit “Order By”)
- [sortby] – Used by the Software to reference the selected “sort by” option.
- [category_moreresults] – Displays the Title of the “More Results” heading when pagination occurs. (See Settings ->Design ->Store Language)
- [prev] – Used by the Software to reference the “previous” pagination number.
- [category_previouspage] – Displays the Title of the “Previous Page” link. (See Settings ->Design ->Store Language)
- [PAGE] – Inserts the pagination numbers when needed.
- [next] – Used by the Software to reference the “next” pagination number.
- [category_nextpage] – Displays the Title of the “Next Page” link. (See Settings ->Design ->Store Language)
- [catalogid] – Used by the Software to reference the product database ID information.
- [THUMBNAIL] – Inserts the Product thumbnails.
- [name] – Inserts the Product name.
- [review_average] – Inserts the Review Average for each product.
- [review_count] – Inserts the number of Reviews that have been left for the order.
- [product_yourprice] – Displays the Title of the “Your Price” label for pricing. (See Settings ->Design ->Store Language)
- [ITEMPRICE] – Inserts the Product’s Price.
- [product_onsale] – Displays the Title of the “On Sale” label for pricing. (See Settings ->Design ->Store Language)
- [ITEMSALEPRICE] – Inserts the Product’s Sale Price.
- [freeshipping] – Displays the “Free Shipping” icon when the item is specified as having Free Shipping. (See Settings ->Design ->Store Language)
- [category_buyitlink] – Displays the Title of the “Add to Cart” button/link. (See Settings ->Design ->Store Language)