Configuration / Examples

Once successfully installed, you can now begin configuring your Smart CMS page or widget. Given the flexibility of this extension, please navigate to the relevant section below for instructions and examples on configuration.

Creating a Sale, New In, Best Sellers or a Promotional Page CMS Page

Using this extension, all Smart CMS pages are created in the same way (whether it be a Sale, a New In, a Best Sellers or a Promotional page you are looking to create). The extension simply enhances the core Magento functionality for CMS pages, by allowing them to intelligently add products based on the type of CMS page you are looking to create.

To create your new page, navigate to CMS > Pages > Manage Content, and click + Add New Page. You should notice that an extra tab on the left has now been added called 'Smart Settings' (if you are not seeing this extra tab, your extension has not properly installed). It is in this tab that you select which type of Smart CMS page you would like to create (and based on your selection below, will collect and display all relevant products based on the following conditions:

Simple: this is a basic core Magento CMS page

New Page: all products that have an active date set in the  'Set Products as New from Date' and 'Set Products as New to Date' product attribute will display in this page

Sale Page: all products that have a final price lower than the price listed in the 'Price' field. For example, any products that have a 'Special Price', a 'Catalogue Price Rule' applied, or a Customer Group Price (applicable to that customer on the frontend), will be consolidated and displayed on this CMS page.

Best Seller Page: this page will display all products as per the 'Products Bestsellers Report', which can be viewed or refreshed by navigating to Reports > Products > Bestsellers. It is here that you will need to set criteria and generate a report. The best selling products generated in this report will display in the 'Best Sellers' CMS page.

Promo Rules Page: An 'Applicable Rules*' option will appear when this promo rules page type is selected. It will present all active Catalog Price Rules as selectable options here, and when ticked will then display all products for which these rules are applied.

Creating a Sale, New In or a Best Sellers Widget

You may find there are instances where you don't want a dedicated page for each instance, but rather only want to highlight a selected number of products within a block or category using one of the below widgets:

Zero1 Smart Best Sellers Widget
Zero1 Smart New Items Widget
Zero1 Smart Sale Widget

In order to create any of the above Smart Widgets, you will need to navigate to CMS > Widgets, and click +Add New Widget Instance. Once you are looking at a 'New Widget Instance', you should see the following options presented in the 'Type' dropdown. Once you have selected the type required, and the Design Package/Theme* that it is to use, click Continue.

It is in the Widget Options tab that you can specify the criteria and specific conditions for which products will need to meet before displaying in the widget. 

Zero1 Smart New Items Widget (example below)

*In the instance that you are using the widget within a category, it is important to note that the conditions set will apply only to the products WITHIN that category. For example, instead of displaying all NEW items in that store, if assigned to a category it will only display all NEW items within that category.*

Assigning the Widget
Once you have configured your widget, in order for it to appear you will simply need to add it to a static block, and from there can then assign the static block to a category page.

*It is also possible to insert a smart widget into a CMS page and have products display. The only way this is possible however, is to have the Default Category / Root Category set to 'Is Anchor' is 'Yes' (this allows the CMS pages to inherit products to display within the widget).

Adding Layered Navigation to Pages
You can paste the following layout XML into the appropriate CMS page if you need to activate Layered Navigation. Please note that Anchoring will need to be active from the Root store category to take effect.

<reference name="left">

    <block type="zero1_smart_cms_pages/layer_sale" name="smart_cms.leftnav_custom" after="currency" template="catalog/layer/view.phtml"/>


<reference name="left_first">

    <remove name="smart_cms.leftnav" />