|
Store block tags are versatile tools for building an online store quickly and easily. Store blocks display online storefront components - Navigation Bar, Product Info, Shopping Cart, etc, which are all integral parts of an online store. The difference between block tags and info tags is that a store block tag calls a template (an html page) where any number of tags can be used, including other block tags as well as info tags.
The structure of folders containing the store block templates is shown below.
A helpful aid for working with store block tags is the document Avactis Store Blocks Customization. It provides detailed information about customizing store blocks.
avactis-templates
|---catalog
| |---breadcrumb
| |---navigation-bar
| |---paginator-dropdown
| |---paginator-line
| |---product-info
| |---product-list
| |---promo-code-form
| |---search
| |---shopping-cart
| |---subcategory-list
|---checkout
| |---billing-info
| |---checkout-sequence
| |---credit-card-info
| |---customer-info
| |---navigation
| |---order
| |---payment-methods
| |---shipping-info
| |---shipping-methods
|---product-options
| |---options-form
| |---options-selected
| |---options-warnings
|---resources
Store Block Tag
|
Store Block Tag Description
|
<?php Breadcrumb(); ?>
|
The customer's current location in the category tree.
|
<?php Checkout(); ?>
|
The tag outputs a URL which links to the site page that is specified in section [Checkout] in the file storefront-layout.ini. Clicking this link starts the the checkout process.
|
<?php NavigationBar(); ?>
|
The tree of categories. This block is the main navigational component of an online store.
|
<?php PaginatorDropdown(); ?>
|
A drop-down list in which the user can select the number of products displayed per page. This block is not a stand-alone tag and can only be called from the template-container of a ProductList block.
|
<?php PaginatorLine(); ?>
|
A line containing the page numbers for situations when more than one page is required for displaying the list of products. This block is not a stand-alone tag and can only be called from the template-container of a ProductList block.
|
<?php ProductInfo(); ?>
|
The detailed product information.
|
<?php ProductList(); ?>
|
The list of products in the current category.
|
<?php PromoCodeForm(); ?>
|
The form for entering promo codes to get a discount.
|
<?php SearchForm(); ?>
|
The form for entering keywords to search for products in the catalog.
|
<?php ShoppingCart(); ?>
|
The contents of the shopping cart.
The contents of the shopping cart (items currently added to the cart).
|
<?php Subcategories(); ?>
|
The list of subcategories in the current category.
|
|