# Shopware 6 (English)

**URL:** https://forum.shopware.com/c/shopware-6-english/11.md?page=37

[Aktuelle](https://forum.shopware.com/latest.md) · [Kategorien](https://forum.shopware.com/categories.md) · [Schlagwörter](https://forum.shopware.com/tags.md)

**Page:** 38

---

## [I am making a plugin but i am facing some problems while making pages as i am not able to cope up with the various twig conventions and shopware classes for the designing of the page. is there a documentation or some othe links that may come helpgul?](https://forum.shopware.com/t/i-am-making-a-plugin-but-i-am-facing-some-problems-while-making-pages-as-i-am-not-able-to-cope-up-with-the-various-twig-conventions-and-shopware-classes-for-the-designing-of-the-page-is-there-a-documentation-or-some-othe-links-that-may-come-helpgul/86914)

<div class="topic-metadata">

**Author:** [@satvikshukla10122000](https://forum.shopware.com/u/satvikshukla10122000)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [17. April 2021 um 08:43 UTC](https://forum.shopware.com/t/i-am-making-a-plugin-but-i-am-facing-some-problems-while-making-pages-as-i-am-not-able-to-cope-up-with-the-various-twig-conventions-and-shopware-classes-for-the-designing-of-the-page-is-there-a-documentation-or-some-othe-links-that-may-come-helpgul/86914 "2021-04-17T08:43:04Z")

</div>

I am facing problems with the designing in twig files . and also how to authorize a user on some other site using the twig files. thanks

---

## [Web server giving error](https://forum.shopware.com/t/web-server-giving-error/86891)

<div class="topic-metadata">

**Author:** [@hasan.h](https://forum.shopware.com/u/hasan.h)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [15. April 2021 um 17:26 UTC](https://forum.shopware.com/t/web-server-giving-error/86891 "2021-04-15T17:26:34Z")

</div>

I made a custom plugin and now when I am trying to login to the test server, it gives me an error: „An error occured while loading the web debug“ When I did inspect element, the console is giving an error: „Failed to …

---

## [Limiting admin roles per sales channel](https://forum.shopware.com/t/limiting-admin-roles-per-sales-channel/86798)

<div class="topic-metadata">

**Author:** [@shopware\_imc](https://forum.shopware.com/u/shopware_imc)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. April 2021 um 13:17 UTC](https://forum.shopware.com/t/limiting-admin-roles-per-sales-channel/86798 "2021-04-12T13:17:58Z")

</div>

Is it possible to limit admin user roles per sales channel? For example, An admin role „group A“ should only be able to manage orders and customers of the „Sales Channel A“, similarly " Group B" should be only able to …

---

## [Call a PUT Method inside a POST Route](https://forum.shopware.com/t/call-a-put-method-inside-a-post-route/86682)

<div class="topic-metadata">

**Author:** [@Rakowu](https://forum.shopware.com/u/Rakowu)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [12. April 2021 um 11:43 UTC](https://forum.shopware.com/t/call-a-put-method-inside-a-post-route/86682 "2021-04-12T11:43:37Z")

</div>

Hey Everyonem, currently i’m trying to call a PUT Method inside a only allowed POST Controller. My plugin is just a Subscriber wich is attached to the Order Placement Event. From there i’m trying to call a Service with…

---

## [I created a shopware 6 plugin but when activating it, it shows cannot delete /var/cache/h97xxxxxxxxxxxxxx/ directory not empty](https://forum.shopware.com/t/i-created-a-shopware-6-plugin-but-when-activating-it-it-shows-cannot-delete-var-cache-h97xxxxxxxxxxxxxx-directory-not-empty/86687)

<div class="topic-metadata">

**Author:** [@satvik.shukla](https://forum.shopware.com/u/satvik.shukla)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [10. April 2021 um 13:17 UTC](https://forum.shopware.com/t/i-created-a-shopware-6-plugin-but-when-activating-it-it-shows-cannot-delete-var-cache-h97xxxxxxxxxxxxxx-directory-not-empty/86687 "2021-04-10T13:17:03Z")

</div>

projekte/treppe/var/cache/prod\_hd174669f24b5b5032ac120086360367c/pools/ONphTzeVip/Q): Directory not empty" after deleting this directory another one comes how to solve it?? thanks

---

## [Access plugin configuration variables in Js file?](https://forum.shopware.com/t/access-plugin-configuration-variables-in-js-file/66814)

<div class="topic-metadata">

**Author:** [@SannNL](https://forum.shopware.com/u/SannNL)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [9. April 2021 um 09:20 UTC](https://forum.shopware.com/t/access-plugin-configuration-variables-in-js-file/66814 "2021-04-09T09:20:58Z")

</div>

Hii so i access my plugin settings in a html.twig file trough this: {% if shopware.config.StickyHeader.config.activateStickyHeader %} But now i wanna access the same thing in a .js file but i cant figure out how. If i…

---

## [Passing variables to template in custom controller without GET/POST request params](https://forum.shopware.com/t/passing-variables-to-template-in-custom-controller-without-get-post-request-params/86750)

<div class="topic-metadata">

**Author:** [@renato.maretic](https://forum.shopware.com/u/renato.maretic)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [9. April 2021 um 08:42 UTC](https://forum.shopware.com/t/passing-variables-to-template-in-custom-controller-without-get-post-request-params/86750 "2021-04-09T08:42:32Z")

</div>

Hi there, I have a specific problem where I have to pass variable to template in custom controller, but I couldn’t use POST or GET request (reason being that function that’s doing redirect only sends GET request, and I …

---

## [Dev environment with docker](https://forum.shopware.com/t/dev-environment-with-docker/86744)

<div class="topic-metadata">

**Author:** [@benedikt.keil](https://forum.shopware.com/u/benedikt.keil)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [9. April 2021 um 07:43 UTC](https://forum.shopware.com/t/dev-environment-with-docker/86744 "2021-04-09T07:43:26Z")

</div>

The dev environment is a joke. Did you ever used docker? All you need to provide is a docker-compose file with versioned docker images. Please change that! Its way to complicated and needs too much time just to develop…

---

## [Signup form email](https://forum.shopware.com/t/signup-form-email/64802)

<div class="topic-metadata">

**Author:** [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Antworten:** 13\
**Zuletzt aktualisiert:** [7. April 2021 um 02:37 UTC](https://forum.shopware.com/t/signup-form-email/64802 "2021-04-07T02:37:51Z")

</div>

Hi Sign up form does weird stuff If you make up a very fake email throws an error Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients " Test email used (asdfasdfasdfklj…

---

## [Many To Many relationship with data in the association table](https://forum.shopware.com/t/many-to-many-relationship-with-data-in-the-association-table/86686)

<div class="topic-metadata">

**Author:** [@Miikro](https://forum.shopware.com/u/Miikro)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [6. April 2021 um 21:42 UTC](https://forum.shopware.com/t/many-to-many-relationship-with-data-in-the-association-table/86686 "2021-04-06T21:42:13Z")

</div>

Hi all, I am trying to make a bundle plugin with the possibility to add a quantity of products in the bundle. Bundle 1: Product 1 x X quantity Product 2 x Y quantity … I have created a bundle table, an association …

---

## [Custom fields with customer entity not showing the names](https://forum.shopware.com/t/custom-fields-with-customer-entity-not-showing-the-names/86589)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [31. März 2021 um 06:07 UTC](https://forum.shopware.com/t/custom-fields-with-customer-entity-not-showing-the-names/86589 "2021-03-31T06:07:02Z")

</div>

Custom fields with customer entity not showing the names The customer table does not have a name field. product and category have name fields. So the following function in the file /platform/src/Administration/Resourc…

---

## [How are categories and cms\_slot\_translation related?](https://forum.shopware.com/t/how-are-categories-and-cms-slot-translation-related/86577)

<div class="topic-metadata">

**Author:** [@Gunnarius](https://forum.shopware.com/u/Gunnarius)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [30. März 2021 um 11:50 UTC](https://forum.shopware.com/t/how-are-categories-and-cms-slot-translation-related/86577 "2021-03-30T11:50:48Z")

</div>

Hi, I want tu update a cms\_slot\_translation. I have a category\_id, but how is the category\_id related to the cms\_slot\_id? I looked at the database relations. But when I follow th category along over the cms tables I fi…

---

## [How to get products with images and price in custom page?](https://forum.shopware.com/t/how-to-get-products-with-images-and-price-in-custom-page/86564)

<div class="topic-metadata">

**Author:** [@magesture](https://forum.shopware.com/u/magesture)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [30. März 2021 um 07:18 UTC](https://forum.shopware.com/t/how-to-get-products-with-images-and-price-in-custom-page/86564 "2021-03-30T07:18:52Z")

</div>

Hello, I’m starting with developing Shopware modules and probably I don’t understand everything yet, and because of that, I’ve stuck. Maybe someone will be able to help me. I’m trying to get products on custom page by …

---

## [How to Access Parameters in the Body of POST Request in Controller](https://forum.shopware.com/t/how-to-access-parameters-in-the-body-of-post-request-in-controller/69160)

<div class="topic-metadata">

**Author:** [@coffeeman](https://forum.shopware.com/u/coffeeman)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [29. März 2021 um 10:59 UTC](https://forum.shopware.com/t/how-to-access-parameters-in-the-body-of-post-request-in-controller/69160 "2021-03-29T10:59:38Z")

</div>

Hello, I built an API endpoint via controller that accepts POST requests. Here is my code:

---

## [Extending Foot - unknown category\_url function](https://forum.shopware.com/t/extending-foot-unknown-category-url-function/86335)

<div class="topic-metadata">

**Author:** [@towo1977](https://forum.shopware.com/u/towo1977)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [26. März 2021 um 09:57 UTC](https://forum.shopware.com/t/extending-foot-unknown-category-url-function/86335 "2021-03-26T09:57:17Z")

</div>

I try to extend/modify the footer.html.twig i copied the twig to modify it in my theme. at calling frontend i get error 500 cause of „unknown category\_url function“ which is in original File do i have to include somet…

---

## [Configuration management across environments (dev,test, acceptance, production)](https://forum.shopware.com/t/configuration-management-across-environments-dev-test-acceptance-production/86478)

<div class="topic-metadata">

**Author:** [@SuperDiglett](https://forum.shopware.com/u/SuperDiglett)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [25. März 2021 um 13:33 UTC](https://forum.shopware.com/t/configuration-management-across-environments-dev-test-acceptance-production/86478 "2021-03-25T13:33:18Z")

</div>

Hi Everyone, I’ve been playing around with Shopware 6 for a little amount of time just to test the waters and I am wondering what the best practices are regarding shop configuration across environments. A sorts of confi…

---

## [Child category level 3 not constains in child array](https://forum.shopware.com/t/child-category-level-3-not-constains-in-child-array/86473)

<div class="topic-metadata">

**Author:** [@Pawel](https://forum.shopware.com/u/Pawel)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [25. März 2021 um 11:37 UTC](https://forum.shopware.com/t/child-category-level-3-not-constains-in-child-array/86473 "2021-03-25T11:37:31Z")

</div>

referring to the topic I have set $ depth to 3 and it works fine, but how can it be done according to the art for v6.5.1?

---

## [How to append an image to a product](https://forum.shopware.com/t/how-to-append-an-image-to-a-product/85819)

<div class="topic-metadata">

**Author:** [@euroxid](https://forum.shopware.com/u/euroxid)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [23. März 2021 um 20:36 UTC](https://forum.shopware.com/t/how-to-append-an-image-to-a-product/85819 "2021-03-23T20:36:52Z")

</div>

I import products essentially by calling productrepository.upsert(\['name'=\>...\]); What is the established best practice to append product pictures, so that they get saved to disk and all the media\_\* tables get populated…

---

## [How to create own API](https://forum.shopware.com/t/how-to-create-own-api/86406)

<div class="topic-metadata">

**Author:** [@khanhdc](https://forum.shopware.com/u/khanhdc)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [23. März 2021 um 11:47 UTC](https://forum.shopware.com/t/how-to-create-own-api/86406 "2021-03-23T11:47:34Z")

</div>

Hi every one, I am newbie in Shopware6. I have a problem about how to create my own API not Admin API. I wanna make an API to handle the assigning customer to a seller but i can only run this API with Admin Bearer Token…

---

## [Search by orderNumber](https://forum.shopware.com/t/search-by-ordernumber/71222)

<div class="topic-metadata">

**Author:** [@Bitsiam](https://forum.shopware.com/u/Bitsiam)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [22. März 2021 um 08:57 UTC](https://forum.shopware.com/t/search-by-ordernumber/71222 "2021-03-22T08:57:54Z")

</div>

Hi, I am trying to use the orderNumber instead of the orderId to search for orders. I tried something like $criteria-\>addFilter(new EqualsFilter('orderNumber', 10010)); $transactions = $this-\>orderRepository-\>search($…

---

## [Secuting Shopware staging](https://forum.shopware.com/t/secuting-shopware-staging/86317)

<div class="topic-metadata">

**Author:** [@dev](https://forum.shopware.com/u/dev)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [19. März 2021 um 10:57 UTC](https://forum.shopware.com/t/secuting-shopware-staging/86317 "2021-03-19T10:57:37Z")

</div>

Hi Guys! I’m trying to figure it out but without success. What are your recommendations regarding securing staging environments with Basic Auth? When I set BasicAuth with .htpasswd, everything works well, until I try t…

---

## [How to assign categories to Product entity via DAL](https://forum.shopware.com/t/how-to-assign-categories-to-product-entity-via-dal/85747)

<div class="topic-metadata">

**Author:** [@dev](https://forum.shopware.com/u/dev)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [19. März 2021 um 10:52 UTC](https://forum.shopware.com/t/how-to-assign-categories-to-product-entity-via-dal/85747 "2021-03-19T10:52:31Z")

</div>

Hi Guys! I’m starting with developing Shopware modules and probably I don’t understand everything yet, and because of that, I’ve stuck. Maybe someone will be able to help me. I’m trying to assign/unassign the product c…

---

## [Layout - Would like to show a compact product view](https://forum.shopware.com/t/layout-would-like-to-show-a-compact-product-view/86291)

<div class="topic-metadata">

**Author:** [@bricknbricks](https://forum.shopware.com/u/bricknbricks)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [18. März 2021 um 12:38 UTC](https://forum.shopware.com/t/layout-would-like-to-show-a-compact-product-view/86291 "2021-03-18T12:38:33Z")

</div>

Hello, I am brand new to Shopware (Cloud, version 6). I would like to have a more compact view, currently on my FullHD monitor (1920x1080) I see 6 products (3x2) and a navigation bar on the left. About 40% of my scree…

---

## [phpmyadmin 429 Too many requests](https://forum.shopware.com/t/phpmyadmin-429-too-many-requests/72155)

<div class="topic-metadata">

**Author:** [@Jasper2502](https://forum.shopware.com/u/Jasper2502)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [18. März 2021 um 10:23 UTC](https://forum.shopware.com/t/phpmyadmin-429-too-many-requests/72155 "2021-03-18T10:23:52Z")

</div>

Hi guys! I want to use Shopware for learning purposes. When I install Shopware it drops a lot of things in the DB After the first 100 things I get the error 429 “Too many requests” I contacted my hosting provider an…

---

## [Shopware Message Queue ignores Unrecoverable\[...\]Exception](https://forum.shopware.com/t/shopware-message-queue-ignores-unrecoverable-exception/86226)

<div class="topic-metadata">

**Author:** [@RafaelKr](https://forum.shopware.com/u/RafaelKr)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [17. März 2021 um 17:34 UTC](https://forum.shopware.com/t/shopware-message-queue-ignores-unrecoverable-exception/86226 "2021-03-17T17:34:30Z")

</div>

I’m using the Shopware Message Queue. It says it’s based on the Symfony Messenger. In the docs for Symfony Messenger 4.4 (Shopware ist currently using 4.4.13) there is the possibility to avoid retrying of failed messages…

---

## [Get Logged in customer from within a plugin](https://forum.shopware.com/t/get-logged-in-customer-from-within-a-plugin/86097)

<div class="topic-metadata">

**Author:** [@leo.jungmann](https://forum.shopware.com/u/leo.jungmann)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [16. März 2021 um 14:23 UTC](https://forum.shopware.com/t/get-logged-in-customer-from-within-a-plugin/86097 "2021-03-16T14:23:01Z")

</div>

Hi. I wrote a plugin because I want to get the id of the customer that is currently logged in to my shop. Right now I am using the FooterPageletLoadedEvent to call my code - because I couldn’t find something else that i…

---

## [Scheduled task plugin](https://forum.shopware.com/t/scheduled-task-plugin/85972)

<div class="topic-metadata">

**Author:** [@SergejMelihov](https://forum.shopware.com/u/SergejMelihov)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [15. März 2021 um 05:24 UTC](https://forum.shopware.com/t/scheduled-task-plugin/85972 "2021-03-15T05:24:19Z")

</div>

When buy the product via PayPal, the payment status is changed to \[in processing\] but the order status is \[open\]. I am going to change order status from \[open\] to \[in processing\] when the payment status is \[in processing…

---

## [MAMP server is not responding to api post request correctly: Internal Server Error 500: „Call to a member function search() on null“](https://forum.shopware.com/t/mamp-server-is-not-responding-to-api-post-request-correctly-internal-server-error-500-call-to-a-member-function-search-on-null/85933)

<div class="topic-metadata">

**Author:** [@Brian](https://forum.shopware.com/u/Brian)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. März 2021 um 11:06 UTC](https://forum.shopware.com/t/mamp-server-is-not-responding-to-api-post-request-correctly-internal-server-error-500-call-to-a-member-function-search-on-null/85933 "2021-03-12T11:06:25Z")

</div>

I am following a course about shopware 6 on how to display data throughout the storefront, which would be provided with an API controller. I already checked the code multiple times with the tutorial code and I can not fi…

---

## [Extending Plugin Custom Product?](https://forum.shopware.com/t/extending-plugin-custom-product/85932)

<div class="topic-metadata">

**Author:** [@w.buchert](https://forum.shopware.com/u/w.buchert)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. März 2021 um 10:21 UTC](https://forum.shopware.com/t/extending-plugin-custom-product/85932 "2021-03-12T10:21:56Z")

</div>

I am in the process of programming a plugin that is a kind of product configurator for decorating products with advertising imprints. I am also relatively far along. Since we have the professional edition, we could also…

---

## [Custom Module/Plugin Request](https://forum.shopware.com/t/custom-module-plugin-request/85923)

<div class="topic-metadata">

**Author:** [@milind](https://forum.shopware.com/u/milind)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. März 2021 um 06:33 UTC](https://forum.shopware.com/t/custom-module-plugin-request/85923 "2021-03-12T06:33:11Z")

</div>

Please post all custom module requests here for the opensource developers to develop them. Feel free to post: Any custom feature request Any 3rd party integration Any core feature change Problems you are facing with s…

[Vorherige Seite](https://forum.shopware.com/c/shopware-6-english/11.md?page=36)

[Nächste Seite](https://forum.shopware.com/c/shopware-6-english/11.md?page=38)
