How to Add a Custom Payment Method to Magento 2 Checkout

In this article, we will see how to implement a payment method rendering in Magento 2 checkout. Step 1: Create the .js component file It is important to note that you will be implementing the payment method renderer as a UI component. You should not overwrite the default Magento code, just add your customizations code …

How to extend existing jquery widget in Magento 2

This article will help you to understand how to extend an existing jquery widget in Magento 2. Sometimes, there may arise situations where a project requires specific/custom approach, in that case, developers need to modify the default logic. Let’s take an example where we will make certain changes to the main navigation javascript part. The …

banner How to generate a translation dictionary of a module in Magento 2

In this article, you will come to know how one can generate a translation dictionary of a module in Magento 2. You can generate a translation dictionary to use by itself (for example, to translate words and phrases in a custom module) or for use by a language package. Work with translation dictionaries To translate …

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 …

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 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, …

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 …