im having troubles making search results have 4 products across. on magento version 1.5. have tried modifying catalog.xml , catalogsearch.xml using solution:
<action method="setcolumncount"><count>4</count></action>
it never worked categories, way got categories work using custom design tab , adding:
<reference name="product_list"> <action method="setcolumncount"><columns>4</columns></action> </reference>
i have tried modifying list.phtml file code , didnt work either:
<?php $_columncount = 4; ?>
i have no idea else can make search results return 4 products across, thing has worked me custom design tab , there none search results. appreciated. thank you!
i'm on magento ce 1.7.0.2 , using 2 column right layout.
i had use setcolumncount in catalogsearch.xml this:
<reference name="content"> <block type="catalogsearch/result" name="search.result" 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="setcolumncount"><columns>4</columns></action>
then, had edit styles.css around line 804 , change .col2-right-layout .products-grid {width:632px;...}
width:675px
have changed 100%, created gray border right of rightmost product, isn't how design intended work.
hope helps you!
Comments
Post a Comment