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
- Enable the sidebar in
Stores >Configuration > MageB2B > Customer Documents > General Settings. - For each document, enable Show in sidebar.
- Ensure your theme has a
sidebar.additionalcontainer on the pages where you want the block.
Note: If the customer is not logged in, the sidebar block will not show private documents.
