Learn how to automatically recollect shipping rates after updating the cart item using javascript for refresh cart totals and update shipping rates, enhancing user experience in the checkout process.
Simplify your Magento 2 customer account menu by removing unnecessary links like Wishlist or Orders. This step-by-step guide shows you how to customize the menu using layout XML for a streamlined user experience.
A simple method for retrieving role permissions in Magento 2 based on role id using the PermissionProvider class.
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.
Learn how to retrieve the Admin URL in Magento 2 using the command line, programmatically, or via the database.
Fixing deprecated Functionality: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated
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.
Magento 2, an open-source e-commerce platform, offers a variety of tools for developers to create robust online stores. One such tool is the Helper class, a collection of methods that can be used globally. PHTML is a file extension for PHP files in Magento 2, and it’s where the HTML and PHP logic for a …
Discover the step-by-step process of removing sample data from your Magento 2 installation in my latest blog post. I’ll guide you through accessing your server, navigating to the Magento 2 directory, and using Magento’s command-line tool to remove sample data.
In today’s tutorial, we are going to learn how we can create CMS blocks programmatically in Magento 2.