-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Description
Hi,
Trying to override the layout on the category page and remove the pagination controls. However the "remove" option does not work here and the example of setting the grid to all doesn't seem to work either. I have the correct xml file in the correct module folder in my theme as other items are working in that file. The block below just redirects the page back to the homepage for some reason.
<referenceBlock name="product_list_toolbar">
<action method="addPagerLimit" translate="label">
<argument name="mode" xsi:type="string">grid</argument>
<argument name="limit" xsi:type="string">all</argument>
<argument name="label" xsi:type="string">All</argument>
</action>
</referenceBlock>