Let’s say your company sells one product. This deserves the spotlight, right? Let’s say you want to give your product a prominent place in the topmenu. Since Magento 2 natively only supports adding categories to its topmenu, you’re up for a challenge! Today I’ll show you how to create a module which allows you to add products to your topmenu.
It isn’t hard to format price values in Magento 2. There are many (wrong) ways to achieve the correct formatting of prices — or any value — in Magento 2. But fear not, today I will provide you with the right, clean way to format any value to a price (with currency symbol).
About two years ago I wrote a tutorial on how to redirect simple products to their configurable parents with pre-selected attributes in Magento 1.9.x. Shortly after that Magento 2 was released and I’ve received some requests on how to do the same in the new version.
In this post I will explain to you how to build a module that will redirect simple products to their configurable parent product with automatically pre-selected configurable attributes.
Many people have complained on Magento Dev’s Github about a bug in Magento 2, which occurs when you try to pre-select configurable attributes by parsing the URL. It triggers an
Recently I created a Magento 2 module which imports data from a custom source, writes it to a custom database table and updates existing entities using a Custom Collection. Because I thought it might come in handy for other beginning Magento 2 developers, I’ll share it with you today.