Important

You are browsing documentation for version 5.0 of OroCommerce. Support of this version ended in January 2025. Read the documentation for version 6.1 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Toolbar Extension 

Toolbar options:

[
    'hide'       => false,
    'pageSize'   => [
        'hide'  => false,
        'items' => [10, 25, 50, 100],
        'default_per_page' => 25,
    ],
    'pagination' => [
        'hide' => false,
    ]
];
  • hide - will hide toolbar. Can take values true or false.

  • pageSize - array, next parameters could be included:

    • hide - hide or show the number of items per page selector

    • items - items per page

    • default_per_page - item per page by default

  • pagination - show or hide the pagination block and turn off the paginator extension.

Related Articles