# Programming (EN)

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

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

**Page:** 2

---

## [Logging for my payment plugin is not working on shopware 6.6](https://forum.shopware.com/t/logging-for-my-payment-plugin-is-not-working-on-shopware-6-6/103914)

<div class="topic-metadata">

**Author:** [@erwin1](https://forum.shopware.com/u/erwin1)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [3. Mai 2024 um 04:00 UTC](https://forum.shopware.com/t/logging-for-my-payment-plugin-is-not-working-on-shopware-6-6/103914 "2024-05-03T04:00:58Z")

</div>

Hi guys, I develop payment plugin on shopware 6.6, but unfortunatelly after follow how to create logging on developer shopware portal. the log still not showing on var/log folder. Thank you. Best regards, Erwin

---

## [Shopware 6.6 lost session after redirect back to shop from payment provider](https://forum.shopware.com/t/shopware-6-6-lost-session-after-redirect-back-to-shop-from-payment-provider/103913)

<div class="topic-metadata">

**Author:** [@erwin1](https://forum.shopware.com/u/erwin1)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [3. Mai 2024 um 03:55 UTC](https://forum.shopware.com/t/shopware-6-6-lost-session-after-redirect-back-to-shop-from-payment-provider/103913 "2024-05-03T03:55:42Z")

</div>

Hi guys, i develop payment plugin on shopware 6.6 and got problem lost session after redirect back to shop from payment provider. But i have no problem with shopware 6.4 i use storefrontcontroller with route methods P…

---

## [Import/export not working for product entity extension](https://forum.shopware.com/t/import-export-not-working-for-product-entity-extension/72274)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [2. April 2024 um 16:50 UTC](https://forum.shopware.com/t/import-export-not-working-for-product-entity-extension/72274 "2024-04-02T16:50:27Z")

</div>

I have done a product entity extension with OneToOneAssociation. It was to add a new short description field. I was able to save the field when editing and adding products from admin. The issue is I am not able to import…

---

## [Very full cart table](https://forum.shopware.com/t/very-full-cart-table/103335)

<div class="topic-metadata">

**Author:** [@NacScha](https://forum.shopware.com/u/NacScha)\
**Antworten:** 5\
**Zuletzt aktualisiert:** [2. April 2024 um 16:28 UTC](https://forum.shopware.com/t/very-full-cart-table/103335 "2024-04-02T16:28:25Z")

</div>

Hey all, In one of our customers environment are somehow entries in the cart table generated. The table recently got really full with around 300.000 entries in the last 40 days. Most of them without a customer\_id, so w…

---

## [Elastic search not working in Live env but in staging yes](https://forum.shopware.com/t/elastic-search-not-working-in-live-env-but-in-staging-yes/103352)

<div class="topic-metadata">

**Author:** [@vigeeys](https://forum.shopware.com/u/vigeeys)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [18. März 2024 um 10:27 UTC](https://forum.shopware.com/t/elastic-search-not-working-in-live-env-but-in-staging-yes/103352 "2024-03-18T10:27:42Z")

</div>

hello there guys, We have configured elasticsearch in live and staging where in staging works everything fine but in live when I run for eg bin/console es:admin:index i get this error: \[ERROR\] Admin elasticsearch is n…

---

## [Shopware Development using VS Code](https://forum.shopware.com/t/shopware-development-using-vs-code/103062)

<div class="topic-metadata">

**Author:** [@openmindculture](https://forum.shopware.com/u/openmindculture)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [21. Februar 2024 um 09:10 UTC](https://forum.shopware.com/t/shopware-development-using-vs-code/103062 "2024-02-21T09:10:59Z")

</div>

I understand that the recommended coding environment for Shopware 6 is PhpStorm plus PHP, Symfony, and Shopware support. But what would be the best practice for Shopware 6 development in Visual Studio Code (or Codium)? W…

---

## [How to get plugin configuration values in templates in shopware 6?](https://forum.shopware.com/t/how-to-get-plugin-configuration-values-in-templates-in-shopware-6/63897)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 4\
**Zuletzt aktualisiert:** [6. Februar 2024 um 18:52 UTC](https://forum.shopware.com/t/how-to-get-plugin-configuration-values-in-templates-in-shopware-6/63897 "2024-02-06T18:52:22Z")

</div>

I have extended a file @Storefront/storefront/page/account/index.html.twig I want to hide and show a block in the file based on my plugin configuration. How to get the plugin configuration values in the template file?

---

## [How to add mime types for ESD products?](https://forum.shopware.com/t/how-to-add-mime-types-for-esd-products/102723)

<div class="topic-metadata">

**Author:** [@roose](https://forum.shopware.com/u/roose)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [29. Januar 2024 um 08:49 UTC](https://forum.shopware.com/t/how-to-add-mime-types-for-esd-products/102723 "2024-01-29T08:49:50Z")

</div>

Exe, dmg, iso files for example are not accepted for upload as ESD product in administration - but quite common file extensions for software downloads. Any idea where to start?

---

## [Storefront not working.](https://forum.shopware.com/t/storefront-not-working/71340)

<div class="topic-metadata">

**Author:** [@zan](https://forum.shopware.com/u/zan)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [24. Januar 2024 um 10:05 UTC](https://forum.shopware.com/t/storefront-not-working/71340 "2024-01-24T10:05:20Z")

</div>

I am following this video https://academy.shopware.com/courses/take/shopware-6-developer-training-english/lessons/9225170-data-storefront According the this video, before creating any twig file http://localhost:8000/ …

---

## [PhpStorm false positive warnings in services.xml](https://forum.shopware.com/t/phpstorm-false-positive-warnings-in-services-xml/102650)

<div class="topic-metadata">

**Author:** [@openmindculture](https://forum.shopware.com/u/openmindculture)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [24. Januar 2024 um 08:56 UTC](https://forum.shopware.com/t/phpstorm-false-positive-warnings-in-services-xml/102650 "2024-01-24T08:56:57Z")

</div>

PhpStorm shows false positive warnings about the typical services.xml boilerplate code, although I have Symfony and Shopware support enabled, and I even added the xmlns and xsd to my Language Settings explicitly. What i…

---

## [Axios post method 404 error](https://forum.shopware.com/t/axios-post-method-404-error/102533)

<div class="topic-metadata">

**Author:** [@edinosmic77](https://forum.shopware.com/u/edinosmic77)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [16. Januar 2024 um 22:42 UTC](https://forum.shopware.com/t/axios-post-method-404-error/102533 "2024-01-16T22:42:01Z")

</div>

I created plugin, installed, activated, and is availabe under settings=\>extentions=\>custom module now i want to submit a form with post method, its done here in EoTestPlugin/src/Resources/app/administration/ser/module/s…

---

## [Payment - Return URL too long for payment provider](https://forum.shopware.com/t/payment-return-url-too-long-for-payment-provider/100435)

<div class="topic-metadata">

**Author:** [@kdambekalns](https://forum.shopware.com/u/kdambekalns)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [12. Januar 2024 um 19:26 UTC](https://forum.shopware.com/t/payment-return-url-too-long-for-payment-provider/100435 "2024-01-12T19:26:18Z")

</div>

Hello. (Same content as in Payment – Return-URL zu lang für Payment-Provider – just branching out to english, hoping for a wider audience…) I have developed an integration for a payment provider (ESTO) that would proba…

---

## [Modify Orders Overwiew table](https://forum.shopware.com/t/modify-orders-overwiew-table/102489)

<div class="topic-metadata">

**Author:** [@miro](https://forum.shopware.com/u/miro)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. Januar 2024 um 09:14 UTC](https://forum.shopware.com/t/modify-orders-overwiew-table/102489 "2024-01-12T09:14:48Z")

</div>

Hi guys! I want to modify the Orders Overview table. The idea is to get visible orders and check their totals with a custom table with information. If the Order total is different than the total saved in the custom tabl…

---

## [Shopware 6 removes html tags from snippets](https://forum.shopware.com/t/shopware-6-removes-html-tags-from-snippets/102377)

<div class="topic-metadata">

**Author:** [@yurii.k](https://forum.shopware.com/u/yurii.k)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [27. Dezember 2023 um 13:41 UTC](https://forum.shopware.com/t/shopware-6-removes-html-tags-from-snippets/102377 "2023-12-27T13:41:12Z")

</div>

Hi! When I’m adding LI-tag to the snippet - SW removes this tag after saving. But tag A-tag works fine. How can I save LI-tags in the snippet as well?

---

## [Shopware plugin acrivation causing error on the website](https://forum.shopware.com/t/shopware-plugin-acrivation-causing-error-on-the-website/102367)

<div class="topic-metadata">

**Author:** [@hatchhok](https://forum.shopware.com/u/hatchhok)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [24. Dezember 2023 um 08:56 UTC](https://forum.shopware.com/t/shopware-plugin-acrivation-causing-error-on-the-website/102367 "2023-12-24T08:56:54Z")

</div>

I’m experiencing an issue with a purchased Shopware plugin called ‚Preis auf Anfrage‘ (‚Price on Request‘). The plugin’s URL is: Preis auf Anfrage | Shopware Store Once I activate the plugin in Shopware 6, an error pops…

---

## [Shopware 6 search api response time irrespective of entity associations fetching](https://forum.shopware.com/t/shopware-6-search-api-response-time-irrespective-of-entity-associations-fetching/102301)

<div class="topic-metadata">

**Author:** [@gabriel.dornianu](https://forum.shopware.com/u/gabriel.dornianu)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [16. Dezember 2023 um 10:30 UTC](https://forum.shopware.com/t/shopware-6-search-api-response-time-irrespective-of-entity-associations-fetching/102301 "2023-12-16T10:30:38Z")

</div>

Hello, In shopware 6 you can specify if you want your API call to fetch the certain property of an entity, or not specify any property and fetch all the properties and associations. The weird part is the two requests t…

---

## [How can i customize the product price by using my own plugin?](https://forum.shopware.com/t/how-can-i-customize-the-product-price-by-using-my-own-plugin/101813)

<div class="topic-metadata">

**Author:** [@code.bach](https://forum.shopware.com/u/code.bach)\
**Antworten:** 5\
**Zuletzt aktualisiert:** [23. November 2023 um 16:48 UTC](https://forum.shopware.com/t/how-can-i-customize-the-product-price-by-using-my-own-plugin/101813 "2023-11-23T16:48:00Z")

</div>

I’m trying to create my own plugin and use that plugin to customize product detail page, basically i need to add \<input\> fields for e.g. „width, depth and height“ and with that way user can customize his own product also…

---

## [Create Store Cannel AccessKey Over API](https://forum.shopware.com/t/create-store-cannel-accesskey-over-api/101935)

<div class="topic-metadata">

**Author:** [@klas](https://forum.shopware.com/u/klas)\
**Antworten:** 5\
**Zuletzt aktualisiert:** [16. November 2023 um 11:41 UTC](https://forum.shopware.com/t/create-store-cannel-accesskey-over-api/101935 "2023-11-16T11:41:21Z")

</div>

Hi, Im creating a store-channel through Shopware API (/api/sales-channel) and Accesskey is required „accessKey“: „\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*“, I can put a random value as accessKey and the sales channel is created…

---

## [Request for feedback: Rule system v2](https://forum.shopware.com/t/request-for-feedback-rule-system-v2/101832)

<div class="topic-metadata">

**Author:** [@marco.steinhaeuser](https://forum.shopware.com/u/marco.steinhaeuser)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [8. November 2023 um 10:18 UTC](https://forum.shopware.com/t/request-for-feedback-rule-system-v2/101832 "2023-11-08T10:18:06Z")

</div>

Shopware devs, please take part! We think about restructuring the rule system. We’ve opened a GitHub discussion explaining the situation and how we think we can improve RFC: Rule system v2 · shopware/shopware · Discussio…

---

## [Using integer IDs](https://forum.shopware.com/t/using-integer-ids/101799)

<div class="topic-metadata">

**Author:** [@Donny](https://forum.shopware.com/u/Donny)\
**Antworten:** 4\
**Zuletzt aktualisiert:** [5. November 2023 um 20:17 UTC](https://forum.shopware.com/t/using-integer-ids/101799 "2023-11-05T20:17:02Z")

</div>

Hi, I’m discovering the back-end development in Shopware 6 by creating a plugin. My plugin connects with a API. I’m trying to use integers as foreign keys for my custom entity as the API deliver these. When I call my as…

---

## [How to show manufacturer / hersteller in the order confirmation email?](https://forum.shopware.com/t/how-to-show-manufacturer-hersteller-in-the-order-confirmation-email/71472)

<div class="topic-metadata">

**Author:** [@Duff](https://forum.shopware.com/u/Duff)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [2. November 2023 um 05:45 UTC](https://forum.shopware.com/t/how-to-show-manufacturer-hersteller-in-the-order-confirmation-email/71472 "2023-11-02T05:45:26Z")

</div>

Hi, I used to have a workaround to show the manufacturer in the order confirmation email template by using this piece of code: {{ dbquery('name', 'product\_manufacturer\_translation', {'product\_manufacturer\_id =': dbque…

---

## [When you add a CMS Element how is the data stored in db and passed to twig?](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728)

<div class="topic-metadata">

**Author:** [@rarem38474](https://forum.shopware.com/u/rarem38474)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [28. Oktober 2023 um 06:55 UTC](https://forum.shopware.com/t/when-you-add-a-cms-element-how-is-the-data-stored-in-db-and-passed-to-twig/101728 "2023-10-28T06:55:34Z")

</div>

So lets say you define a url you make the config with vue for the administration and then you implement the storefront version. How is the data passed to twig from the administration it has to send some sort of post requ…

---

## [The tiny slider (Product slide) count is wrong in shopware 6](https://forum.shopware.com/t/the-tiny-slider-product-slide-count-is-wrong-in-shopware-6/101621)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [19. Oktober 2023 um 06:05 UTC](https://forum.shopware.com/t/the-tiny-slider-product-slide-count-is-wrong-in-shopware-6/101621 "2023-10-19T06:05:45Z")

</div>

The tiny slider (Product slide) count is wrong Shopware using tiny slider node module for product slider. The product slider shows the wrong count. Actually, there are 21 slides but the slider shows the count as 5. Th…

---

## [I want to make custom plugin for storing cart items into cookie](https://forum.shopware.com/t/i-want-to-make-custom-plugin-for-storing-cart-items-into-cookie/101501)

<div class="topic-metadata">

**Author:** [@eugene0820](https://forum.shopware.com/u/eugene0820)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [7. Oktober 2023 um 09:30 UTC](https://forum.shopware.com/t/i-want-to-make-custom-plugin-for-storing-cart-items-into-cookie/101501 "2023-10-07T09:30:04Z")

</div>

Hi everyone, Thanks for checking my issue. I want to store cart items into Cookie when adding items into shopping cart and get cart infos from cookie not from database. So I want to make this kinda custom plugin but I …

---

## [How to extend the expires\_in time in Admin API?](https://forum.shopware.com/t/how-to-extend-the-expires-in-time-in-admin-api/65925)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [29. September 2023 um 08:43 UTC](https://forum.shopware.com/t/how-to-extend-the-expires-in-time-in-admin-api/65925 "2023-09-29T08:43:40Z")

</div>

Hi I am using Client credential authentication for Admin API https://docs.shopware.com/en/shopware-platform-dev-en/api/admin-authentication?category=shopware-platform-dev-en/api#client-credential-authentication-1 unfo…

---

## [How to decorate entity definition in shopware 6](https://forum.shopware.com/t/how-to-decorate-entity-definition-in-shopware-6/92109)

<div class="topic-metadata">

**Author:** [@wis154](https://forum.shopware.com/u/wis154)\
**Antworten:** 12\
**Zuletzt aktualisiert:** [14. September 2023 um 09:20 UTC](https://forum.shopware.com/t/how-to-decorate-entity-definition-in-shopware-6/92109 "2023-09-14T09:20:37Z")

</div>

I would like to decorate entity definition in plugin shopware 6 to add some modifications. I wolud like to change length string field from standard 255 to 4000. Definition class to change my decorate class class wit…

---

## [Adding one-to-many relationship in admin frontend](https://forum.shopware.com/t/adding-one-to-many-relationship-in-admin-frontend/66411)

<div class="topic-metadata">

**Author:** [@sznvs](https://forum.shopware.com/u/sznvs)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [6. September 2023 um 13:42 UTC](https://forum.shopware.com/t/adding-one-to-many-relationship-in-admin-frontend/66411 "2023-09-06T13:42:02Z")

</div>

Hello, I am trying to create a one-to-many relation between a Customer and a custom entity (Company). One company can have multiple customers. I created a new entity in MyPlugin/scr/Core/Content/Company: name; } …

---

## [Issue with Empty SELECT Custom Field in Shopware 6](https://forum.shopware.com/t/issue-with-empty-select-custom-field-in-shopware-6/100848)

<div class="topic-metadata">

**Author:** [@husseinahk92](https://forum.shopware.com/u/husseinahk92)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [23. August 2023 um 10:48 UTC](https://forum.shopware.com/t/issue-with-empty-select-custom-field-in-shopware-6/100848 "2023-08-23T10:48:59Z")

</div>

I’m facing an issue while creating a custom SELECT field in Shopware 6 using a plugin. The custom field is being created successfully, but when I attempt to use the SELECT field in the category settings, the dropdown opt…

---

## [How to listen to refund events?](https://forum.shopware.com/t/how-to-listen-to-refund-events/100973)

<div class="topic-metadata">

**Author:** [@jeroen.visser](https://forum.shopware.com/u/jeroen.visser)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [22. August 2023 um 15:10 UTC](https://forum.shopware.com/t/how-to-listen-to-refund-events/100973 "2023-08-22T15:10:22Z")

</div>

I am currently developing a plugin for shopware for a gift card provider. Almost everything works like intended except the last part: I want to send an email to the store owner whenever a refund is issued that was paid…

---

## [While to Update Cross Selling to Shopware6](https://forum.shopware.com/t/while-to-update-cross-selling-to-shopware6/100926)

<div class="topic-metadata">

**Author:** [@naitik.mehta](https://forum.shopware.com/u/naitik.mehta)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [18. August 2023 um 07:29 UTC](https://forum.shopware.com/t/while-to-update-cross-selling-to-shopware6/100926 "2023-08-18T07:29:19Z")

</div>

I have integrated Odoo ERP system with Shopware6 and now I am getting the following error when try to update the Cross Selling from Odoo to Shopware6. {„errors“:\[{„status“:„500“,„code“:„FRAMEWORK\_\_WRITE\_TYPE\_INTEND\_ERRO…

[Vorherige Seite](https://forum.shopware.com/c/shopware-6-english/programming-en/43.md)

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