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

PHPStorm: PHPUnit setUp and tearDown at the top of your class

If you are like me, you prefer your setUp and tearDown methods in your PHPunit tests to be at the top of your classes, so it is easy to see what is going on. But PHPStorm orders it’s methods by default by modifiers, which makes setUp and tearDown normally end up at the bottom. But […]

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

Adding Smart Download Links to Your Product Pages in Shopware

One of our recent projects involved a unique request from a client: They needed a download link for a ZIP archive containing relevant information for each product on their Shopware site’s listing pages. However, the catch was to only display this link if the ZIP archive actually existed on the server. In other words, we […]

Ruby as a PHP developer

I wrote my first pull request into a Ruby project! Although I never coded ruby before, it does what it should ? As a PHP developer, the most important part was to get debugging output. I tried to make a debugger work, but it didn’t. So back to „var_dump debugging“… var_dump in Ruby I had […]

Jekyll/Github Pages/Docker: Add dependencies

As I told you two days ago, I’m working on this Jekyll page. To generate the thumbnails I needed Imagemagick, but because jekyll doesn’t work on my local mac anymore (don’t ask why – I have no clue) I just found a docker images with does great work – thanks Bret Fisher! But unfortunaley or […]

Jekyll/Github Pages: Thumbnail images

I’m currently helping a friend of mine to setup their own homepage. In the beginning I thought it is a good idea to save on money for hosting and use github pages. The consequence is, that we need to setup the base on our own and once that is set, she can write the posts […]

Shopware: Configuration does NOT default to current sales channel!

I just had a nice call with Bruno, one of our developers. He added a small snippet in one of our plugins: I told him, he can omit the salesChannelId, because Shopware takes the current, if no is passed. He disagreed, so I dig down – and he is right! Deep down in the call […]

Symfony/Shopware: Get useable queries

I hope all of you know the debug toolbar which can be installed with Symfony. One of the big problems – until today for me was, that the query parameters are shown as UTF-8 binary strings, which is not helpful. Today I learned, that under each of these queries you have four buttons: And the […]

Symfony/Shopware: Debug CLI commands

Did you know you can access the web developer toolbar after running a PHP CLI command? Unfortunately it seems, there are no queries collected in Shopware? But one get a little output, hopefully it helps you!

Shopware: Caching on dev

Time to share the pain of today. We are running on ddev. Which is an awesome piece of technology, with an awesome person behind it: Randy Fay. Something is weird For a while I had a weird feeling, that something is odd. It was hard to debug some of our projects, but I didn’t find […]

Migration: Find customer which can’t login, because they have multiple accounts

When migrating multiple Magento websites to Shopware 6 via migrations assistant, you can end up with the same customer account (aka email address), not being a guest and no sales_channel attached. To find the customers, you can run the following SQL query, it will show you the email address, the ids of the customer rows […]

Shopware: Don’t reuse variables – webpack(!?)

Good morning! We submitted our payment plugin once again, Shopware’s review can be stressful, or in other words: They are doing an amazing job finding bugs. What is going on? I have no clue. Even worse – it seems like ALL frontend plugins are broken. How to know this? You can run in your browser […]

«...34567...10...»
  • Home
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo