# Shopware 6 (English)

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

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

**Page:** 48

---

## [How to pass data to the storefront view page from subscriber?](https://forum.shopware.com/t/how-to-pass-data-to-the-storefront-view-page-from-subscriber/64758)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [17. Februar 2020 um 09:21 UTC](https://forum.shopware.com/t/how-to-pass-data-to-the-storefront-view-page-from-subscriber/64758 "2020-02-17T09:21:24Z")

</div>

Hi I have an event subscriber public static function getSubscribedEvents(): array { return \[ ProductEvents::PRODUCT\_REVIEW\_LOADED =\> ‘onProductReviewLoads’ \]; } public …

---

## [Are there any hooks in shopware 6?](https://forum.shopware.com/t/are-there-any-hooks-in-shopware-6/63881)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [14. Februar 2020 um 08:28 UTC](https://forum.shopware.com/t/are-there-any-hooks-in-shopware-6/63881 "2020-02-14T08:28:08Z")

</div>

I want to replace the “mapCustomerData”(Shopware\\Core\\Checkout\\Customer\\SalesChannel\\AccountRegistrationService) function with some custom modifications.Are there any hooks in shopware 6?

---

## [CLI dev mode + AWS S3 file storage](https://forum.shopware.com/t/cli-dev-mode-aws-s3-file-storage/64671)

<div class="topic-metadata">

**Author:** [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [13. Februar 2020 um 09:12 UTC](https://forum.shopware.com/t/cli-dev-mode-aws-s3-file-storage/64671 "2020-02-13T09:12:53Z")

</div>

Hi If you install the SW6 from the production repo from GitHub, through the CLI in dev mode, and try to set AWS S3 as file storage, the storefront does not build the path to the style sheet correctly instead of myawsbu…

---

## [Blank Response in every Create Resourse API  -  Shopware 6](https://forum.shopware.com/t/blank-response-in-every-create-resourse-api-shopware-6/64543)

<div class="topic-metadata">

**Author:** [@ronaksolanki10](https://forum.shopware.com/u/ronaksolanki10)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [12. Februar 2020 um 12:50 UTC](https://forum.shopware.com/t/blank-response-in-every-create-resourse-api-shopware-6/64543 "2020-02-12T12:50:26Z")

</div>

Hello, Thank you in advance For example, here I am creating the product, the product is inserting well while as a response, I receive nothing even success or error status just product gets stored perfectly if I did …

---

## [Which one is the most used Shipping API service in the UK?](https://forum.shopware.com/t/which-one-is-the-most-used-shipping-api-service-in-the-uk/64542)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [7. Februar 2020 um 12:18 UTC](https://forum.shopware.com/t/which-one-is-the-most-used-shipping-api-service-in-the-uk/64542 "2020-02-07T12:18:45Z")

</div>

Which one is the most used Shipping API service in the UK?

---

## [API - 400 Bad Request, Your browser sent a request that this server could not understand](https://forum.shopware.com/t/api-400-bad-request-your-browser-sent-a-request-that-this-server-could-not-understand/64533)

<div class="topic-metadata">

**Author:** [@ronaksolanki10](https://forum.shopware.com/u/ronaksolanki10)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [7. Februar 2020 um 09:07 UTC](https://forum.shopware.com/t/api-400-bad-request-your-browser-sent-a-request-that-this-server-could-not-understand/64533 "2020-02-07T09:07:26Z")

</div>

Hello, Thank you in advance. I am trying to get the manufacturer using the API. For example $queryString = ‚‘; if (!empty($params)) { $queryString = http\_build\_query($params); } …

---

## [Custom Fields in Category](https://forum.shopware.com/t/custom-fields-in-category/64338)

<div class="topic-metadata">

**Author:** [@mdoroci](https://forum.shopware.com/u/mdoroci)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [29. Januar 2020 um 11:34 UTC](https://forum.shopware.com/t/custom-fields-in-category/64338 "2020-01-29T11:34:40Z")

</div>

Hi guys, does anyone know how to access a custom field assigned to a category. For the products I do : {{ element.data.product.customFields.xxxx }} How should I do for category? Thanks in advance

---

## [CSS Cart Broken](https://forum.shopware.com/t/css-cart-broken/64306)

<div class="topic-metadata">

**Author:** [@dylan\_sd](https://forum.shopware.com/u/dylan_sd)\
**Antworten:** 5\
**Zuletzt aktualisiert:** [28. Januar 2020 um 15:08 UTC](https://forum.shopware.com/t/css-cart-broken/64306 "2020-01-28T15:08:37Z")

</div>

Hi there, The CSS doesn’t load when adding a product to the cart. It will show me the following page Did somebody else experience the same issue?

---

## [request.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException](https://forum.shopware.com/t/request-error-uncaught-php-exception-symfony-component-httpkernel-exception-notfoundhttpexception/64302)

<div class="topic-metadata">

**Author:** [@dylan\_sd](https://forum.shopware.com/u/dylan_sd)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [28. Januar 2020 um 14:23 UTC](https://forum.shopware.com/t/request-error-uncaught-php-exception-symfony-component-httpkernel-exception-notfoundhttpexception/64302 "2020-01-28T14:23:33Z")

</div>

Hi, The contact link in the footer isn’t working for me. I see the following error in the var/log/prod.log: request.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: “No route …

---

## [Error updating from sw6 ea2 to 6.1](https://forum.shopware.com/t/error-updating-from-sw6-ea2-to-6-1/64203)

<div class="topic-metadata">

**Author:** [@SorinSologics2019](https://forum.shopware.com/u/SorinSologics2019)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [23. Januar 2020 um 09:45 UTC](https://forum.shopware.com/t/error-updating-from-sw6-ea2-to-6-1/64203 "2020-01-23T09:45:37Z")

</div>

Hello everybody! We are trying to update from ea2 to 6.1 but we are getting this error when running the update on database migration step: Error Received an error message. URL: applyMigrations?offset=0&total=0&modus=up…

---

## [SW-6 Production](https://forum.shopware.com/t/sw-6-production/64127)

<div class="topic-metadata">

**Author:** [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [20. Januar 2020 um 13:53 UTC](https://forum.shopware.com/t/sw-6-production/64127 "2020-01-20T13:53:22Z")

</div>

Hi, everyone! There are some major differences between the zip provided by the shopware site and the one in GitHub Which one should be used for production?

---

## [Possible Bug: Undefined index label by Theme refresh](https://forum.shopware.com/t/possible-bug-undefined-index-label-by-theme-refresh/61472)

<div class="topic-metadata">

**Author:** [@dev\_ht](https://forum.shopware.com/u/dev_ht)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [17. Januar 2020 um 11:17 UTC](https://forum.shopware.com/t/possible-bug-undefined-index-label-by-theme-refresh/61472 "2020-01-17T11:17:19Z")

</div>

Hello, After upgrading to Shopware 6 EA 1.1, I get the following error when refreshing a theme: $ bin/console theme:refresh In ThemeLifecycleService.php line 253: Notice: Undefined index: label The theme.json file has…

---

## [Cannot read property 'api' of undefined  - Shopware.Context.api](https://forum.shopware.com/t/cannot-read-property-api-of-undefined-shopware-context-api/64053)

<div class="topic-metadata">

**Author:** [@michal\_bnet](https://forum.shopware.com/u/michal_bnet)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [16. Januar 2020 um 14:56 UTC](https://forum.shopware.com/t/cannot-read-property-api-of-undefined-shopware-context-api/64053 "2020-01-16T14:56:52Z")

</div>

hi following this example plugin https://github.com/shopware/swag-docs-bundle-example in file swag-docs-bundle-example/src/Resources/app/administration/src/module/swag-bundle/page/swag-bundle-list/ index.js i am g…

---

## [Shopware custom plugin not generating public folder](https://forum.shopware.com/t/shopware-custom-plugin-not-generating-public-folder/63973)

<div class="topic-metadata">

**Author:** [@michal\_bnet](https://forum.shopware.com/u/michal_bnet)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [15. Januar 2020 um 07:12 UTC](https://forum.shopware.com/t/shopware-custom-plugin-not-generating-public-folder/63973 "2020-01-15T07:12:36Z")

</div>

i tested this shopware plugin https://github.com/shopware/swag-docs-new-tab which is linked from official shopware documentation here https://docs.shopware.com/en/shopware-platform-dev-en/how-to/new-tab-admin?category…

---

## [How to refresh the SalesChannelContext?](https://forum.shopware.com/t/how-to-refresh-the-saleschannelcontext/63981)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [14. Januar 2020 um 07:31 UTC](https://forum.shopware.com/t/how-to-refresh-the-saleschannelcontext/63981 "2020-01-14T07:31:41Z")

</div>

Hi i am using ‚SalesChannelContextSwitchEvent‘ I want to do some modifications when the currency changes. When I am changing USD to Euro $event-\>getSalesChannelContext()-\>getCurrency(); function returns the USD not …

---

## [How to use static images](https://forum.shopware.com/t/how-to-use-static-images/63979)

<div class="topic-metadata">

**Author:** [@charlotteee](https://forum.shopware.com/u/charlotteee)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [13. Januar 2020 um 23:34 UTC](https://forum.shopware.com/t/how-to-use-static-images/63979 "2020-01-13T23:34:54Z")

</div>

Hi there, I have a problem to use the image located here: MyTheme/src/Resources/app/storefront/src/assets/image/1.jpg Normally in html, we just do or for SVG we do But in the browser it reported couldn’t find…

---

## [In Shopware6  plugin configuration multiselect input type is not working ?](https://forum.shopware.com/t/in-shopware6-plugin-configuration-multiselect-input-type-is-not-working/63781)

<div class="topic-metadata">

**Author:** [@bhavya](https://forum.shopware.com/u/bhavya)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [13. Januar 2020 um 13:16 UTC](https://forum.shopware.com/t/in-shopware6-plugin-configuration-multiselect-input-type-is-not-working/63781 "2020-01-13T13:16:12Z")

</div>

\*\*Dear All, In Shopware6 plugin configuration multiselect input type is not working ? Single select input type is working fine , but multi-select is not working . below is the syntax for multi-select. if i missed some…

---

## [Documentation HowTo Create Form Block](https://forum.shopware.com/t/documentation-howto-create-form-block/63964)

<div class="topic-metadata">

**Author:** [@oliverriske](https://forum.shopware.com/u/oliverriske)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [13. Januar 2020 um 11:07 UTC](https://forum.shopware.com/t/documentation-howto-create-form-block/63964 "2020-01-13T11:07:57Z")

</div>

Could yyou please provide a HowTo for implementing individual Forms?

---

## [Slim Application Error -  installation of Shopware 6 on local computer](https://forum.shopware.com/t/slim-application-error-installation-of-shopware-6-on-local-computer/61478)

<div class="topic-metadata">

**Author:** [@anatol06](https://forum.shopware.com/u/anatol06)\
**Antworten:** 20\
**Zuletzt aktualisiert:** [12. Januar 2020 um 19:23 UTC](https://forum.shopware.com/t/slim-application-error-installation-of-shopware-6-on-local-computer/61478 "2020-01-12T19:23:26Z")

</div>

Problem with installations of Shopware 6 on local computer - XAMPP, Laragon In downloaded the Shopware 6 archive last version from Shopware website. Before installation Shopware shows all necessary parameters GREEN. D…

---

## [What is the URL to the company registration page in shopware6?](https://forum.shopware.com/t/what-is-the-url-to-the-company-registration-page-in-shopware6/63858)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [8. Januar 2020 um 12:02 UTC](https://forum.shopware.com/t/what-is-the-url-to-the-company-registration-page-in-shopware6/63858 "2020-01-08T12:02:10Z")

</div>

In shopware 5 we have a company registration page (https://www.shopwaredemo.co.uk/registerFC/index/sValidation/H) What will be the URL to the company registration page in shopware6?

---

## [Get the custom fields from the subscriber](https://forum.shopware.com/t/get-the-custom-fields-from-the-subscriber/63813)

<div class="topic-metadata">

**Author:** [@webloupe](https://forum.shopware.com/u/webloupe)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [5. Januar 2020 um 14:52 UTC](https://forum.shopware.com/t/get-the-custom-fields-from-the-subscriber/63813 "2020-01-05T14:52:17Z")

</div>

Hey, how can i get the custom fields inside the product subscriber?? I’ve tried $event-\>getPage()-\>getProduct()-\>getCustomFields() and $event-\>getPage()-\>getProduct()-\>getTranslated()\[‘customFields’\] But they are al…

---

## [How to change my timezone in shopware 6?](https://forum.shopware.com/t/how-to-change-my-timezone-in-shopware-6/63766)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [2. Januar 2020 um 06:46 UTC](https://forum.shopware.com/t/how-to-change-my-timezone-in-shopware-6/63766 "2020-01-02T06:46:44Z")

</div>

My current timezone is „Europe/Berlin“. I want to change it to ‚Asia/Calcutta‘ how to do that?

---

## [How to enable php error display in shopware 6?](https://forum.shopware.com/t/how-to-enable-php-error-display-in-shopware-6/63750)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 2\
**Zuletzt aktualisiert:** [31. Dezember 2019 um 08:58 UTC](https://forum.shopware.com/t/how-to-enable-php-error-display-in-shopware-6/63750 "2019-12-31T08:58:04Z")

</div>

How to enable php error display in shopware 6? I got the following message when php error occurs but not showing the php error? Unfortunately, something went wrong.

---

## [How to write Join condition with DAL search in shopware 6?](https://forum.shopware.com/t/how-to-write-join-condition-with-dal-search-in-shopware-6/63743)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [30. Dezember 2019 um 12:48 UTC](https://forum.shopware.com/t/how-to-write-join-condition-with-dal-search-in-shopware-6/63743 "2019-12-30T12:48:13Z")

</div>

I have 2 tables table\_A with id, name, customer\_id, sales\_channel\_id table\_B with id, table\_a\_id, product\_id, date I want to search in table\_B with conditions table\_A.customer\_id = :customer\_id And table\_A.sales\_chann…

---

## [How to create a backend module with a custom listing in shopware 6?](https://forum.shopware.com/t/how-to-create-a-backend-module-with-a-custom-listing-in-shopware-6/63706)

<div class="topic-metadata">

**Author:** [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [27. Dezember 2019 um 12:53 UTC](https://forum.shopware.com/t/how-to-create-a-backend-module-with-a-custom-listing-in-shopware-6/63706 "2019-12-27T12:53:54Z")

</div>

I want to create a custom backend module. Data for this listing have some conditions so I want to create a new file and function for the custom listing. how to do this in shopware 6? Do we need to create a new API for th…

---

## ["Duplicate product" option not available](https://forum.shopware.com/t/duplicate-product-option-not-available/63617)

<div class="topic-metadata">

**Author:** [@Arfa](https://forum.shopware.com/u/Arfa)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [19. Dezember 2019 um 12:59 UTC](https://forum.shopware.com/t/duplicate-product-option-not-available/63617 "2019-12-19T12:59:04Z")

</div>

Hi forum We just bought SW6, installed it and were setting up our shop. We wanted to copy some repetitive products and edit them afterwards, but option to duplicate (copy) products isn’t even available - see screenshot.…

---

## [createDefaultContext() method marked as  internal](https://forum.shopware.com/t/createdefaultcontext-method-marked-as-internal/63509)

<div class="topic-metadata">

**Author:** [@ivanb](https://forum.shopware.com/u/ivanb)\
**Antworten:** 0\
**Zuletzt aktualisiert:** [12. Dezember 2019 um 13:34 UTC](https://forum.shopware.com/t/createdefaultcontext-method-marked-as-internal/63509 "2019-12-12T13:34:42Z")

</div>

Hello On Shopware 6.10-RC2 version, method Context::createDefaultContext() has been marked as internal. Will our plugin pass validation if we use this method in code? And If it is forbidden, is it possible to get conte…

---

## [Strange json response /api/v1/product](https://forum.shopware.com/t/strange-json-response-api-v1-product/63453)

<div class="topic-metadata">

**Author:** [@Andreas0arttonia](https://forum.shopware.com/u/Andreas0arttonia)\
**Antworten:** 1\
**Zuletzt aktualisiert:** [11. Dezember 2019 um 12:07 UTC](https://forum.shopware.com/t/strange-json-response-api-v1-product/63453 "2019-12-11T12:07:40Z")

</div>

Hi, I’m working on a small connector between a shopware 6 test environment and another database which is gathering product data from sw. Now, I moved the project over to a new computer and from that point on the json r…

---

## [Pricing rules for specific customer groups?](https://forum.shopware.com/t/pricing-rules-for-specific-customer-groups/63348)

<div class="topic-metadata">

**Author:** [@SannNL](https://forum.shopware.com/u/SannNL)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [9. Dezember 2019 um 14:36 UTC](https://forum.shopware.com/t/pricing-rules-for-specific-customer-groups/63348 "2019-12-09T14:36:30Z")

</div>

Hello, I just installed Shopware 6 and i’m looking into the possibilities. I was wondering if it was possible to add different prices for different customer groups. When googleing i found that in shopware 5 there was a …

---

## [Download extensions/plugins for localhost?](https://forum.shopware.com/t/download-extensions-plugins-for-localhost/63372)

<div class="topic-metadata">

**Author:** [@SannNL](https://forum.shopware.com/u/SannNL)\
**Antworten:** 3\
**Zuletzt aktualisiert:** [5. Dezember 2019 um 16:02 UTC](https://forum.shopware.com/t/download-extensions-plugins-for-localhost/63372 "2019-12-05T16:02:28Z")

</div>

Hello, I’m looking into the possibilities with Shopware 6. I installed it on my Mac and am using local host. But when I want to download an extension/plugin I need to add a domain. So I chose localhost.com.nl (because …

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

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