0

Our client has a specific need where they wish all products to be shown for one particular category, whilst all others show the default number (12 in our case) with pagination.

I know Magento doesn't offer this out of the box. I don't mind hard-coding it in e.g. an XML file instead of a full-blown extensible solution that allows the option to be toggled through the category manager.

Is there a way to achieve this through a layout file?

1 Answer 1

0

create a xml file catalog_category_view_id_25.xml

where 25 is your category id.

in theme > Magento_Catalog > layout

Handle your requirement by modifying list.phtml file under this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.