I've got a set of blocks made in the backend. Now, I want the following to be possible:
- Iterate over a selected count of blocks, starting with a certain name (which would not be the hardest part) in a custom phtml file
- Show each block like as a product on my page
- When I click on a 'block product', a pop up will show up with content corresponding to that block.
Now, I already have the code for the pop up and stuff, but my question is:
Is it possible to iterate over a set of CMS blocks and show them on my page (and preferably in the same way a product, so more like a link to the block rather than the whole block content) ?