Blog
How to Create a Custom Cache Class in Magento 2 with Tests
Learn how to create a custom cache class in Magento 2, implement caching logic, and write integration tests to ensure optimized performance and efficient data retrieval for your custom modules.
Modify .desktop Files with a Bash Script
Learn how to modify .desktop files in Linux using a Bash script. This guide includes a script to update the Exec line for Google Chrome with additional flags for enabling the Ozone platform and touchpad overscroll history navigation
Handling Google Analytics CSP Errors in Magento: Temporary Fix via Custom Module
Fix the EU Google Analytics CSP error in Magento allowing all hosts
Customizing Magento 2 Checkout UI Components with Per Website or Store Configuration
Learn how to customize Magento 2 checkout UI components with configuration settings scoped to specific websites or store views. Follow our step-by-step guide to enhance your Magento store's checkout experience.
Step-by-Step Guide to Setting Up a Cart Price Rule in Magento
Learn how to leverage Magento's catalog and cart price rules to create dynamic promotions and discounts. This guide covers setup, best practices, and advanced features, including a step-by-step example with screenshots to help you optimise your eCommerce strategy
Efficiently Retrieve Categories and Products Using Magento's Search Criteria API
Learn how to efficiently retrieve and manage categories and products using Magento's Search Criteria API. This guide provides step-by-step examples and detailed explanations to help you tailor your queries for optimal data retrieval.
How to Customize Layout XML in Magento 2 for Specific Websites or Store Views
Learn how to customize Magento 2 layout XML for specific websites or store views. Follow our step-by-step guide to apply conditional layout updates and add configuration settings to enable or disable blocks.
My Journey Through Linux: Discovering the Best Distro
Discover a seasoned Linux user's journey through various distributions, including Slackware, Debian, and Ubuntu, before returning to Debian for its stability and reliability. Explore challenges faced with hardware compatibility, Docker on macOS, and the search for the perfect Linux distro for development work
Enabling Swipe Gestures in Chrome and Firefox on Linux with Wayland
Magento 2 custom events
In Magento 2, you can create custom events by defining them in your module's `events.xml` file and dispatching them from your code where needed.