Tag: Magento 2 (page 1 of 26)

Magento 2 – Issue Fix – CRITICAL Error: Unable To Serialize Value

In this post I am going to explain How to Unable to serialize value. Error : After Magento 2 version upgrade error on check page is as below. “report.CRITICAL: Unable to serialize value. Error: Malformed UTF-8 characters, possible incorrectly encoded.” Please follow the steps to resolve this issue. 1. Create registration.php file at below Path…

Magento 2 – How to Set System Configuration Value Using CLI Command

The SSH access or Command Line Interface (CLI) provides facility for developers to run commands provided by Magento 2 extensions. In this post I am going to explain How to Set System Configuration Value Using CLI Command in Magento 2. Using below commands, you can set or display configuration values To set the value of…

Magento 2 – How to Identify Current Page Type in phtml File

In this post I am going to explain How to Identify Current Page Type in Magento 2. Sometimes when you are working on custom development in Magento 2 then, you need to know what the current type of page being viewed is. You can identify whether the current page is a category page, product page,…

Magento 2 – How to Add Admin Menu

In this post I am going to explain How to add Admin Menu in Magento 2 In Magento 2, we use the menu.xml to add the menu. Follow the steps to create Admin Menu in Magento 2. Step 1: Create menu.xml on below path and add the below content. Path: app/code/<vendor>/<module>/etc/adminhtml/menu.xml

Step 2: Add…

Top Magento Development Trends to Watch Out for in 2021

Website development has advanced manifolds in recent years as the popularity of digital marketing is growing rapidly. Every type of business can now profit from the online marketing trends, but it is important to have a specific website design suitable for the genre of the business. Magento as a platform is particularly gaining popularity because…

Best Free PWA Themes for Magento 2

Today we are highlighting the Best Free PWA Themes for Your Magento 2 Store. These themes typically offer great features. Using Free PWA Themes that are specially designed for Magento 2 can help them create a unique and functional website. Now, let’s take a look at some of the Best Free PWA Themes for Magento…

Magento 2 – How to Set Default Values for System Configuration Fields

In this post I am going to explain how to Set Default Values for System Configuration Fields in Magento 2. First we will make one “system.xml” file at below path. Path: app/code/<vendor>/<module>/etc/adminhtml/system.xml

Now, we need to set default values for above system config fields. For that add one file “config.xml” at below path. Path:…

Top 9+ Free Magento 2 Themes for 2021

In this article, we presents the Top 9+ Free Magento 2 Themes for 2021. They include responsiveness across all devices, easy navigation, captivating interface, and more. It will maximize your user’s interaction with your website.Here, you can find best Free Magento 2 Themes for stores . Now, Let’s check out… 1. Etrend Lite – Free…

How to Add Readonly Field in ui_component Form in Magento 2

In this post I am going to explain how to add readonly field in ui_component form in Magento 2. Check the below example code snippet to add readonly field in ui_component.

Here under “<settings>” tag “<disabled>1</disabled>” tag is used to make field readonly. Thats it. Enjoy Magento 2!! Team HiddenTechies Write an article about…

Magento 2 – How to Get Creditmemo Details by Creditmemo Id

In this post I am going to explain how to get creditmemo details by creditmemo id in Magento 2. Using below code snippet you can get creditmemo details by passing creditmemo id. 1. Using Dependency Injection Add below code snippet in Block class.

Add below code snippet in template file.

2. Using Object…

Older posts