Hello,
I’m seeking a method to create a CMS-populated mega menu with sub levels.
The issue is not creating the actual menu with Collections nested inside Collections but instead not reaching the 20-collection list limit on an individual page.
A few options, all of which involve custom code to overcome that limit.
OPTION 1 - BUILD LOCALLY
You use 1 or 2 collection lists max to get all of the data, and then script to assemble your hierarchy
OPTION 2 - BUILD SPECIALLY, AND FETCH IT
Have a special page that uses 20 collection lists to build the menu.
Your script then gets that HTML using fetch, and embed it in the current page.
OPTION 3 - REVERSE PROXY
Build it on a special page, but the reverse proxy will do the fetch and aggregation.
Advantage here is performance.