CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 3 Documentation - viewCat.tpl

Google Translate:

viewCat.tpl

Description

The category page used for displaying products within the category, search results and sale items.

Template file location

/skins/YOUR_SKIN/styleTemplates/content/viewCat.tpl

Control file location

/includes/content/viewCat.inc.php

Classic skin template output screenshot

Standard category page.


Sale items page.


Search results, using the search side box.

Basic template structure

<!-- BEGIN: view_cat -->

<!-- BEGIN: sub_cats -->
          The list of subcategories.

    <!-- BEGIN: sub_cats_loop -->
              Subcategories repeated.
    <!-- END: sub_cats_loop -->
<!-- END: sub_cats -->

<!-- BEGIN: cat_img -->
          Image assigned to the category.
<!-- END: cat_img -->

<!-- BEGIN: productTable -->
          Product table header.

    <!-- BEGIN: products -->
              Products repeated.
        <!-- BEGIN: buy_btn -->
                  Buy button if product in stock.
        <!-- END: buy_btn -->
    <!-- END: products -->
<!-- END: productTable -->

<!-- BEGIN: noProducts -->
          Product does not exist.
<!-- END: noProducts -->

<!-- END: view_cat -->




Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.