·

widgets

Creating Widgets in Magento 2

One feature of Magento that is not as often used as it should be are widgets. Widgets are configurable blocks that can be added to the content in wysiwyg editors in the admin. This gives us great possibilities to add rich content with the wysiwyg-editor without having to manually edit the HTML code. Because having your client read further ...

Remove the wrapping paragraph around a widget in Magento 2

I already wrote a post about how to do this in Magento 1, but it seems that the ‘wrapping paragraphs around widgets‘-problem still exists in Magento 2. That’s why in this article I’ll show you how to fix this problem in Magento 2.read further ...

Dependencies in Magento Widgets

Did you know that when you’re creating a Magento Widget, you can show or hide specific fields according to the values of other fields? These are called dependencies, and are actually pretty easy to implement.read further ...

Remove the wrapping paragraph around a widget in Magento

When using widgets in Magento you’ve probably come across the following problem: Magento wraps it’s widgets in paragraphs. This is fine if you have a widget that is supposed to be an inline element, but when you’re using a widget to include a block-type element, you don’t want that anoying wrapping <p></p>  around your HTML. So read further ...