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 inContinue reading “Shopware 6: How to NOT trigger flows”
Tag Archives: api
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 knowContinue reading “Shopware 6: Default layout or why are nearly(!?) all categories 404-ing!?!”
Shopware 6: How to URL
A colleague wrote a plugin and the customer said, the translation doesn’t work. Our plugin loads more data via a form and AJAX. The problem: Always queries base url The problem is, that our JS plugin always queries the base url https://example.com instead of https://example.com/en so Shopware didn’t had any chance to find the correctContinue reading “Shopware 6: How to URL”
Shopware 6: Services in the admin
We are currently implementing a payment plugin, and one of the things we want to have is a button to test the configuration. So we need to make an AJAX call to the PHP “backend”, which is all API driven in Shopware 6. Shopware is offering a nice way to do this: The ApiService implementedContinue reading “Shopware 6: Services in the admin”
Shopware: Landingpage outside of Shopware and “add to cart”
First things first: Don’t. This is a bad idea, because it lacks tracking, cookie consent and most likely more things, you just get for free if you implement either just a nice landing page inside of Shopware or if you need more liberty have your own controller and template (with all the benefits, like extendingContinue reading “Shopware: Landingpage outside of Shopware and “add to cart””
Shopify: Update Variant prices for markets/countries
We want to update prices for a Variant for a single market, but my research says, that neither Shopify itself can do this via CSV import, nor the awesome Matrixify App we use. But the Matrixify support says it should work. I couldn’t make it work, but give it a try! So I dig intoContinue reading “Shopify: Update Variant prices for markets/countries”
Shopify private app – get started
The documentation of shopify APIs is pretty good. Unfortunately I failed miserably to authenticate – and this is because from my point of view the naming of the PHP client is wrong – at least for private apps. Big shout out to Fatih Samur whos blog entry helped me a lot! This is the appContinue reading “Shopify private app – get started”
Migrating passwords from your old store to Shopify/BigCommerce/any SaaS …
It is not possible – isn’t it? Shopify is stating on their webite, that they can’t import passwords and the recommended way to migrate customers is to send them an invite/activation link. I’m sure you can imagine that you’ll lose a lot of customer accounts by doing this. That means as well you might loseContinue reading “Migrating passwords from your old store to Shopify/BigCommerce/any SaaS …”
Shopware 6: Cannot access private property Namespace\Class::$property
You have this error? More trace is at the end of the post. The properties of your Entity need to be protected.
Shopware 6 and Paw
If you prefer Postman, Matthias Zeis wrote about it! I’m just writing a little plugin and for some reason the API is not returning the seo_urls on a product – once I fiddled out the reason for that hopefully I write another blog post. But for the moment I need to debug the Shopware 6Continue reading “Shopware 6 and Paw”