How to add non-category link to navigation menu in magento blog banner

In this post, I will be guiding you on how to add non-category link to the navigation menu in Magento 2. If you still think that the container navigation.sections which holds the category links it can be referenced and passing following arguments can create a new category link under navigation menu, you are highly mistaken. …

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 …

blog banner How to use Private Content or Sections in Magento 2

In this post, I will be guiding you on how to use private content or sections in Magento 2. Since private content is specific to individual users, it’s reasonable to handle it on the client side i.e. web browser. A section is a piece of customer data grouped together. Each section is represented by the …

How to change PAD length in order increment number in magento 2 blog banner

PAD length refers to the minimum number of additional zeros assigned to each order number as “padding” until the order number becomes higher than the chosen increment pad length. For example: Pad 3 = 001, 012, 123, 1234, 12345, 123456 Pad 4 = 0001, 0012, 0123, 1234, 12345, 123456 Pad 6 = 000001, 000012, 000123, …

How to add custom link in header links and top links in magento 2 blog banner

In this post, I will be guiding you on how to add our custom link in header links and top links. Header link will be displayed for both guest and logged in customer. But top links will only display if the customer is logged in. To add custom link in the header and top links, …

banner How to setup configuration setting for a module in Magento 2

Magento 2 provides a configuration system in its backend where we can create our own configuration setting as per the module requirement. We can go to Store->Setting->Configuration and check all the stored Magento configuration there. We can also add our own configuration menu and use them. Table: core_config_data All records of configuration are stored in …

Magento 2 How to attach a file in product admin form and display attachment in product detail page blog banner

In this post, I will be guiding you on how to attach a file in product admin form and display attachment in product detail page. Here we will be using Aureatelabs as the Vendor name and ProductAttachment as the name of the module.  You can change this according to your Vendor and Module name. Step …

blog banner How can I check which final preference class is used for any particular class

Preferences in Magento 2 are just like how rewrites are in Magento 1. They basically let you substitute one instance of a class for another, in the Magento 2. This is an extremely powerful feature, but also comes along with the same responsibility as of Magento 1. Basically, No two modules can rewrite the same …