Blogs In Magento 2 Tutorials

Latest news, tutorials, and best practices for Magento

Fixed: Exception Printing is Disabled by Default for Security Reasons in Magento 2
April 23, 2025
Fixed: Exception Printing is Disabled by Default for Security Reasons in Magento 2

Magento 2 shows the "Exception Printing is Disabled by Default for Security Reasons" error when an issue occurs, but detailed error messages are hidden for security. To view the full error, developers need to enable exception printing by modifying the report.php file or switching to developer mode.

How to Run Magento 2 Cron Job Manually via Command Line?
April 21, 2025
How to Run Magento 2 Cron Job Manually via Command Line?

This guide explains how to manually run Magento 2 cron jobs using the command line. It includes the necessary CLI commands and tips to troubleshoot common issues.

Magento 2: Add Customer Attribute Programmatically
April 20, 2025
Magento 2: Add Customer Attribute Programmatically

This guide explains how to add a custom customer attribute programmatically in Magento 2 using a setup script. It covers creating the attribute, configuring its properties, and making it visible in forms like the admin panel or customer account pages.

Magento Commerce Cloud: Everything You Need to Know
April 16, 2025
Magento Commerce Cloud: Everything You Need to Know

When it comes to eCommerce success, choosing the right platform is one of the most important decisions you’ll make. Over the years, there has been an increase in the number of eCommerce platforms, but Magento remains a highly popular choice

Magento 2.4.8: The Ultimate Update for eCommerce Excellence
April 11, 2025
Magento 2.4.8: The Ultimate Update for eCommerce Excellence

Magento 2.4.8 is a powerful update focused on enhancing eCommerce performance, security, and functionality. It introduces critical security patches, performance improvements, and updated platform support, making it a must-have upgrade for online retailers aiming to deliver a faster, safer, and more reliable shopping experience.

A Step by Step Guide to Installing Hyvä Theme in Magento 2
March 20, 2025
A Step by Step Guide to Installing Hyvä Theme in Magento 2

This step-by-step guide walks you through installing the Hyvä theme in Magento 2, covering prerequisites, installation commands, and configuration steps to optimize performance and design.

How to Get Base URL in Magento 2 With or Without Store Code?
March 19, 2025
How to Get Base URL in Magento 2 With or Without Store Code?

In Magento 2, you can get the base URL from the admin panel under Stores > Configuration > General > Web. To retrieve it dynamically, Magento provides options to include or exclude the store code based on store settings. You can also access it programmatically through Magento’s store manager or URL interface.

Как получить базовый URL в Magento 2 с кодом магазина или без него?
March 19, 2025
Как получить базовый URL в Magento 2 с кодом магазина или без него?

В Magento 2 вы можете получить базовый URL из панели администратора в разделе Stores > Configuration > General > Web. Для его динамического получения Magento предоставляет опции для включения или исключения кода магазина на основе настроек магазина. Вы также можете получить к нему программный доступ через менеджер магазина Magento или интерфейс URL.

How To Add Pagination to Custom Collection in Magento 2?
March 13, 2025
How To Add Pagination to Custom Collection in Magento 2?

Learn how to add pagination to a custom collection in Magento 2 using setPageSize() and setCurPage() methods. This helps improve performance and user experience by loading data in manageable chunks.

A Step by Step Guide to Changing Order Number in Magento 2
March 12, 2025
A Step by Step Guide to Changing Order Number in Magento 2

Changing the order number in Magento 2 requires modifying the database and configuration settings. You can achieve this by updating the sales_sequence_profile table, using a custom module, or utilizing an extension. Always back up your database before making changes to avoid potential issues.