Winkelwagen GmbH Logo
  • Services
  • Workshops
  • About
  • Blog
  • Jobs
  • Contact us

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

Testing: Drama numbers

Did you know there are special telephone numbers for tv shows and movies? But we can use them to use them for testing. Don’t use your or other real telephone numbers! Don’t use RANDOM because they might be belong to someone. Bad things might happen, if you do this. The same problem had someone creating […]

Shopware: How does the Category-Route work?

I wanted to write a blog post about the stack of the category and navigation route, but this draft is now laying around for months and I just looked it up, so to at least help you a little bit, here is the stack and the ProductListingLoader is where the products are loaded 🙂

Shopware 5: Empty snippet file

In DatabaseWriter.php line 75:You called write() but provided no data to be written This error occurs, when your snippet file does not contain snippets. In my case my file is living in src/Resources/snippets/plugins/backend/plugin.ini and looked like this: Which doesn’t look empty, but is ? I changed the file to this: But if you don’t need […]

Simple (Magento|Shopware) plugin release pipeline

We just finished a shipping plugin and were looking for a simple way to deploy it. Because we wanted to allow composer deployments having a git repository somewhere to get it from was already set, but the customer requested a link to a ZIP file. We already had a private and a public repository and […]

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

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo