Saturday, 12 December 2015

Adding New Products with Built in Magento Tools

step 1 Go Categories
step 2  Custom Design Tab
Step 3  Copy Below Text
         <reference name="content">
               <block type="catalog/product_new" name="product_new" template="catalog/product/list.phtml">
               <action method="setCategoryId"><category_id>10</category_id></action>
                <action method="setColumnCount"><column_count>6</column_count></action>
                <action method="setProductsCount"><count>0</count></action>
             <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                <block type="page/html_pager" name="product_list_toolbar_pager" />
                  <action method="setDefaultGridPerPage"><limit>12</limit></action>
                  <action method="addPagerLimit"><mode>grid</mode><limit>12</limit></action>
                 <action method="addPagerLimit"><mode>grid</mode><limit>24</limit></action>
                 <action method="addPagerLimit"><mode>grid</mode><limit>36</limit></action>
                <action method="addPagerLimit"><mode>grid</mode><limit>48</limit></action>
                <action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
              </block>
             <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>6</count></action>
               <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
              </block>
            </reference>

Step 4 Then Run

follow This link

No comments:

Post a Comment