Magento 1.4 toolbar error (How to properly upgrade to Magento 1.4)
Posted Thu, 03/04/2010 - 12:55pm
In case you upgraded to magento 1.4, and noticed that your category listings that require pagination (page 1, 2, 3) no longer show, here's the fix...
1. copy the new 1.4 toolbar.phtml from
app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
and paste it into your custom theme
app/design/frontend/*/YOURTHEME/template/catalog/product/list/toolbar.phtml
(note: make sure you put this into your currently used theme directory. If you installed a theme via Admin-->System-->Design then get the name of the theme from there)
2. edit your app/design/frontend/*/YOURTHEME/layout/catalog.xml
Find:
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">Replace all instances with:
<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"/> 3. edit your catalogsearch.xml:
Find:
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block> Replace all instances with:
<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> And that should do it... (you'll also probably have to restyle the toolbar, as it will be barebone)
Comments
This is just what I have
by Ivan - 04/25/2010 - 7:44am
This is just what I have looking for.
Thank you very much for posting this solution public.
Hello, Same problem for one
by webhostuk - 05/11/2010 - 10:49pm
Hello,
Same problem for one of our customer.. thank you to share it..I will surely try it and let you know if that worked.
Regards,
Max
Dude, thanks for this. I
by Clay McIlrath - 05/12/2010 - 4:52pm
Dude, thanks for this. I upgraded a dev site from 1.4 alpha to 1.4.1 and all of a sudden my blocks in my templates weren't working, this solution worked perfect! Thanks again man!
thankyou so much. It works
by Eshban - 05/28/2010 - 10:17pm
thankyou so much. It works like a charm.
Hello there I am tring to fix
by Anonymous - 06/27/2010 - 7:22pm
Hello there
I am tring to fix this pagening problem from last 1 week...i tried your way as well...i am using magento1.4 with the default template....could you please help me....i really badly need help....
Thanks for this fix, I was
by Mike - 06/30/2010 - 6:18am
Thanks for this fix, I was surprised to see (or not) that this was missing.
One slight problem, now my
by Mike - 06/30/2010 - 7:08am
One slight problem, now my search box has disappeared.
Post new comment