Glossary Item Box

Squirrelcart v6.1.0

Content

Overview

Content records are used to display specific pieces of content in your storefront:

content examples

Squirrelcart comes with some built in content records, and you can easily create your own to add any information you like.

For more information, see the Content area in this section of the documentation or more information.

Template Files

Overview

You can easily add custom Content records in Squirrelcart. Custom content records do not use a template, and are controlled entirely by the Content's record. Some built in Content records in Squirrelcart have their content controlled via templates. Those Content records are described below, along with the templates used to modify them.

Best Seller(s)

The Best Seller content area by default shows your best selling item:

Best Seller Content

 

Templates for this Content are as follows:

best_sellers_main.tpl.php - controls the overall appareance of the best sellers Content 

best_sellers_box.tpl.php - controls the appearance of each best seller in the best sellers Content

Product Catalog

The Product Catalog content area shows categories that are set to "Display When Clicked or Viewed":

Product Catalog Content

 

This Content uses the same templates as explained on the Category topic in this section.

Featured Products

By default, this Content displays 4 products from the category containing the most products in your store.

featured products content

 

Templates for this Content are as follows:

featured_product.tpl.php - controls the apperance of each product in this Content

You can change the category used, and the number of products displayed by passing parameters to the sc_featured_products_content() function that can be seen when viewing the source code for this Content record. For more information, see the Developer Guide section of this documentation.

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.