Jigar KarangiyaJigar Karangiya

Blog

106 tutorials and deep dives on Adobe Commerce, Magento 2, and more.

Browse by topic


How to Enable Maintenance Mode in Magento 2?

Enabling maintenance mode in Magento 2 is a crucial step when performing updates or troubleshooting your store. This mode allows you to take your site offline temporarily, ensuring that customers don’t encounter issues during your work. In this guide, we’ll walk you through the process of enabling and disabling maintenance mode, and show you how to exclude specific IP addresses for testing.

How to Use ViewModel in Magento 2: A Simple Guide

Instead of stuffing your block classes with business logic, you can use ViewModels to handle specific tasks related to data processing and then pass this data to your templates. This approach keeps your code clean, organized, and more maintainable.