PHP / Magento Dev Blog

  • Home

Preparing your Magento store for peak traffic: Black Friday, seasonal sales

  • 0
Henryk Tews
Monday, 03 August 2026 / Published in E-commerce

A store that cannot handle traffic peaks loses money at the best possible moment. Black Friday, Cyber Monday, seasonal sales, sending a newsletter to 100,000 subscribers – these are moments when traffic in an hour can increase 10-fold. Preparing for peaks is not a matter of “if” but “when”.

(more…)

Magento 2 – invisible CSS z-index bug caused 40% conversion drop

  • 0
Henryk Tews
Sunday, 02 August 2026 / Published in Magento / Adobe Commerce

The shop was running normally, but conversion suddenly dropped 40% in a single day. Google Analytics showed traffic at normal levels. The problem was invisible to the naked eye – only at a specific screen size did checkout buttons overlap and become unclickable. Diagnosis time: 3 hours, fix time: 30 minutes.

(more…)

Magento 2 – expired payment gateway API key detected too late

  • 0
Henryk Tews
Wednesday, 29 July 2026 / Published in Magento / Adobe Commerce

The shop stopped accepting card payments on Saturday night. Monitoring did not detect the problem because the site was working – only checkout was broken. Customers received a generic “Payment cannot be processed” error. Several hours of sales were lost before a report arrived Monday morning. Fix time: 45 minutes after the report.

(more…)

GraphQL custom resolver in Magento 2 – schema, authorisation, tests

  • 0
Henryk Tews
Wednesday, 29 July 2026 / Published in Magento / Adobe Commerce

GraphQL in Magento 2 is not just a read API – you can add your own types, queries and mutations. A custom resolver is a PHP class responsible for fetching data for a given field or query. I show a complete implementation: GraphQL schema, resolver with authorisation, error handling and integration tests. Using a query fetching customer order history with filters as the example.

(more…)

Magento 2 Headless and PWA: when the investment makes sense and when it is overkill

  • 0
Henryk Tews
Monday, 27 July 2026 / Published in E-commerce

Headless commerce and PWA (Progressive Web App) are fashionable terms in e-commerce. Agencies are happy to recommend them – often regardless of whether they actually solve the client’s problem. Below is an attempt to answer when headless makes sense and when it is overkill.

(more…)

Magento 2 headless – CORS errors when calling REST API from React/Vue

  • 0
Henryk Tews
Sunday, 26 July 2026 / Published in Magento / Adobe Commerce

A new React frontend could not communicate with the Magento REST API. Every AJAX request ended with a CORS error in the browser console. The backend worked correctly when tested through Postman or curl. Fix time: 2 hours.

(more…)

Magento 2 REST API slow – missing pageSize and wrong filtering

  • 0
Henryk Tews
Friday, 24 July 2026 / Published in Magento / Adobe Commerce

An ERP integration with the shop via REST API was getting slower over time. Fetching the orders list via API took 45 seconds. The endpoint was returning the entire order history instead of the last 24 hours. Fix time: 3 hours.

(more…)

Magento 2 missing product images after server migration

  • 0
Henryk Tews
Wednesday, 22 July 2026 / Published in Magento / Adobe Commerce

After migrating the shop to a new server, product images were not displaying – grey placeholders instead. The database had file paths, but the files did not exist on disk. Fix time: 5 hours.

(more…)

Command pattern – command queue, undo/redo, Magento 2 MessageQueue

  • 0
Henryk Tews
Tuesday, 21 July 2026 / Published in Wzorce projektowe

The Command pattern encapsulates a request as an object, allowing operations to be parameterised, queued, logged and undone. In Magento 2 this pattern is the foundation of the MessageQueue system – each message is a Command executed asynchronously by a consumer. I show the implementation from the classic version through to integration with the Magento queue.

(more…)

Red flags in a Magento agency offer: what to watch out for before signing

  • 0
Henryk Tews
Monday, 20 July 2026 / Published in E-commerce

Choosing an agency for a Magento implementation is a decision that affects several years of business. A bad choice is not just overpaying – it is a project that does not reach completion, a store that does not work as it should, and running from agency to agency to fix a predecessor’s mistakes. Below are signals to watch out for before signing a contract.

(more…)

  • 1
  • 2
  • 3
  • 4
  • 5

© 2026 Created by

TOP
Zarządzaj zgodą
Aby zapewnić jak najlepsze wrażenia, korzystamy z technologii, takich jak pliki cookie, do przechowywania i/lub uzyskiwania dostępu do informacji o urządzeniu. Zgoda na te technologie pozwoli nam przetwarzać dane, takie jak zachowanie podczas przeglądania lub unikalne identyfikatory na tej stronie. Brak wyrażenia zgody lub wycofanie zgody może niekorzystnie wpłynąć na niektóre cechy i funkcje.
Funkcjonalne Always active
Przechowywanie lub dostęp do danych technicznych jest ściśle konieczny do uzasadnionego celu umożliwienia korzystania z konkretnej usługi wyraźnie żądanej przez subskrybenta lub użytkownika, lub wyłącznie w celu przeprowadzenia transmisji komunikatu przez sieć łączności elektronicznej.
Preferencje
Przechowywanie lub dostęp techniczny jest niezbędny do uzasadnionego celu przechowywania preferencji, o które nie prosi subskrybent lub użytkownik.
Statystyka
Przechowywanie techniczne lub dostęp, który jest używany wyłącznie do celów statystycznych. Przechowywanie techniczne lub dostęp, który jest używany wyłącznie do anonimowych celów statystycznych. Bez wezwania do sądu, dobrowolnego podporządkowania się dostawcy usług internetowych lub dodatkowych zapisów od strony trzeciej, informacje przechowywane lub pobierane wyłącznie w tym celu zwykle nie mogą być wykorzystywane do identyfikacji użytkownika.
Marketing
Przechowywanie lub dostęp techniczny jest wymagany do tworzenia profili użytkowników w celu wysyłania reklam lub śledzenia użytkownika na stronie internetowej lub na kilku stronach internetowych w podobnych celach marketingowych.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Zobacz preferencje
  • {title}
  • {title}
  • {title}