# Shopware 6 (English)

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

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

**Page:** 37

---

## [How to get all properties name list in custom module detail page?](https://forum.shopware.com/t/how-to-get-all-properties-name-list-in-custom-module-detail-page/87641)

<div class="topic-metadata">

**Author:** [@payalpatel](https://forum.shopware.com/u/payalpatel)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [13. Mai 2021 um 05:30 UTC](https://forum.shopware.com/t/how-to-get-all-properties-name-list-in-custom-module-detail-page/87641 "2021-05-13T05:30:33Z")

</div>

I have one custom module and I need to get properties name list in this module as a multi-select. How it’s possible in shopware 6? Here is my code, please check. custom-product-detail.html.twig \<sw-entity-multi-sel…

---

## [I've created a shopware 6 admin API client library in the V programming language](https://forum.shopware.com/t/ive-created-a-shopware-6-admin-api-client-library-in-the-v-programming-language/87621)

<div class="topic-metadata">

**Author:** [@logTom](https://forum.shopware.com/u/logTom)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. Mai 2021 um 09:34 UTC](https://forum.shopware.com/t/ive-created-a-shopware-6-admin-api-client-library-in-the-v-programming-language/87621 "2021-05-12T09:34:36Z")

</div>

Feel free to ask any question about it here or on github as an issue.

---

## [Undefined variable when trying to run bin/watch-storefront.sh](https://forum.shopware.com/t/undefined-variable-when-trying-to-run-bin-watch-storefront-sh/87566)

<div class="topic-metadata">

**Author:** [@Pajbjerg](https://forum.shopware.com/u/Pajbjerg)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [12. Mai 2021 um 08:16 UTC](https://forum.shopware.com/t/undefined-variable-when-trying-to-run-bin-watch-storefront-sh/87566 "2021-05-12T08:16:28Z")

</div>

Hello Beforehand let me say that i am new to shopware, and do not understand the system completely yet. I have a wish to run bin/watch-storefront.sh to use the hot-reload functionality. This is for the purpose to see t…

---

## [Override Currency(isoCurrencyCode) method](https://forum.shopware.com/t/override-currency-isocurrencycode-method/87508)

<div class="topic-metadata">

**Author:** [@jnuricumbo](https://forum.shopware.com/u/jnuricumbo)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [8. Mai 2021 um 13:04 UTC](https://forum.shopware.com/t/override-currency-isocurrencycode-method/87508 "2021-05-08T13:04:46Z")

</div>

Currency will be in sometimes not correctly formated. Have a look at this code lines The default language is de-DE but if the currency is USD then it is en-US, that means any other currency will be using the language de…

---

## [How do I query the Admin API in a specific language](https://forum.shopware.com/t/how-do-i-query-the-admin-api-in-a-specific-language/65735)

<div class="topic-metadata">

**Author:** [@patchee500](https://forum.shopware.com/u/patchee500)\
**Antworten:** 6\
**Zuletzt aktualisiert:** [7. Mai 2021 um 12:21 UTC](https://forum.shopware.com/t/how-do-i-query-the-admin-api-in-a-specific-language/65735 "2021-05-07T12:21:44Z")

</div>

Or rather how is multilang supposed to work when qerying data from the Admin API in general? This is my specific usecase: Suppose I’m only using a single Storefront with multiple languages. I’d like to select certain…

---

## [500 error - Permission denied - ps\_files\_cleanup\_dir](https://forum.shopware.com/t/500-error-permission-denied-ps-files-cleanup-dir/87437)

<div class="topic-metadata">

**Author:** [@DjLance](https://forum.shopware.com/u/DjLance)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [7. Mai 2021 um 07:33 UTC](https://forum.shopware.com/t/500-error-permission-denied-ps-files-cleanup-dir/87437 "2021-05-07T07:33:31Z")

</div>

Hi, I’m new to Shopware. I feel like this error is not related to Shopware but I need to be sure. The back-office is working correctly. The front-end returns 500 error … I’ve installed a fresh 6.3 Shopware installati…

---

## [Link in admin menu to plugin configuration](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070)

<div class="topic-metadata">

**Author:** [@Pascal1988](https://forum.shopware.com/u/Pascal1988)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [5. Mai 2021 um 22:17 UTC](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070 "2021-05-05T22:17:26Z")

</div>

I have a custom module with a new entry in the administration menu. A suboption of that menu should go directly to the plugin options. I expected something like this to work: routes: { config: { component…

---

## [CSRF token in storefront using Vue.js](https://forum.shopware.com/t/csrf-token-in-storefront-using-vue-js/87420)

<div class="topic-metadata">

**Author:** [@marcelbeks](https://forum.shopware.com/u/marcelbeks)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [5. Mai 2021 um 13:42 UTC](https://forum.shopware.com/t/csrf-token-in-storefront-using-vue-js/87420 "2021-05-05T13:42:16Z")

</div>

I am using a custom instance of Vue.js in the storefront. But I’m having some issues with adding items to the cart. Or any API calls for that instance. I need a CSRF token for API call, but I have no idea how to retrieve…

---

## [Blank admin screen after login](https://forum.shopware.com/t/blank-admin-screen-after-login/87383)

<div class="topic-metadata">

**Author:** [@bvanleenen](https://forum.shopware.com/u/bvanleenen)\
**Antworten:** 4\
**Zuletzt aktualisiert:** [5. Mai 2021 um 10:43 UTC](https://forum.shopware.com/t/blank-admin-screen-after-login/87383 "2021-05-05T10:43:48Z")

</div>

Hi, I have updated our test environment to Shopware 6.4. this morning. I didnt get any error messages. But i cant get in anymore. After the login i get a blank screen. Anyone experienced the same problem? Ciao, Bur…

---

## [How to add user permissions for the new module on the admin side?](https://forum.shopware.com/t/how-to-add-user-permissions-for-the-new-module-on-the-admin-side/87353)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [4. Mai 2021 um 05:57 UTC](https://forum.shopware.com/t/how-to-add-user-permissions-for-the-new-module-on-the-admin-side/87353 "2021-05-04T05:57:34Z")

</div>

Hi I have created a plugin. I have a backend listing. So I want to restrict some of the admin users from viewing my menu on the admin side. How to do this by Shopware user permissions by coding?

---

## [How to save state of the custom block while saving the product?](https://forum.shopware.com/t/how-to-save-state-of-the-custom-block-while-saving-the-product/87310)

<div class="topic-metadata">

**Author:** [@valeria.zaviriukha](https://forum.shopware.com/u/valeria.zaviriukha)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [30. April 2021 um 15:22 UTC](https://forum.shopware.com/t/how-to-save-state-of-the-custom-block-while-saving-the-product/87310 "2021-04-30T15:22:02Z")

</div>

Hi everyone! I will be grateful for your advice! I need to save state of the custom switch in the product. To the file sw-product-basic-form.html.twig i added this switch. When the state of the switch changes it shows …

---

## [Solved: ChildLineItems are set to quantity 0](https://forum.shopware.com/t/solved-childlineitems-are-set-to-quantity-0/87306)

<div class="topic-metadata">

**Author:** [@euroxid](https://forum.shopware.com/u/euroxid)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [30. April 2021 um 12:48 UTC](https://forum.shopware.com/t/solved-childlineitems-are-set-to-quantity-0/87306 "2021-04-30T12:48:13Z")

</div>

There is a bug in Shopware 6, where the quantity of ChildLineItems is set to 0 if any discounts are present. The reason is that for the discount calculation, the items are „attempted“ to be cloned in LineItem::createFro…

---

## [Shopware administration module not showing up after administration:build](https://forum.shopware.com/t/shopware-administration-module-not-showing-up-after-administration-build/86939)

<div class="topic-metadata">

**Author:** [@marcelbeks](https://forum.shopware.com/u/marcelbeks)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [19. April 2021 um 07:53 UTC](https://forum.shopware.com/t/shopware-administration-module-not-showing-up-after-administration-build/86939 "2021-04-19T07:53:56Z")

</div>

I’m building a Shopware plugin with part storefront and part administration. The storefront part is working fine, but I can’t get the administration part to show up in the menu on the admin page with the administration:b…

---

## [Vagrant installation fails because of server php version on windows](https://forum.shopware.com/t/vagrant-installation-fails-because-of-server-php-version-on-windows/86862)

<div class="topic-metadata">

**Author:** [@mikhail.kuchukhidze](https://forum.shopware.com/u/mikhail.kuchukhidze)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [30. April 2021 um 07:23 UTC](https://forum.shopware.com/t/vagrant-installation-fails-because-of-server-php-version-on-windows/86862 "2021-04-30T07:23:31Z")

</div>

Hello! I am getting this following error when executing vagrant up command on windows 10: This seems like an easy error to correct but I didn’t manage, can you please help?

---

## [Category Import](https://forum.shopware.com/t/category-import/70560)

<div class="topic-metadata">

**Author:** [@mindray](https://forum.shopware.com/u/mindray)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [29. April 2021 um 16:13 UTC](https://forum.shopware.com/t/category-import/70560 "2021-04-29T16:13:07Z")

</div>

We tried to move a shop from Prestashop 1.6 to Shopware 6. As there is no suitable plugin, we used a shopware5 installation and used the migration tool to migrate from Prestashop to Shopware5 and from Shopware5 to Shopwa…

---

## [How to get a product link for Qr-code?](https://forum.shopware.com/t/how-to-get-a-product-link-for-qr-code/87280)

<div class="topic-metadata">

**Author:** [@valeria.zaviriukha](https://forum.shopware.com/u/valeria.zaviriukha)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [29. April 2021 um 07:52 UTC](https://forum.shopware.com/t/how-to-get-a-product-link-for-qr-code/87280 "2021-04-29T07:52:33Z")

</div>

Hi! I am working on creating a plugin for generating Qr-code for product. The product link must be encrypted in this qr-code. The block with qr will be shown on the product page in the admin panel. The qr-code image chan…

---

## [Loading external stylesheet / script](https://forum.shopware.com/t/loading-external-stylesheet-script/87241)

<div class="topic-metadata">

**Author:** [@firemultimedia](https://forum.shopware.com/u/firemultimedia)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [28. April 2021 um 15:40 UTC](https://forum.shopware.com/t/loading-external-stylesheet-script/87241 "2021-04-28T15:40:38Z")

</div>

Hi all, I tried loading an external stylesheet from typekit, but I can’t seem to figure out how to do this in a custom theme. I’ve created a custom theme as mentioned in the shopware docs. But there is nowhere mention o…

---

## [Unable to generate document. Only versioned orders can be used for document generation](https://forum.shopware.com/t/unable-to-generate-document-only-versioned-orders-can-be-used-for-document-generation/87198)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [28. April 2021 um 08:07 UTC](https://forum.shopware.com/t/unable-to-generate-document-only-versioned-orders-can-be-used-for-document-generation/87198 "2021-04-28T08:07:27Z")

</div>

Hi When I am trying to download a „Cancellation bill“ from admin order details I am getting the following error and the file is not downloading {"errors":\[{"status":"400","code":"DOCUMENT\_\_GENERATION\_ERROR","title":"B…

---

## [Double optin for newsletter registrations via check box in account](https://forum.shopware.com/t/double-optin-for-newsletter-registrations-via-check-box-in-account/87184)

<div class="topic-metadata">

**Author:** [@creationell](https://forum.shopware.com/u/creationell)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [27. April 2021 um 14:38 UTC](https://forum.shopware.com/t/double-optin-for-newsletter-registrations-via-check-box-in-account/87184 "2021-04-27T14:38:18Z")

</div>

We have read the docs: here. Theoretically we should get the double optin mail in case, if we activated the business event double optin. We did activate this event for all sales channels, but when the customer use the ch…

---

## [Create Product Properties via REST API](https://forum.shopware.com/t/create-product-properties-via-rest-api/87161)

<div class="topic-metadata">

**Author:** [@a.naber](https://forum.shopware.com/u/a.naber)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [27. April 2021 um 07:31 UTC](https://forum.shopware.com/t/create-product-properties-via-rest-api/87161 "2021-04-27T07:31:02Z")

</div>

Hi all, Does anybody know how to create product properties via REST API in version 6? I woul appreciate if you could send me an example. Thanks in advance, Ali

---

## [Get all (featured) products in a category and all it's subcategories](https://forum.shopware.com/t/get-all-featured-products-in-a-category-and-all-its-subcategories/87131)

<div class="topic-metadata">

**Author:** [@AlexBS](https://forum.shopware.com/u/AlexBS)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [25. April 2021 um 22:15 UTC](https://forum.shopware.com/t/get-all-featured-products-in-a-category-and-all-its-subcategories/87131 "2021-04-25T22:15:09Z")

</div>

Hello, I have a CategoryEntity object and I want to search it and all subcategories for all products, that are featured. How do I look in the actual category and all subcategories How do I filter for the featured attr…

---

## [Development template issue on bin/watch-administration.sh](https://forum.shopware.com/t/development-template-issue-on-bin-watch-administration-sh/87129)

<div class="topic-metadata">

**Author:** [@Zirc75](https://forum.shopware.com/u/Zirc75)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [25. April 2021 um 12:29 UTC](https://forum.shopware.com/t/development-template-issue-on-bin-watch-administration-sh/87129 "2021-04-25T12:29:14Z")

</div>

Hi all, I get this error when running bin/watch-administration command, do you have any hint? \> administration@1.0.0 dev \> mode=development webpack-dev-server # Compiling with Webpack configuration # Development mode …

---

## [Custom icon](https://forum.shopware.com/t/custom-icon/62651)

<div class="topic-metadata">

**Author:** [@ivanb](https://forum.shopware.com/u/ivanb)\
**Antworten:** 7\
**Zuletzt aktualisiert:** [24. April 2021 um 15:02 UTC](https://forum.shopware.com/t/custom-icon/62651 "2021-04-24T15:02:33Z")

</div>

Hello, Is it possible to create a custom icon that will be used on the administration module, since I don’t want to use existing icons?

---

## [.. shipping costs according to the value of the shopping cart?](https://forum.shopware.com/t/shipping-costs-according-to-the-value-of-the-shopping-cart/87118)

<div class="topic-metadata">

**Author:** [@oern](https://forum.shopware.com/u/oern)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [24. April 2021 um 08:53 UTC](https://forum.shopware.com/t/shipping-costs-according-to-the-value-of-the-shopping-cart/87118 "2021-04-24T08:53:10Z")

</div>

Hello everyone, I would like to set the shipping costs according to the value of the shopping cart, for example 10% up to a total of 1000 €. Is something like that possible, I haven’t found a way yet and would be happy…

---

## [Plugin Subscriber issue](https://forum.shopware.com/t/plugin-subscriber-issue/86860)

<div class="topic-metadata">

**Author:** [@hasan.h](https://forum.shopware.com/u/hasan.h)\
**Antworten:** 12\
**Zuletzt aktualisiert:** [14. April 2021 um 10:52 UTC](https://forum.shopware.com/t/plugin-subscriber-issue/86860 "2021-04-14T10:52:39Z")

</div>

I created a shopware plugin but when I tried to add an event subscriber, I got this error: " (2/2) ReflectionException The autoloader expected class „ConfigurationPlugin\\Subscriber\\Subscriber“ to be defined in file „/us…

---

## [Memory error when generating order items](https://forum.shopware.com/t/memory-error-when-generating-order-items/87080)

<div class="topic-metadata">

**Author:** [@magnus](https://forum.shopware.com/u/magnus)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [22. April 2021 um 11:25 UTC](https://forum.shopware.com/t/memory-error-when-generating-order-items/87080 "2021-04-22T11:25:42Z")

</div>

Hello First time I try to install Shopware. All works well until I run the psh.phar install. On the step „Generating 60 items for order“ I get error: Error: Allowed memory size of … If I check the memory limit (php -i…

---

## [How to access database in module and the pages of the module](https://forum.shopware.com/t/how-to-access-database-in-module-and-the-pages-of-the-module/86925)

<div class="topic-metadata">

**Author:** [@satvikshukla10122000](https://forum.shopware.com/u/satvikshukla10122000)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [22. April 2021 um 04:21 UTC](https://forum.shopware.com/t/how-to-access-database-in-module-and-the-pages-of-the-module/86925 "2021-04-22T04:21:18Z")

</div>

I am having problems as i don’t know how i can access the database or call some service from my module pages. Please help.

---

## [Console Adminstration build put files to wrong folder](https://forum.shopware.com/t/console-adminstration-build-put-files-to-wrong-folder/87059)

<div class="topic-metadata">

**Author:** [@towo1977](https://forum.shopware.com/u/towo1977)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [21. April 2021 um 19:50 UTC](https://forum.shopware.com/t/console-adminstration-build-put-files-to-wrong-folder/87059 "2021-04-21T19:50:27Z")

</div>

i´m doing the academy currently. the advanced developer there i´m extending the backend like told in the video. if i compille the administration the public files are copied to „towo“ and not „towobundle“ in the public…

---

## [Overwriting the default value from ProductDefinition](https://forum.shopware.com/t/overwriting-the-default-value-from-productdefinition/87051)

<div class="topic-metadata">

**Author:** [@harun.buljubasic](https://forum.shopware.com/u/harun.buljubasic)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [21. April 2021 um 12:09 UTC](https://forum.shopware.com/t/overwriting-the-default-value-from-productdefinition/87051 "2021-04-21T12:09:54Z")

</div>

How to overwrite the default values from ProductDefinition.php (getDefaults())?

---

## [In my plugin module there is a page. On that page i want that when i click a button it executes some function in a php file](https://forum.shopware.com/t/in-my-plugin-module-there-is-a-page-on-that-page-i-want-that-when-i-click-a-button-it-executes-some-function-in-a-php-file/87024)

<div class="topic-metadata">

**Author:** [@satvikshukla10122000](https://forum.shopware.com/u/satvikshukla10122000)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [21. April 2021 um 06:03 UTC](https://forum.shopware.com/t/in-my-plugin-module-there-is-a-page-on-that-page-i-want-that-when-i-click-a-button-it-executes-some-function-in-a-php-file/87024 "2021-04-21T06:03:22Z")

</div>

Where should i place that php file and how can that function be called on clicking of that button. Pls help.

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

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