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

Shopware 6: Fix migrated customers with multiple accounts across sales channels

Shopware: 6.5.6.1, but more important MySQL 8! We migrated a Magento 1 store to Shopware. One of the downsides we discovered later is, that all customers were unrestricted about sales channels. That is especially a problem, because some customers have more than one account and because all accounts are attached to all sales channel, they […]

Shopware 6.6. + Vue 3

As written in the last blogpost, we had the problem, that we had a object chain which somewhere in between was null and therefore threw an error. Null safe operator In PHP I would fix the problem the null safe operator ?->. And the same exists in JavaScript: ?. . Available in Vue 3 The […]

Shopware 6: Entity Extension without properties?!

Shopware Version: 6.5.3.3 Today morning we sat with three of our developers together to debug a weird behaviour of one of our plugins. Let me tell you: If you need three people to debug weird behaviour, which normally is no problem and you just write it down, it is always the small things. The problem […]

Shopware 6: Migrations and missing data

Shopware Version 6.5.7.3 We have a couple of plugins on the Shopware store, one of them is an addition and filter for invoice numbers on the order grid in the administration. In December we got a very nice support ticket from Sebastian working at dot21.net. We have a bug, that the order list is not […]

Shopware 6: How to NOT extend … non-entities

We have a feature to implement: We need multiple groups for customers. And because we already have good experience with tags, we implement it with tags. Customer is part of a band? Cool, give them the tag „Die Prinzen„. They are part of multiple bands? No problem, tag them with „Versengold“ also. Do I just […]

Shopware 6: Easy errors/validation on checkout and flash message

One of our customers needs sometimes a file uploaded on the checkout. In our other checkout posts, we explained, how to change the checkout and why it is so easy in Shopware <3 I don’t want to dive into details of the upload, if you want to read about it, leave a comment or drop […]

Apache: Writing and debugging RewriteRules

Yesterday I had to improve RewriteRules. We redirected the old Magento 1 /catalogsearch/ search urls to the homepage. Yesterday the penny dropped and we decided to redirect it to the Shopware search ? How to do this you asked? But more important to me is, how to implement this. Stackoverflow helps, the documentation from Apache […]

Shopware 6: Regenerate ALL Thumbnails

Shopware Version 6.5.6.1 Generate Media Types First: Make sure, the media file knows what thumbnails needs to be generated, to do this, you run: More about this can be found here over at anse.de – Especially a shortcut if: If you have at least one image of each file extension in your media table, you […]

Shopware 6: Elastic/OpenSearch score is ignored

Today I had the job to check out, why the search results of a customer are so weird – and even weirder if you use more concrete search terms. The consequence is, that if you search for „washing machine“ you get a ton of washing machines, but if you search for „washing machine $brand“, you […]

git: Cleanup old/empty branches

I’m using zsh and therefore I have a .zshrc one of the things I have in my .zshrc is a small function to cleanup old git branches: If you copy the above code snippet to your .zshrc, .bashrc or .profile you can call git-cleanup and the code runs. This function deletes all local branches which […]

Shopware 6: Redis but still slow?

TIL: If you are using Redis and the RedisTagAwareAdapter, which is the default if you want to use tags while caching, then you MUST use a max memory setting which either starts with volatile- or is noeviction. https://github.com/symfony/symfony/blob/1d68ce9b802701e9fd0d0f13d8610f816e2c67b1/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php#L88 That alone is not a reason to write a blog post about, but this is: DIE IST […]

Shopware 6: How to index

Today I learned how the indexer worked. I knew already, that while indexing in the backend you can decide which indexer not to run. But what I didn’t know, it is the same on the CLI with dal:refresh:index. If you look into the cli command help we can check the options: We are interested in […]

«...45678...»
  • Home
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo