Skip to content

Catalog - Product list - Toolbar action block override not working #1404

@cshaw-inviqa

Description

@cshaw-inviqa

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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions