Magento Development Blog - Page 24 | Magento Company

Blog

Guides, tutorials and best practices from the Magento Company team.

Dependency injection in PHP traits
Catalog PHP

Dependency injection in PHP traits

Understanding Dependency Injection in PHP Traits In the world of object oriented programming (OOP), traits offer a powerful way to share

19 October 2026 · Stefan Bogdanescu
Subcategories in layered navigation filter
Catalog Database

Subcategories in layered navigation filter

Enhancing Layered Navigation Filters: Displaying All Subcategories As an e commerce developer, you often need to optimize your layered navigation filters

19 October 2026 · Stefan Bogdanescu
Need to redirect a POST to an API call to another domain
Database Security

Need to redirect a POST to an API call to another domain

Redirecting POST Requests from One Domain to Another: A Comprehensive Guide When dealing with API integrations between domains, you may

19 October 2026 · Stefan Bogdanescu
How to solve problem conflicts with your root composer.json require?
API Extensions

How to solve problem conflicts with your root composer.json require?

Title: Solving Composer Conflicts Related to Package Dependencies Introduction: As a developer using Composer as your dependency manager, you may

19 October 2026 · Stefan Bogdanescu
Integer or String for a phone number?
Database PHP

Integer or String for a phone number?

Title: The Great Debate: Storing Phone Numbers as Strings or Integers A Developer's Perspective Introduction Phone numbers are an integral part of our

19 October 2026 · Stefan Bogdanescu
PHP foreach loop skip first 3 items
Catalog PHP

PHP foreach loop skip first 3 items

Handling Lists Within PHP Foreach Loops: A Practical Guide As developers, we often find ourselves dealing with iterative data structures like arrays

19 October 2026 · Stefan Bogdanescu
sudo composer install vs. composer install
Security Extensions

sudo composer install vs. composer install

Title: Understanding the Difference Between sudo composer install and composer install Body: Composer is an essential tool for managing dependencies

19 October 2026 · Stefan Bogdanescu
Toggle dropdown mini-cart when product added to basket
Checkout Catalog

Toggle dropdown mini-cart when product added to basket

Toggling the Dropdown Mini Cart When Product Added to Basket Introduction As an e commerce store owner or developer, you understand the importance

19 October 2026 · Stefan Bogdanescu
Route and view naming conventions
Cron

Route and view naming conventions

Title: Route and View Naming Conventions for Simplicity and Clarity Body: Route naming conventions are crucial in maintaining the organization of your

19 October 2026 · Stefan Bogdanescu
Why soft deleted entities appear in query results?
Database API

Why soft deleted entities appear in query results?

Title: Understanding Soft Deleted Entities and Their Appearance in Query Results The "soft delete" concept is an important feature in modern

19 October 2026 · Stefan Bogdanescu
Carbon - why addMonths() change the day of month?
PHP

Carbon - why addMonths() change the day of month?

Title: Understanding Carbon's AddMonths() Behavior and Handling Date Adjustments Introduction: Carbon is an open source PHP library for working with dates

19 October 2026 · Stefan Bogdanescu
How do I detect if a category has Include in Navigation Menu set to NO?
Catalog Database

How do I detect if a category has Include in Navigation Menu set to NO?

Detecting whether a category is excluded from the navigation menu in WordPress requires accessing and checking the database directly or using

19 October 2026 · Stefan Bogdanescu

Our network