Tag: Magento (page 4 of 16)

Magento 2 – How to Get Customer Data By Customer ID

In this post I am going to explain how to get customer data by customer id Magento 2. Using below code snippet you can get customer data by passing customer id. Add below code snippet in Block class. protected $_customerRepository; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, array $data = [] ) { $this->_customerRepository =…

Magento 2.4 Release! What’s New?

Great News for Magento Community! The latest version of Magento 2.4 is Release. Magento Open Source 2.4 includes a wealth of new features as well as hundreds of enhancements and fixes to the core product. What’s New in Magento 2.4? Every new release of Magento version comes with new features & improvements and gives better…

How to Get Invoice Details by Invoice Id in Magento 2?

In this post I am going to explain how to get invoice details by invoice id in Magento 2. Using below code snippet you can get invoice details by passing invoice id. 1. Using Dependency Injection Add below code snippet in Block class. protected $_invoiceRepositoryInterface; protected $_logger; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Sales\Api\InvoiceRepositoryInterface $invoiceRepositoryInterface, \Psr\Log\LoggerInterface…

How to Configure Cron in Magento 2

In this article we’ll show you, how to Configure Cron in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration. Step 2: Configure Cron Now from sidebar, Go to Advanced > System. Now Expand Cron (Scheduled Tasks) section. Complete…

How to Optimize Resource Files in Magento 2

In this article we’ll show you, how to Optimize Resource Files in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration. Step 2: Optimizing Resource Files Now from sidebar, Go to Advanced > Developer. To optimize CSS files, Expand…

How to add your IP Address to Whitelist in Magento 2

In this article we’ll show you, how to add your IP Address to Whitelist in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration. Step 2: Add IP Address to Whitelist Now from sidebar, Go to Advanced > Developer….

How to Schedule Backups in Magento 2

In this article we’ll show you, how to Schedule Backups in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration. Step 2: Schedule Backups Now from sidebar, Go to Advanced > System. Now Expand Backup Settings. Do the following….

How to Create Backup via Admin Panel in Magento 2

In this article we’ll show you, how to Create Backup via Admin Panel in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, System > Tools > Backups. Step 2: Create Backup In the upper-right corner, click the button for the type of backup…

How to Change Index Mode in Magento 2

In this article we’ll show you, how to Change Index Mode in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, System > Tools > Index Management. Step 2: Change Index Mode Mark the checkbox of each indexer that you want to change. Now…

Older posts Newer posts