mingwireless Posted November 15, 2011 Share Posted November 15, 2011 Hi all I have the PS 1.4.5 and i want to set or change the products list all in one page or set to 20 or 30 products in a select subcategories , Please check here : http://www.mingwirel...ca/29-iphone-3g eg. i want to show all items below to that subcategories? right now only show 10 items in one page , i want to change to show all item in same page event if i can change to 20 or 30 items . Does any know what file ? or what section to modify that ? Thanks Please let me know if anyone know how to do this. Link to comment Share on other sites More sharing options...
Thierryh Posted November 15, 2011 Share Posted November 15, 2011 tips: you can use the URL parameter ?n=XXXX (XXXX is an integer value) to your category URL. Example : http://www.mingwireless.ca/29-iphone-3g?n=50 display maxi 50 products per page. So you could eventually customize your blockcategories.tpl in order to set the parameter ?n=XXXX to your select subcategories. Thierry Link to comment Share on other sites More sharing options...
mingwireless Posted November 15, 2011 Author Share Posted November 15, 2011 Hi there Thanks for the reply, but i try to find the ?n= section but cannot find it can you please tell me where is that? i went to : www/mingwireless.ca/modules/blockcategories Here is the blockcategories.tpl Files: {* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6718 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block categories module --> <div id="categories_block_left" class="block"> <h4>{l s='Categories' mod='blockcategories'}</h4> <div class="block_content"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} </ul> {* Javascript moved here to fix bug #PSCFI-151 *} <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> </div> </div> <!-- /Block categories module --> Link to comment Share on other sites More sharing options...
Dave L Posted November 15, 2011 Share Posted November 15, 2011 Wow! that seems a lot of work. Why not simply go to Preferences>Products and change the Products per page from 10 to 30. Link to comment Share on other sites More sharing options...
mingwireless Posted November 15, 2011 Author Share Posted November 15, 2011 Solved Thank you very much , you make it so much simply for us, Thanks Dave L Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 15, 2011 Share Posted November 15, 2011 Wow! that seems a lot of work. Why not simply go to Preferences>Products and change the Products per page from 10 to 30. Sometimes, the easiest solution is the best one -Mike Link to comment Share on other sites More sharing options...
mingwireless Posted November 16, 2011 Author Share Posted November 16, 2011 Thanks a lot Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 16, 2011 Share Posted November 16, 2011 I'm glad we could help! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts