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

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

Shopware 6: How to NOT trigger flows

Thanks to Melvin Achterhuis I learned last week, that there is a context state to avoid triggering flows. But you can not only add it to your API request as sw-skip-trigger-flow, but you can use it in your code as well. I didn’t test anything of this! But as you can see for example in […]

Shopware 6: Default layout or why are nearly(!?) all categories 404-ing!?!

Did I tell you about this awesome, huge migration we just did? Sorry – still happy about it. But a little story during the migration, we copied the whole staging database to the production system, everything worked fine, then we migrated the data and a few things got fucked up and unfortunately we don’t know […]

Shopware 6: Find a broken entity indexer

Yesterday I told you, that you can select the entities which are searched by default on the Shopware administration dashboard. That was a chance find, while debugging while the search doesn’t work at all. If you are running elastic/open search all entities which are searchable need an Indexer, a few hints how to do it, […]

«...678910...»
  • Winkelwagen – an ecommerce agency
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo