Magento 2 reindexing takes hours – MySQL deadlock and missing indexes
A shop with 50,000 products – full reindex took 6 hours and often ended with a deadlock error. Product prices and availability were updating with a delay. Fix time: 1 day.
- Published in Magento / Adobe Commerce
Magento 1 to Magento 2 migration – SEO data loss and 301 redirects
After migrating from Magento 1 to Magento 2, the shop lost 60% of organic traffic within 2 weeks. Ahrefs showed 4000 404 errors. Old product and category URLs were not being redirected. Fix time: 3 days.
- Published in Magento / Adobe Commerce
Magento 2 checkout – Place Order not working, cart resets
Customers reported they couldn’t place orders – clicking “Place Order” reloaded the page and the cart was empty. Orders were not reaching the system. The problem only affected card payments, bank transfer worked. Resolution time: 4 hours.
- Published in Magento / Adobe Commerce
Chain of Responsibility – multi-step validation, pipeline, middleware
Chain of Responsibility is a behavioural pattern in which a request passes through a chain of handlers – each can handle it, modify it, or pass it on. Ideal for multi-step validation, data processing pipelines and middleware. In Magento 2 this pattern is everywhere – in plugins, order pipelines and HTTP request handling. I show an implementation from scratch and three different chain variants.
- Published in Wzorce projektowe
