HowTo: Create Extension Attributes in Magento 2
Extension attributes are one of those Magento 2 concepts that sound complicated but click the moment you use them once. They let you add data to an existing entity (an order, a customer, a …
Tag
20 posts tagged HowTo
Clear tagExtension attributes are one of those Magento 2 concepts that sound complicated but click the moment you use them once. They let you add data to an existing entity (an order, a customer, a …
Recently I faced the situation where I needed the information of a second table in my collection and the first thought that crossed my mind was let’s rewrite the collection to add my own …
Recently I was tasked to create an admin grid to let users manage the records of a custom entity from the backoffice. Although I had read and heard plenty about it, I had never had the …
To be able to output warnings, error and notice messages in our modules we have to use the following interface \Magento\Framework\Message\ManagerInterface. The best way to use it is through …
Every now and then you need to embed a grid inside a form, think of the “add products to a category” screen, where a listing lets you tick the records you want and the selection is stored …