Bug in Magento 1.4.1.1: Pagination links missing in tagged product list

Today, I noticed one bug in Magento 1.4.1.1: Pagination links (Page: 1, 2, 3 …) were missing in the tagged product list.

Pagination bug in tagged product list

After looking into a later version of Magento 1.5.x, it was found that issue was due to following missing blocks in ‘tag_product_list’ handle of layout file: app/design/frontend/[interface]/[theme]/layout/tag.xml:

<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"/>
</block>
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>

Existing XML code in Magento 1.4.1.1

<tag_product_list translate="label">
	<label>Tagged Products List</label>
	<!-- Mage_Tag -->
	<reference name="content">
		<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
			<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
			<action method="setListOrders"/>
			<action method="setListModes"/>
			<action method="setListCollection"/>
		</block>
	</reference>
</tag_product_list>

Fixed XML code

<tag_product_list translate="label">
	<label>Tagged Products List</label>
	<!-- Mage_Tag -->
	<reference name="content">
		<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
			<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
				<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"/>
				</block>
				<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
			</block>
			<action method="setListOrders"/>
			<action method="setListModes"/>
			<action method="setListCollection"/>
		</block>
	</reference>
</tag_product_list>

Using the above XML code instead will fix the issue of missing pagination links in the tagged product list.

Fixed Pagination

Hope this helps somebody.