Avactis Storefront Structure

 

Avactis Shopping Cart storefront consists of four main big parts:

1.The layout file
2.Storefront files
3.Avactis tags
4.Template directory

The layout file is the most important part of the storefront. It specifies location and filenames of all storefront components. When Avactis system generates storefront pages, it uses the layout file to determine which file it should open for which action and how it should process it.

Storefront files do all the work. Each storefront file does only one type of action that it is designed for. Together they comprise a full-featured ecommerce storefront.

Storefront files contain mostly static HTML code. When it's necessary to display some dynamic information from Avactis system on a page (for example, a breadcrumb trail or some product attribute), the page contains the corresponding Avactis tags in this position.

When Avactis system outputs a storefront page, it replaces the tags with the actual content with the help of templates. When Avactis renders a tag, it reads the necessary files from the corresponding template directory and puts them together. The templates may, in turn, contain other tags that require other templates. Thus, the storefront page is being assembled from many templates.


  © 2004-2008 Pentasoft Corp. All Rights Reserved.