Winkelwagen GmbH Logo
  • SW Meetup Berlin
  • Services
  • Workshops
  • About
  • Blog
  • Jobs
  • Contact us

Custom Fields, dots and MySQL’s JSON_EXTRACT

We all know custom fields – hopefully – at least this is not about the basics. You can add custom fields to nearly all entites: orders, products, categories, … You can name them whatever you like, e.g. pluginname.property – but using dots . in your custom field name is a bad idea, because then you […]

ddev and old packages/PHP extensions

The newest redis PHP extension is unfortunately not compatible with older Shopware versions, showing an error like this: The current ddev version is installing it. And to have a lower version we can just set the package in config.yaml: Unfortunately apt-get which is running in the background of ddev inside the container doesn’t allow to […]

How to: Own PHP image

I read yesterday a discussion on phpc.social a Mastodon instance for the PHP community about docker images and how to make them work for you. Btw, all the following hard work is done by my great colleague Thomas Spigel. In our case, we want to use it for deployments, testing (especially cypress) and our newest […]

Symfony, AWS Lambda, APIGateway and custom domains with paths

We are currently developing an API to enrich PDF invoices with XML data called Zugferd. AWS API Gateway and custom paths We are hosting it on AWS Lambda to have it scalable and easy to maintain. One of the things we had to configure is to make it available under one of our domains, because […]

Shopware + PHPStorm: Easier Xdebug in administration

You are trying to debug your Shopware 6 but your breakpoints are hit all the time, because the admin worker is doing stuff and turning it off makes everything even worse? Just ignore most of the request with a condition on your breakpoint. In PHPStorm you can right click on a breakpoint and then click […]

PHP + PHPUnit: Don’t catch \Exception – because you don’t handle them properly

We implemented a payment extension for Montonio for Shopware 6 and while incorporating the feedback from the first Shopware code review I stumbled upon a weird bug in our unit test suite. It turns out the error I saw was not the error which happened. The problem For the payment extension we add a couple […]

Developer stories: IP databases

Time for a developer story. Background A little background: We are maintaining a pretty complex system which has a couple of stores attached for different countries and languages. Because it is Magento 1 it is slowly phased out and one of the remaining countries is Ireland. One of the features is, that we are sending […]

PHP: Be careful of the order of str_replace

Advent of code I’m currently playing around with Advent of Code 2023 – if you don’t know it yet and you like to code. Play around with a new language, new paradigm or just want to code – this advent calendar is four you! On the first day, you need to find the first and […]

Shopware: Landingpage outside of Shopware and „add to cart“

First things first: Don’t. This is a bad idea, because it lacks tracking, cookie consent and most likely more things, you just get for free if you implement either just a nice landing page inside of Shopware or if you need more liberty have your own controller and template (with all the benefits, like extending […]

Maxcluster: cluster-control restart PHP with deployer

Most of our customers are hosted on maxcluster. And thanks to their cluster-control one can automate a lot of things using it. For example restarting PHP after deployment. You don’t want this on a production environment, but sometimes it might make sense to have it on a stage machine.

A local dev environment in Windows 10 – Part II: Creating our first DDEV container

Introduction With Docker and DDEV-Local installed within our Linux distribution (Ubuntu), we are now going to create our first „DDEV container“ (which is actually a docker container created via DDEV, but for now, you really mustn’t be too worried about that). One important aspect to note here is that all the files we’re going to […]

  • Winkelwagen – an ecommerce agency
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo