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

Shopware 6: Don’t make assumptions about paths and were your plugin lives

We have a template which generates documents for us. Unfortunately it broke with the following error: In short, the plugin tries to find vendor/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_2d_include.php. But it is looking in shared/vendor and not in /vendor. Why is this? Because we use deployer to throw code on the server and the custom/plugins directory is shared between the […]

Shopware 6, Deployer and broken themes

We run deployer to deployer our Shopware 6 shops in combination with shopware-cli and Shopware’s deployment-helper. But we had one problem, during deployment the old theme breaks, because compiling the theme regenerates the themeSeed on the database and the new theme is generated in another directory than the old theme. We thought about using Shopware’s […]

Symfony: Be careful with eventClass vs. eventName

The examples are from Shopware 6.5.6.1. Today I debugged code with my colleague Bruno. We had the problem, that our Subscriber triggers, but at the wrong moment. As Shopware developers, we often implement our subscribers using the eventClass. This method is commonly used „everywhere“ … Well, not entirely… One small village of indomitable Gauls still […]

Deploying Shopware with Deployer – A Starter Guide

I had the pleasure to give a workshop today at the Shopware Community Day 25 in Cologne. To not forget it, here are the slides: And here is the repository with the current code: https://bitbucket.org/winkelwagen/deployer-pub/src/sw-workshop/ If you have any questions, feel free to comment and I’ll update the blog post!

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

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

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: Breadcrumb and Main Category

I’m a developer, therefore I’m living in the code and not the admin area of Shopware. I’m starting this post with this disclaimer, because So back to topic! Breadcrumb Shopware has a breadcrumb menu, which shows you where you are inside the category tree. The interesting question is, which category is used, if the product […]

Shopware: Redirect old URLs

We migrated a Magento to Shopware and one of the things we had to do is find a solution to redirect the old URLs. Easy solution: VHost config Most of the time you can just add them to the VHost config, so they are loaded once with the apache and used by the apache. No […]

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

12345...»
  • Winkelwagen – an ecommerce agency
  • Contact us
  • Impressum

Winkelwagen GmbH
Crailsheimer Str. 10
12247 Berlin

info@winkelwagen.de

Mastodon
Linkedin Logo