0

I need to place a custom block below the cart table on the cart page in magento 2. At the moment I'm only able to place it above, so it's displayed above the table AND the cart summary sidebar.

Where to place the block

Any advice? Thanks!

1 Answer 1

2

add Below in your custom checkout_cart_index.xml layout file.

app/design/frontend/ThemeVendor/ThemeName/Magento_Checkout/layout/checkout_cart_index.xml

   <referenceContainer name="checkout.cart.container">
        <block class="Vendor\Module\Block\Cart\Your\Block" name="custom.block" template="Magento_Checkout::cart/test.phtml" after="checkout.cart.form" />
    </referenceContainer>

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.