Magento Development Blog - Page 455 | Magento Company

Blog

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

How can I inject "customer session" model in an observer in Magento 2
Magento 2 Cache

How can I inject "customer session" model in an observer in Magento 2

How to Inject the Customer Session Model in an Observer in Magento 2 You're having trouble injecting the model into

21 August 2026 · Stefan Bogdanescu
get quote item id after adding product to cart
Checkout Catalog

get quote item id after adding product to cart

Getting Quote Item ID After Adding Product to Cart When you add a product to your cart in Magento, you might need to update a database field

21 August 2026 · Stefan Bogdanescu
How can I change a customer store_id in Magento or set the "created_from" attribute when creating a new customer
API Admin

How can I change a customer store_id in Magento or set the "created_from" attribute when creating a new customer

Changing Customer Store Association on Magento Account Creation As an e commerce administrator, you may find yourself needing fine grained control over

21 August 2026 · Stefan Bogdanescu
Magento pass current product ID to module
Catalog Cache

Magento pass current product ID to module

Optimizing Magento Product ID Retrieval for Custom Modules In Magento, retrieving the current product ID within your custom modules can be a bit

21 August 2026 · Stefan Bogdanescu
Magento Product Collection exclude category
Catalog Database

Magento Product Collection exclude category

Excluding Categories from Magento Product Collections As an e commerce developer, you often need to filter product collections based on specific

21 August 2026 · Stefan Bogdanescu
How do I recover a deleted customer from Magento?
Database API

How do I recover a deleted customer from Magento?

Recovering Deleted Customers in Magento: A Step by Step Guide Accidentally deleting a customer record from your Magento store can be frustrating.

21 August 2026 · Stefan Bogdanescu
Magento full page caching with varnish
Checkout Catalog

Magento full page caching with varnish

Magento Full Page Caching: Understanding Dynamic Blocks In Magento's caching architecture, full page caching plays a crucial role in boosting your

21 August 2026 · Stefan Bogdanescu
Resizing with a max width/height while keeping the original ratio using Intervention Image in Laravel
Magento

Resizing with a max width/height while keeping the original ratio using Intervention Image in Laravel

Mastering Aspect Ratio Resizing with Intervention Image in Laravel As developers working with web assets, one of the most common tasks we face is

21 August 2026 · Stefan Bogdanescu
Creating configurable products programmatically - pricing_value not saved
Catalog Configuration

Creating configurable products programmatically - pricing_value not saved

Solving the Configurable Product Pricing Value Issue Hello developers! Today we're diving into an issue that many of us have faced while working

21 August 2026 · Stefan Bogdanescu
Magento 1.7 customer_save_before observer
Magento 1 Extensions

Magento 1.7 customer_save_before observer

Magento 1.7 Customer Save Before Observer: A Comprehensive Guide As a senior developer working extensively with Magento platforms, I often encounter

21 August 2026 · Stefan Bogdanescu
CSS doesn't load after migration of magento website
Cache Database

CSS doesn't load after migration of magento website

Debugging CSS Loading Issues After Magento Migration Migrating an e commerce platform like Magento can be a complex task, involving multiple steps

21 August 2026 · Stefan Bogdanescu
Sage Pay 4021 Error
Admin Configuration

Sage Pay 4021 Error

The "INVALID. 4021 : The Card Range not supported by the system." error is one of the most common issues faced by Magento store owners when

21 August 2026 · Stefan Bogdanescu

Our network