Jump to content

Use the prestashop pagination to display my "item"


emmeics

Recommended Posts

Hi,

I have develope a new module in my prestashop that display many "items" (not products) in a new php page.

In the PHP file situate on the root of shop i have added:

include(dirname(__FILE__).'/pagination.php');
$smarty->assign('nb_products', $total);



And in the TPL file i have added:

{include file=$tpl_dir./pagination.tpl}



But the page still display all items, which parameters i must include? or the pagination is available only for products/manufacturers/suppliers?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...