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

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

Magento 2 UIComponent doesn’t show template

Small hint from our daily life as developers: If your default template for your ui component doesn’t show up, it might be, because you overwrote it in your template 😉 So you defined your default template like this: But then you overwrite it in your layout xml, like view/frontend/layout/checkout_index_index.xml I tried to cleanup the XML […]

Find all installable shopware store packages via composer

A neat little oneliner if you (like me) sometimes want to install a package via composer but only have the link to the store.shopware.com website for this package. This will still not help you to exactly find it, but at least it will ease up the search. This will find all packages that have store.shopware.com […]

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

JIRA: Change filter permissions

I’m repeating myself: It is always the small things. I just had a very nice Zoom call with an employee of Atlassian. He showed me, that I’m a little dumb and Atlassian JIRA has an annoying UX issue. TL;DR: You need to click Add before saving a new permission! We have a filter we want […]

Magento 2, PHPUnit and magic methods

One can’t mock magic methods in PHPUnit, because of this error. Trying to configure method „getTrackingSent“ which cannot be configured because it does not exist, has not been specified, is final, or is static So my workaround until now was to mock __call, like so: This is okay, if one needs only one or maybe […]

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

12345...10...»
  • Home
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo