1,496 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
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
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. ...
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&...
1
vote
1
answer
77
views
Order of overrides for administration components
What’s the order of how component overrides from plugins are applied in the administration?
So if two plugins override the exact same twig-block in the administration, which override comes first?
0
votes
1
answer
144
views
Theme all.css file on shopware 6.4.12.0 shows 404 - page rendered without styles
In my work shopware project I build the storefront and administration, the storefront loads with only html no styling applied, checking the source code it shows that it's trying to use:
https://to-d2c-...
0
votes
1
answer
77
views
Shopware 6 Plugin Activation Error: Class "SwagOktaSSO\Controller\AuthController" Not Found
I am creating custom plugin for Shopware 6. Below is zip file structure:
└── SwagOktaSSO/
├── src/
│ ├── Controller/
│ │ ├── AuthController.php
│ ├── Resources/
│ │ ├── ...
1
vote
1
answer
108
views
Tab content not showing after updating sw-tabs with mt-tabs
<mt-tabs
@new-item-active="setActiveItem"
:items="[
{
label: '1',
name: 'tab1'
},
{
label: '2',
name: '...
1
vote
1
answer
219
views
Trying to override component sw-text-editor in Shopware 6.7 RC
import './component/my-component'; is used in src/Resources/app/administration/src/main.js and within src/Resources/app/administration/src/component/my-component/index.js the code looks like this:
...
1
vote
1
answer
69
views
Do I still need getters and setters when using Entities via Attributes?
According to this page it is now possible and recommended to define entities without the use of getters and setters for the fields.
But when I define my Entity like this in "shopware/core": &...
0
votes
0
answers
80
views
Shopware 6 1062 error when trying to run a migration
Internal Server Error An exception occurred while executing a
query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate
entry 'swag_example_size' for key
'custom_field.uniq.custom_field....
0
votes
1
answer
188
views
Shopware 6 - Registering EntityDefinition in services.xml error
I'm following:
Shopware 6 - Developer Training Basic (EN)
From:
https://academy.shopware.com/courses/take/shopware-6-developer-training-english/lessons/9225171-entities
Service "Shopware\Core\...
0
votes
2
answers
104
views
Shopware API use parameters in request body
I can pass parameters like filters and limits to the Shopware Admin API by simply passing them in my URI: GET http://127.0.0.1:8000/api/order?limit=2. But I want to pass these parameters in my request ...