Magento2 – Add a custom CSS class to the body element

Magento2 – Add a custom CSS class to the body element

Sometimes we need to customize the whole layout. We can do this by adding a custom class over the body element. For example, in order to specify the

Create Dynamic Custom Tabs on Product View Page

Create Dynamic Custom Tabs on Product View Page

Today I’m creating new post on request from one of my fellow. He asked me how can we achieve dynamic multi tabs at product view page using best

Magento2 – How to get Directory of a Module

Magento2 – How to get Directory of a Module

Here is the code how to load your module directory: