Sidebar Block

Customer Documents can render a “My Documents” list in the storefront sidebar.

How It Works

  • Global toggle: customerdocuments/general/enable_sidebar
  • Per-document toggle: show_in_sidebar
  • Output container: sidebar.additional

Only documents the current customer is allowed to access are shown.

Setup

  1. Enable the sidebar in Stores >Configuration > MageB2B > Customer Documents > General Settings.
  2. For each document, enable Show in sidebar.
  3. Ensure your theme has a sidebar.additional container on the pages where you want the block.

Note: If the customer is not logged in, the sidebar block will not show private documents.

Found an issue with this documentation? Let us know