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

Troubleshooting – PHP Storm on Mac

A couple of weeks ago, PHP Storm started taking too long to perform the most simple tasks – even navigating through the file tree to find a specific location would trigger the Mac’s iconic spinning beach ball. My first suspicion had to to with the file indexing, but changing the setup and disabling file indexing […]

Symfony: Be careful with eventClass vs. eventName

The examples are from Shopware 6.5.6.1. Today I debugged code with my colleague Bruno. We had the problem, that our Subscriber triggers, but at the wrong moment. As Shopware developers, we often implement our subscribers using the eventClass. This method is commonly used „everywhere“ … Well, not entirely… One small village of indomitable Gauls still […]

Deploying Shopware with Deployer – A Starter Guide

I had the pleasure to give a workshop today at the Shopware Community Day 25 in Cologne. To not forget it, here are the slides: And here is the repository with the current code: https://bitbucket.org/winkelwagen/deployer-pub/src/sw-workshop/ If you have any questions, feel free to comment and I’ll update the blog post!

Bitbucket shell runner behaves weird – git clone fails

If your bitbucket shell runner is doing weird stuff, you might have started the runner two times – in my case under different users (root + winkelwagen) and therefore it didn’t show up when looking for the screen.

Troubleshooting proxy_pass with Safari

I setup a proxy pass to have the app on one server and the hostname terminate by DNS on another machine. Setting up a reverse proxy is pretty easy: But for some reason, Safari doesn’t like the response. The important part is to NOT pass the Upgrade header on to the backend machine – don’t […]

Magento 1: JSON in layout xml

Today I learned, one can use JSON in Magento 1’s layout xml. Tell Magento which action parameter are json and that’s it. You can tell Magento that only one parameter is json, like this. Then Magento decodes the json and uses it. I was very lucky to see it today, because I needed an array. […]

Magento 2: Use Amazon SES

This only works on Magento 2.4+ You want to use Amazon AWS Simple Email Service to send your transaction mails? It took a moment, but maybe you want to safe the struggle, let me tell you, what to configure: Go to Stores > Configuration > Advanced > System > Mail Sending Settings Configuration Value Transport […]

AWS SES Message rejected: Email address is not verified.

I configured one of our Magento 2 stage instances today to use Amazon SES to send emails instead of dumping them into mailhog. But I got the following error: Searching for the error shows that you are only allowed to send from emails which you identified and validated. That I did. I was sending from […]

Shopware 6: How to add dynamic content to a page

In Shopware 6, JavaScript functionalities are split in modular “plugins” – which are added to your usual Shopware plugin. This JavaScript functionalities are automatically initialized when the page loads. Once you get your head around the fact that your plugin has plugins inside it (inception!), we can say it’s quite straightforward — until you need […]

PHPStorm/IDEA, composer updates and 100% CPU

In one of our projects PHPStorm ran a while on 100% CPU, an investigation showed, that the process „checking for available composer updates“ ran and used all the resources. Most likely it got stuck somewhere. To get rid of the problem, one can turn off this feature. In IDEA Ultimate here: [Settings] -> Languages & […]

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 […]

gpg failed to sign the data

I was doing some work, when suddenly my git failed to commit changed. I dig a little around, asked StackOverflow but it didn’t help. Finally when running the commit manually and not through PHPStorm I got a proper error: Ah! The key is expired! Got it. Did you know you can extend a GPG key? […]

12345...10...»
  • Winkelwagen – an ecommerce agency
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo