1,263 questions
Advice
0
votes
2
replies
37
views
Multi-sort the export file
I want to multi-sort the entire export file (lots of data) via the Shopware 6 command. The command accepts an input file, which is processed through fgetcsv() loop through and read the data from the ...
1
vote
1
answer
64
views
Doesn't Shopware 6 manage plugin dependencies during install/update?
I have the following plugins:
PluginAaaa
PluginBbbb (depends on PluginAaaa)
PluginCccc (depends on PluginBbbb)
Let's say that all 3 plugins were required by composer and all files are available in ...
0
votes
0
answers
47
views
Mirror Shopware Store in Private Artifactory
I want to access the plugins from the Shopware Store through a private JFrog Artifactory so that I don't have to share the Store Bearer Key with all Developers.
I have created a remote composer ...
0
votes
0
answers
76
views
system_config.yaml configuration for different sales channels
I am using system_config.yaml file for my staging environment, and I want to configure some values per specific sales channels. According to the docs, it should work, but on my end, I got an error: ...
0
votes
1
answer
73
views
How can I avoid clearing test-fixtures in Shopware accepte-test-suite
I am using https://github.com/shopware/acceptance-test-suite/ to run playwright tests. Part of this is that the test suite creates test users and cleans up those after the test passed or failed.
For ...
-1
votes
1
answer
49
views
How to change customerGroupId live?
I would like to create a small plugin (Shopware 6.7) that changes the customer group (with vat / without vat) via a toggle switcher in the frontend. The UI logic is already working, i store a session ...
0
votes
1
answer
68
views
Scheduled task with status failed never runs again
I have a couple of custom scheduled tasks. When the task fails(for example, because of a timeout from the API), the task has a "failed" status. The problem is that the task never runs again. ...
-1
votes
1
answer
136
views
How to update (upsert) products or customers via product / customer number instead of IDs? [closed]
I am using the Shopware 6 sync API.
I want to update a huge amount products, but don't know their IDs.
If I knew the ID I would make calls like
POST {{baseurl}}/api/_action/sync
{
"upsert-...
0
votes
1
answer
38
views
Upserting cross sellings via API including detachting old cross sellings
In a Shopware 6 API based import I want to set the cross sellings for a product, taking care of old data to be removed.
I don't want to fetch all old IDs first.
I know I can use criteria sync API ...
0
votes
0
answers
33
views
Matching Shopware properties by the name / shortName in one single call
When pushing a product to Shopware 6 sync API and I want to specify a unit, I need to set unitId.
There is the field unit.shortName, too.
Is there a smart way to push only the shortName and have ...
0
votes
1
answer
96
views
How can I translate product custom fields using the sync API?
I am creating products with the sync REST API endpoint. I have a few custom fields that require translation. How can I translate them when creating/updating the products?
My basic request to /api/...
2
votes
1
answer
79
views
Overwriting block layout_search_suggest_result_price from search-suggest.html.twig in Shopware has no effect
I am trying to remove the price block layout_search_suggest_result_price from the autosuggest search in Shopware v6.6.10.5.
The FroshDevelopmentHelper shows it as
BLOCK BEGIN ...
0
votes
1
answer
88
views
Event subscriber not triggered — no listeners registered for product.search.criteria event?
I am developing a Shopware 6 plugin with the goal of sorting product search results by a custom field custom_product_ranking. I implemented an Event Subscriber listening to the ...
1
vote
0
answers
57
views
Why are product children missing when fetching a single product via /store-api/product/PRODUCT_ID in Shopware 6.6?
I'm using Shopware 6.6 and encountering an issue with product associations:
When I use the /store-api/search endpoint like this:
POST https://localhost/store-api/search
Request body:
{
"search&...
0
votes
0
answers
32
views
Getting select box with order statuses in Shopware 6.7
I am developing a payment plugin for Shopware 6.7. Please tell me how to get a select box on the plugin settings page in the admin panel that will only contain order statuses.
Currently, I can get a ...