Enabling Blocks by Default in Episerver Commerce
Using Episerver Blocks, to e.g. support re-usable components, in Episerver Commerce content is a very common scenario. Out of the box, that is indeed also possible. It only requires you to register a ContentReference driven property type – e.g. ContentReference, ContentArea or List – for it to be supported in the authoring interface.
After you’ve done that, you will probably realize that the “Blocks” asset panel in the right hand side pane by default is unavailable to your editors, requiring these to manually go in an add the “Blocks” gadget to their view.
How to enable the “Blocks” panel, by default, in Episerver’s Catalog view.
Enabling “Blocks”, by default, in Episerver’s Catalog is very easy. Since it’s not documented anywhere, it’s absolutely worth writing a simply blog post about!
You’ll only need to create a single class, which through Episerver’s component system makes the “Blocks” gadget available for both existing and new content editors.