prestashop show all products in category
if ($resultsPerPage <= 0 || $resultsPerPage > 36) {
$resultsPerPage = Configuration::get('PS_PRODUCTS_PER_PAGE');
}
prestashop show all products in category
if ($resultsPerPage <= 0 || $resultsPerPage > 36) {
$resultsPerPage = Configuration::get('PS_PRODUCTS_PER_PAGE');
}
prestashop show all products in category
<label style="float:left;margin-right: 15px" class="form-control-label hidden-sm-down sort-label">{l s='Products per page:'}</label>
<div style="float:left;" class="sort-select dropdown js-dropdown">
<a class="custom-select select-title" rel="nofollow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{$results_per_page}
</a>
<div class="dropdown-menu">
<a rel="nofollow" href="?{$ordering}resultsPerPage=25" class="dropdown-item js-search-link">
25
</a>
<a rel="nofollow" href="?{$ordering}resultsPerPage=50" class="dropdown-item js-search-link">
50
</a>
<a rel="nofollow" href="?{$ordering}resultsPerPage=75" class="dropdown-item js-search-link">
75
</a>
<a rel="nofollow" href="?{$ordering}resultsPerPage=100" class="dropdown-item js-search-link">
100
</a>
</div>
</div>
prestashop show all products in category
if ($resultsPerPage <= 0 || $resultsPerPage > 100) {
$resultsPerPage = Configuration::get('PS_PRODUCTS_PER_PAGE');
}
prestashop show all products in category
{if !empty($smarty.get.order)}
{capture assign='ordering'}order={$smarty.get.order}&{/capture}
{else}
{assign var='ordering' value=''}
{/if}
{if !empty($smarty.get.resultsPerPage)}
{assign var='results_per_page' value=$smarty.get.resultsPerPage}
{else}
{assign var='results_per_page' value=25}
{/if}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us