Portlets

This section describes the concept of portlets in general and the default portlets in detail.

Overview

A Portlet is a piece of arbitrary information which can be assigned to every object, like shop, products, categories and pages. They are displayed in slots. A slot can have an arbitrary amount of Portlets. LFS ships with a left and a right slot and several default portlets. By default portlets are inherited from parent objects but it is also possible to block parent portlets per slot.

The inheritance path for categories and products is:

shop > category > sub category > product

The inheritance path for pages is:

shop > page root > page

Default Portlets

This section describes all default portlets of LFS with their particular settings and properties.

Average Rating

This portlet displays the average rating of a product.

Title
The title of the portlet.

Cart

This portlet displays the cart of the shop.

Title
The title of the portlet.

Categories Portlet

This portlet displays the category tree, which is the essential navigation for the shop.

Title
The title of the portlet.
Start Level
The starting level of categories. If this is 2 the top level categories are not displayed within the portlet. This can be useful if you want to display them in the horizontal menu.
Expand Level
Expands the categories up to this level. If this is 0 only the current category will be expanded. If this is 1 all top level categories are expanded, etc.

Note

top level categories have level 1, their sub categories have Level 2, etc.

Delivery Time

This portlet displays the delivery time of a product.

Title
The title of the portlet.

Filter

This portlet displays a filter portlet for a category.

Title
The title of the portlet.
Show Product Filters:
If this is checked product filters are displayed. To make this work properly the products assigned to the category must filterable properties and there must be values assigned to them.
Show price filters:
If this is checked price filters are displayed (which are automatically calculated).

For Sale

This portlet displays products which are for sale.

Title
The title of the portlet.
Limit
Only the given amount of products are displayed.
Use current category
If this is checked only the featured product of the current category are displayed.
Slideshow
If this is checked the products are displayed via a slideshow, i.e. only one product at once which is exchanged automatically. If this is unchecked all products are display as a list.

Latest Products

Display the products that were recently added to the shop

Title
The title of the portlet.
Limit
Only the given amount of products are displayed.
Use current category
If this is checked only the latest products of the current category are displayed.
Slideshow
If this is checked the products are displayed with a slideshow, i.e. a single product which is exchanged automatically). If this is unchecked all products are display at once.

Pages

This portlet displays information pages.

Title
The title of the portlet.

Recent Products

Display the recent visited products.

Title
The title of the portlet.

Text

This portlet displays arbitrary HTML.

Title
The title of the portlet.
Text
The HTML code which is supposed to be displayed.

Top Seller

This portlet displays the top seller of the shop.

Title
The title of the portlet.
Limit
Only the given amount of products are displayed.