Custom block with store configuration options in Magento 2

Often clients want to enable/disable or modify some blocks or contents. Let me show you how to implement custom block and add store config options for it through simple module. We’ll create a quick module named “Mymodule”.

Continue reading Custom block with store configuration options in Magento 2

Using RequireJS in Magento 2 (Implementing OWL slider)

By default, Magento 2 themes have a lot of built-in storefront features. We can further customize them via various JS libraries. Let me give you some info about adding custom JS library to new Magento 2 theme. Magneto 2 brings new feature called RequireJS. New Magetno 2 has better perceived page loading time through the RequireJS because it allows JavaScript to load in the background (asynchronous or “lazy” JS loading). Additional information you can find here.

Continue reading Using RequireJS in Magento 2 (Implementing OWL slider)