How to prevent omit category path from product URL to access the product page blog banner

Let me discuss one interesting problem which I faced with Magento 2. In Magento 2 Store, I’ve faced an issue with the product URL to access the product page. I need to remove the category path from the Product URL when I access any product page. I found one admin configuration in Magento Admin at …

blog banner Theme Development Best Practices

Magento theme structure Storefront custom themes are located at the app/design/frontend/<Vendor>/ directory. Magento built-in themes are located at the vendor/magento/theme-frontend-<theme_code> directory when magento is installed using composer. The structure of a Magento theme directory theme.xml file Create theme.xml file to initialize the theme. It contains theme title, the preview image of theme, parent theme from …

How to change the Magento 2 configuration from the CLI command blog banner

In this blogpost, I will guide you how to change the Magento 2 configuration from the CLI command. So without wasting much time, lets dive in to the post. We can set any configuration options from the command line. Before installing Magento, one can set the configuration values for the default scope only, which is …

How to add a link in your account navigation for Magento 2 blog banner

Today you will be learning about how to add a link in your account navigation. First of all, you need to create customer_account.xml file in your theme or module. The path of this file is given below. If you want to add a link in your module, then the path should be app/code/<VendorName>/<ModuleName>/view/frontend/layout/customer_account.xml If you …

banner How to create and use language-pack component in Magento 2

If you are new to create a custom component in Magento 2 and if you are in the requirement to have a working language component, you landed up at the right place. In Magento 2, each component type has a different directory structure. To create a language-package component, we have to create a vendor directory and …

banner How to add a static block in a sidebar column Magento 2

Undoubtedly, Magento provides the store customization beyond we can think and implement. And as such comparatively, if you want to add a static block in the page content section then it’s not a big deal to achieve. However, to customize the sidebar column it requires a bit of tricky work from you. Following such practice to …

Recurring setup script in Magento 2 blog banner

The title “setup script” itself demonstrates that script files are utilized to execute some operations on the data or the table while installing or upgrading a module. You can find all the setup scripts files in a Setup folder which is located at:  Let’s dig deep and master more about what recurring script is and …