prestashop show all products in category

Solutions on MaxInterview for prestashop show all products in category by the best coders in the world

showing results for - "prestashop show all products in category"
Gaspard
09 Jan 2019
1    {if !empty($smarty.get.order)}
2        {capture assign='ordering'}order={$smarty.get.order}&{/capture}
3    {else}
4        {assign var='ordering' value=''}
5    {/if}
6
7    {if !empty($smarty.get.resultsPerPage)}
8        {assign var='results_per_page' value=$smarty.get.resultsPerPage}
9    {else}
10        {assign var='results_per_page' value=25}
11    {/if}
Irene
15 Jan 2020
1if ($resultsPerPage <= 0 || $resultsPerPage > 36) {
2    $resultsPerPage = Configuration::get('PS_PRODUCTS_PER_PAGE');
3}
Maite
12 Sep 2020
1<label style="float:left;margin-right: 15px" class="form-control-label hidden-sm-down sort-label">{l s='Products per page:'}</label>
2<div style="float:left;" class="sort-select dropdown js-dropdown">
3    <a class="custom-select select-title" rel="nofollow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
4        {$results_per_page}
5    </a>
6    <div class="dropdown-menu">
7        <a rel="nofollow" href="?{$ordering}resultsPerPage=25" class="dropdown-item js-search-link">
8            25
9        </a>
10        <a rel="nofollow" href="?{$ordering}resultsPerPage=50" class="dropdown-item js-search-link">
11            50
12        </a>
13        <a rel="nofollow" href="?{$ordering}resultsPerPage=75" class="dropdown-item js-search-link">
14            75
15        </a>
16        <a rel="nofollow" href="?{$ordering}resultsPerPage=100" class="dropdown-item js-search-link">
17            100
18        </a>
19    </div>
20</div>
Emmeline
02 May 2019
1if ($resultsPerPage <= 0 || $resultsPerPage > 100) {
2    $resultsPerPage = Configuration::get('PS_PRODUCTS_PER_PAGE');
3}
similar questions
queries leading to this page
prestashop show all products in category