HowTo: Create a Shipping Method in Magento 2
A while ago I needed a flat, custom shipping method with a rate that depended on some of our own business rules. The native flat rate was not flexible enough, so I built a small custom …
Tag
29 posts tagged Blog
Clear tagA while ago I needed a flat, custom shipping method with a rate that depended on some of our own business rules. The native flat rate was not flexible enough, so I built a small custom …
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 …
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 …