# Programming (EN)

**URL:** https://forum.shopware.com/c/shopware-6-english/programming-en/43.md

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

---

## [How to get error details on response 500 api/\_info/entity-schema.json?](https://forum.shopware.com/t/how-to-get-error-details-on-response-500-api-info-entity-schema-json/103131)

<div class="topic-metadata">

**Author:** [@openmindculture](https://forum.shopware.com/u/openmindculture)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [2. März 2026 um 08:03 UTC](https://forum.shopware.com/t/how-to-get-error-details-on-response-500-api-info-entity-schema-json/103131 "2026-03-02T08:03:32Z")

</div>

After I activated a new plugin, I get a blank white screen after admin login. The storefront still works, no errors in the error logs. No profiler in admin, so no XDebug? In my browser’s developer tools network tab, I s…

---

## [Issue with sales channel domain](https://forum.shopware.com/t/issue-with-sales-channel-domain/101817)

<div class="topic-metadata">

**Author:** [@yedhukrishna.girish](https://forum.shopware.com/u/yedhukrishna.girish)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [11. November 2025 um 11:15 UTC](https://forum.shopware.com/t/issue-with-sales-channel-domain/101817 "2025-11-11T11:15:37Z")

</div>

Hi, we want to delete a sales channel, but we are getting this error. #1451 - Unable to delete or update parent line: a foreign key condition fails (‚test2‘.‚customer‘, CONSTRAINT ‚fk.customer.bound\_sales\_channel\_id‘ F…

---

## [Navbar active menu](https://forum.shopware.com/t/navbar-active-menu/108104)

<div class="topic-metadata">

**Author:** [@lpwe](https://forum.shopware.com/u/lpwe)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [29. Oktober 2025 um 06:41 UTC](https://forum.shopware.com/t/navbar-active-menu/108104 "2025-10-29T06:41:06Z")

</div>

We are using Shopware 6.7.3.0 Some of the products are in several categories. In the Navbar when we are in category B and click on a product, the active menu is switching to category A because the product is in category…

---

## [API prices are not applied in checkout when logged out then logged in again](https://forum.shopware.com/t/api-prices-are-not-applied-in-checkout-when-logged-out-then-logged-in-again/108050)

<div class="topic-metadata">

**Author:** [@lpwe](https://forum.shopware.com/u/lpwe)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [16. Oktober 2025 um 14:41 UTC](https://forum.shopware.com/t/api-prices-are-not-applied-in-checkout-when-logged-out-then-logged-in-again/108050 "2025-10-16T14:41:18Z")

</div>

Hi, I have a plugin that is requesting product prices from an API. When the user logs in, goes to the PDP, we see the API price(s). We are putting the product into the cart, the sum at the cart is correct, offcanvas as…

---

## [Bin/watch-administration not working in my localhost. (ERR\_CONNECTION\_REFUSED)](https://forum.shopware.com/t/bin-watch-administration-not-working-in-my-localhost-err-connection-refused/105507)

<div class="topic-metadata">

**Author:** [@elird](https://forum.shopware.com/u/elird)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [14. Oktober 2025 um 08:21 UTC](https://forum.shopware.com/t/bin-watch-administration-not-working-in-my-localhost-err-connection-refused/105507 "2025-10-14T08:21:34Z")

</div>

I’m having an issue with running the administration watch command inside my ssh container. I’m developing a custom plugin within my shopware project and want to run admin watch to see the changes i’m making. I start the…

---

## [How to save and display custom field values from frontend in shopware6?](https://forum.shopware.com/t/how-to-save-and-display-custom-field-values-from-frontend-in-shopware6/63848)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 15\
**Zuletzt aktualisiert:** [31. August 2025 um 14:57 UTC](https://forum.shopware.com/t/how-to-save-and-display-custom-field-values-from-frontend-in-shopware6/63848 "2025-08-31T14:57:25Z")

</div>

I have created a custom fieldset and a custom field from backend settings. I want to do the following Save the custom field value from the customer registration page. Display the custom field value in the custome…

---

## [Manipulating Suggests and Searches without Elasticsearch](https://forum.shopware.com/t/manipulating-suggests-and-searches-without-elasticsearch/107737)

<div class="topic-metadata">

**Author:** [@mingus](https://forum.shopware.com/u/mingus)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [14. August 2025 um 09:06 UTC](https://forum.shopware.com/t/manipulating-suggests-and-searches-without-elasticsearch/107737 "2025-08-14T09:06:09Z")

</div>

Hello everyone! I’m trying to control the order of products in Shopware 6’s search and suggest functionality based on a custom database field. The goal is for products with a higher value in this field to appear at the …

---

## [Same plugin for different Shopware versions?](https://forum.shopware.com/t/same-plugin-for-different-shopware-versions/100007)

<div class="topic-metadata">

**Author:** [@velvetvulpes](https://forum.shopware.com/u/velvetvulpes)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [18. Juli 2025 um 15:14 UTC](https://forum.shopware.com/t/same-plugin-for-different-shopware-versions/100007 "2025-07-18T15:14:18Z")

</div>

We need to publish 2 version of one of our plugins. One for shopware 6.4.\* and one for shopware 6.5.. We found some comments on stackoverflow where they say that you just create 2 major releases of plugin (1. and 2.\*) b…

---

## [Cache not able to write because of unknown reason](https://forum.shopware.com/t/cache-not-able-to-write-because-of-unknown-reason/107572)

<div class="topic-metadata">

**Author:** [@binuabraham990](https://forum.shopware.com/u/binuabraham990)\
**Antworten:** 8\
**Zuletzt aktualisiert:** [10. Juli 2025 um 06:14 UTC](https://forum.shopware.com/t/cache-not-able-to-write-because-of-unknown-reason/107572 "2025-07-10T06:14:46Z")

</div>

Hi All, I have a weird problem in the shop. My shop is gone offline with the error log saying Files in the cache folder cannot create (1 time when I deactivated a plugin, 2 times after the cron jobs completed. So not su…

---

## [Custom Captcha not selectable](https://forum.shopware.com/t/custom-captcha-not-selectable/106470)

<div class="topic-metadata">

**Author:** [@Leif](https://forum.shopware.com/u/Leif)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [2. Juli 2025 um 09:30 UTC](https://forum.shopware.com/t/custom-captcha-not-selectable/106470 "2025-07-02T09:30:16Z")

</div>

Hi, I created a custom captcha class which has no real implementation yet: #\[Package('storefront')\] class TestCaptcha extends AbstractCaptcha { final public const CAPTCHA\_NAME = 'testCaptcha'; public function …

---

## [General error: 1116 Too many tables](https://forum.shopware.com/t/general-error-1116-too-many-tables/104368)

<div class="topic-metadata">

**Author:** [@ba1](https://forum.shopware.com/u/ba1)\
**Antworten:** 8\
**Zuletzt aktualisiert:** [28. Juni 2025 um 11:20 UTC](https://forum.shopware.com/t/general-error-1116-too-many-tables/104368 "2025-06-28T11:20:29Z")

</div>

Hi, I am working with a shop with large number of items. It is on the migration stage. For some days I am facing an issue. The error is as follows An exception occurred while executing a query: SQLSTATE\[HY000\]: Genera…

---

## [Wishlist twig file](https://forum.shopware.com/t/wishlist-twig-file/107095)

<div class="topic-metadata">

**Author:** [@cab](https://forum.shopware.com/u/cab)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [26. April 2025 um 17:55 UTC](https://forum.shopware.com/t/wishlist-twig-file/107095 "2025-04-26T17:55:24Z")

</div>

does anybody know in wich file is heart and add to wishlist on product page rendered

---

## [Banner on shopping cart (off canvas)](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065)

<div class="topic-metadata">

**Author:** [@cab](https://forum.shopware.com/u/cab)\
**Antworten:** 4\
**Zuletzt aktualisiert:** [22. April 2025 um 12:33 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065 "2025-04-22T12:33:47Z")

</div>

Hi,does anybody know howe to add small info on cart/canvas. i am using twig to revrite original code but noting happens twig is on path /custom/plugins/MyTheme/src/Resources/views/storefront/component/checkout/offcanv…

---

## [Automate "Generate Variants" via Plugin Command?](https://forum.shopware.com/t/automate-generate-variants-via-plugin-command/107061)

<div class="topic-metadata">

**Author:** [@oliiix](https://forum.shopware.com/u/oliiix)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [22. April 2025 um 08:01 UTC](https://forum.shopware.com/t/automate-generate-variants-via-plugin-command/107061 "2025-04-22T08:01:49Z")

</div>

Hello There I’m migrating from Prestashop to Shopware. Now i’ve created exporters and a shopware plugin to accomplish that. after data is imported i can run a cli command that adds product variant data to product config…

---

## [Extension is not working](https://forum.shopware.com/t/extension-is-not-working/107012)

<div class="topic-metadata">

**Author:** [@cab](https://forum.shopware.com/u/cab)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [10. April 2025 um 09:53 UTC](https://forum.shopware.com/t/extension-is-not-working/107012 "2025-04-10T09:53:01Z")

</div>

Hi all, if somebody can review code,link bellow this is idea: Every customer after registration gets tag SignedNoOrder made by flow bulder.Now i want rule that if customer make order,tag is automaticly removed.Since …

---

## [Help needed on integrating the api of shopwares](https://forum.shopware.com/t/help-needed-on-integrating-the-api-of-shopwares/106544)

<div class="topic-metadata">

**Author:** [@gokul.tech.007s](https://forum.shopware.com/u/gokul.tech.007s)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [20. Februar 2025 um 16:07 UTC](https://forum.shopware.com/t/help-needed-on-integrating-the-api-of-shopwares/106544 "2025-02-20T16:07:44Z")

</div>

I need to integrate the python api from the shopware how to do that ?

---

## [How to execute a specific scheduled task in shopware 6?](https://forum.shopware.com/t/how-to-execute-a-specific-scheduled-task-in-shopware-6/63771)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [19. Dezember 2024 um 10:42 UTC](https://forum.shopware.com/t/how-to-execute-a-specific-scheduled-task-in-shopware-6/63771 "2024-12-19T10:42:02Z")

</div>

I want to execute a specific scheduled task. how to do it in shopware 6?

---

## [Custom Added Product to Cart Not Triggering Promotions](https://forum.shopware.com/t/custom-added-product-to-cart-not-triggering-promotions/106027)

<div class="topic-metadata">

**Author:** [@jakub.g](https://forum.shopware.com/u/jakub.g)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [3. Dezember 2024 um 15:08 UTC](https://forum.shopware.com/t/custom-added-product-to-cart-not-triggering-promotions/106027 "2024-12-03T15:08:52Z")

</div>

Hi everyone, I’m currently working on a custom plugin for Shopware, and I’ve run into an issue regarding promotions in the cart. Here’s the situation: When I add a product to the cart programmatically (using custom log…

---

## [Attributed entities](https://forum.shopware.com/t/attributed-entities/105422)

<div class="topic-metadata">

**Author:** [@Hashtag\_Assist](https://forum.shopware.com/u/Hashtag_Assist)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [4. Oktober 2024 um 12:52 UTC](https://forum.shopware.com/t/attributed-entities/105422 "2024-10-04T12:52:11Z")

</div>

Hey, do I have to create an collection or something like this for attributed entities when I create a relation to a core entity? I have a custom entity with a OneToOne relation to the product but unfortunately I can’t f…

---

## [Create Payment Plugin](https://forum.shopware.com/t/create-payment-plugin/105385)

<div class="topic-metadata">

**Author:** [@inagroup](https://forum.shopware.com/u/inagroup)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [1. Oktober 2024 um 00:23 UTC](https://forum.shopware.com/t/create-payment-plugin/105385 "2024-10-01T00:23:42Z")

</div>

I have been trying to create a new payment method plugin based on the example at Payment Plugin however, I’ve been having problems. What should the composer.json file contain? The service id in the example is "Swag\\Paym…

---

## [Shopware 6 update listing criteria from javascript](https://forum.shopware.com/t/shopware-6-update-listing-criteria-from-javascript/102717)

<div class="topic-metadata">

**Author:** [@COMASO-IT](https://forum.shopware.com/u/COMASO-IT)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [24. September 2024 um 08:20 UTC](https://forum.shopware.com/t/shopware-6-update-listing-criteria-from-javascript/102717 "2024-09-24T08:20:21Z")

</div>

I am searching for a possibility to filter listing results based on own filters that I need to update from the PHP or Javascript. I already tried it with adding customer criteria using the event static function get…

---

## [Why Shopware 6 is caching the events?](https://forum.shopware.com/t/why-shopware-6-is-caching-the-events/65445)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [24. September 2024 um 08:17 UTC](https://forum.shopware.com/t/why-shopware-6-is-caching-the-events/65445 "2024-09-24T08:17:15Z")

</div>

Hi I am creating a plugin. I am using NavigationPageLoadedEvent in my plugin. But the problem is Shopware cache the events so the events are not working in the dev server. I have installed the user version of Shopware…

---

## [Administration User Edit - Extend form](https://forum.shopware.com/t/administration-user-edit-extend-form/105121)

<div class="topic-metadata">

**Author:** [@daniel.quaas](https://forum.shopware.com/u/daniel.quaas)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [9. September 2024 um 12:04 UTC](https://forum.shopware.com/t/administration-user-edit-extend-form/105121 "2024-09-09T12:04:38Z")

</div>

Hello Community, I am quite new to a project that uses Shopware 6 cloud. We already have an app which gives us the possibility to make changes in the storefront. Now we have received a request to extend the user edit f…

---

## [Stack traces of processes running in queues (xdebug?)](https://forum.shopware.com/t/stack-traces-of-processes-running-in-queues-xdebug/105084)

<div class="topic-metadata">

**Author:** [@clarusch](https://forum.shopware.com/u/clarusch)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [4. September 2024 um 12:52 UTC](https://forum.shopware.com/t/stack-traces-of-processes-running-in-queues-xdebug/105084 "2024-09-04T12:52:54Z")

</div>

Hey there. I created a process that is running in a message queue and have trouble getting the stacktraces of thrown exceptions. I’d expect them in var/log, but I can’t find them there. I am using dockware with XDEBU…

---

## [CSV Import in SW 6.1 - lots of issues](https://forum.shopware.com/t/csv-import-in-sw-6-1-lots-of-issues/66875)

<div class="topic-metadata">

**Author:** [@mikeyfifteen](https://forum.shopware.com/u/mikeyfifteen)\
**Antworten:** 14\
**Zuletzt aktualisiert:** [16. August 2024 um 15:52 UTC](https://forum.shopware.com/t/csv-import-in-sw-6-1-lots-of-issues/66875 "2024-08-16T15:52:57Z")

</div>

Hi all, hoping I can get help here. I have a CSV which I have created, I have created a profile to match. Below is the CSV sample I am trying with: id,en\_gb\_name,name,description,productNumber,price\_net,price\_gross,…

---

## [No route found for Order-Return State Transition](https://forum.shopware.com/t/no-route-found-for-order-return-state-transition/104808)

<div class="topic-metadata">

**Author:** [@katSp](https://forum.shopware.com/u/katSp)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [13. August 2024 um 08:19 UTC](https://forum.shopware.com/t/no-route-found-for-order-return-state-transition/104808 "2024-08-13T08:19:26Z")

</div>

I’m trying to change the state of an order-return as described here but all I get as a return is „404 Route not found“. I tried POST /api/\_action/order\_return/{returnId}/state/in\_progress And also tried all other po…

---

## [How to access older version of order via API](https://forum.shopware.com/t/how-to-access-older-version-of-order-via-api/104438)

<div class="topic-metadata">

**Author:** [@steven](https://forum.shopware.com/u/steven)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [4. Juli 2024 um 06:36 UTC](https://forum.shopware.com/t/how-to-access-older-version-of-order-via-api/104438 "2024-07-04T06:36:21Z")

</div>

I am using the endpoint /api/search/order to gain data for an export. As i need older versions of a specific order, i am trying to search with the versionId (which i know from the documents endpoint and which i also find…

---

## [E2E testing with Vagrant VM installation](https://forum.shopware.com/t/e2e-testing-with-vagrant-vm-installation/67413)

<div class="topic-metadata">

**Author:** [@milanweiss](https://forum.shopware.com/u/milanweiss)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [10. Juni 2024 um 14:20 UTC](https://forum.shopware.com/t/e2e-testing-with-vagrant-vm-installation/67413 "2024-06-10T14:20:59Z")

</div>

I installed Shopware using Vagrant. Now I want to use Cypress for e2e testing. Is this possible? Because Cypress opens on the vm if I’m right.

---

## [Blank admin page (white screen) without errors after plugin activation](https://forum.shopware.com/t/blank-admin-page-white-screen-without-errors-after-plugin-activation/103114)

<div class="topic-metadata">

**Author:** [@openmindculture](https://forum.shopware.com/u/openmindculture)\
**Antworten:** 5\
**Zuletzt aktualisiert:** [24. Mai 2024 um 12:12 UTC](https://forum.shopware.com/t/blank-admin-page-white-screen-without-errors-after-plugin-activation/103114 "2024-05-24T12:12:05Z")

</div>

After activating a plugin in a local development environment, and clearing the cache, I get a blank white screen with no error messages at localhost/admin, and a green status „200“ in Symfony profiler in the storefront. …

---

## [Combine inherited and added properties for Product Variations](https://forum.shopware.com/t/combine-inherited-and-added-properties-for-product-variations/103938)

<div class="topic-metadata">

**Author:** [@maksim.snehauskoi](https://forum.shopware.com/u/maksim.snehauskoi)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [6. Mai 2024 um 20:52 UTC](https://forum.shopware.com/t/combine-inherited-and-added-properties-for-product-variations/103938 "2024-05-06T20:52:08Z")

</div>

Hello, I’m creating a variation $this-\>productRepository-\>upsert(\[ $variant \], Context:: createDefaultContext ()); In $variant I set one property and it overwrites all inherited properties from the parent product…

[Nächste Seite](https://forum.shopware.com/c/shopware-6-english/programming-en/43.md?page=1)
