I would like to display a static Block at the footer on last page of category view page.

Using Magento 2.3. Tried with productlist.php but not working as expected.

Using below references.

How do I add a CMS Static Block Text Box To All Product Listings In Magento?

Sorting and sort direction applied together

Any one knows is there any default settings or system configuration that will does this kind of stuff or will it require to do custom code.

Have done following thing for now which is working fine for all the pages for product listing but i wanted to show only for last page of category view page.


<referenceContainer name="footer">
       <block class="Magento\Cms\Block\Block" name="contact-us-info">
                <argument name="block_id" xsi:type="string">contact-us-info</argument>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.