Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    can anyone tell me how to fetch categories from repositori
    i want to load these categories on storefront can any one help me which steps should i have to follow to do this?
    how to load 10 products on page load on storefront with category filter and page number?
    I am new to coding in shopware. Can someone kindly advise me how to add breadcrumb in product-detail-page? Thank you.
    The breadcrumb is only showing in categories page, not in product-detail-page...

    Hello, can somebody tell me where the price rules for the articles are used?
    We have a shop where all product prices are 0€ because each customer is assigned an price list (1-10) and we have a price rule for each price list.

    In the Listing, Detail, Search, Cart simply everywhere the price is printed as 0€.
    Even in the Cart.

    It looks like the Price Rules are completly ignored and not used… or am i missing a config or something else to get this working?

    Alexander Lausten

    Whats your issue with the OneToOneAssociationField?

    I just used it without any problems on

    Hi everyone, I am new to Shopware 6. I've been working on a project for a week and a half I had added custom css styles imported into all.css file. The custom.css file I placed it in /public/css/ directory and there was no problem. Once I decided I wanted to change the theme colors from the backend, it must have overwritten all my changes after the change and now it says it can't find my custom.css file (404 not found). Can you help me where exactly I need to import the custom.css file to get it detected. I read the documentation that by default Shopware 6 searches in base.scss and that is where it should be added, but nothing comes up. Could you give me some advice. Оne of the biggest problems is that I don't even have a backup to bring back the old version of the site before I change the theme colors.
    :( . Thanks in advance.
    1 reply
    can somebody help me how can I extend twig block 'AAA' plugin in my 'BBB' plugin ?
    {% sw_extends '@AAA/storefront/test.html.twig' %}
    it doesn't work
    Sumit Khunger

    I am new to Shopware community

    Can anyone please tell me where to get "sw-context-token" in Shopware6 using store APIs, I need to fetch orders but the order API gives the following response :
    { "errors": [ { "status": "403", "code": "CHECKOUT__CUSTOMER_NOT_LOGGED_IN", "title": "Forbidden", "detail": "Customer is not logged in.", "meta": { "parameters": [] } } ] }

    Says you will get "sw-context-token" after login but this API response throws the following error.

    "errors": [ { "status": "400", "code": "FRAMEWORK__MISSING_REQUEST_PARAMETER", "title": "Bad Request", "detail": "Parameter "sw-context-token" is missing.", "meta": { "parameters": { "parameterName": "sw-context-token" } } } ] }

    Mubashar Ahmad
    PHP Fatal error: Uncaught Doctrine\DBAL\SQLParserUtilsException: Value for :shopId not found in params array. Params array key should be "shopId" in C:\wamp\www\tie-solutions\vendor\doctrine\dbal\lib\Doctrine\DBAL\SQLParserUtilsException.php:21
    I am facing this exception on localhost
    anyone can help me
    Mubashar Ahmad
    ./psh.phar administration:watch
    Can you write where you compile it according to your own systems?
    I'm about to go crazy...
    Ingo Steinke
    Hi all, hi @fanetwork @zanysoft @khungersumit:matrix.org , sorry to tell you this chat is deprecated, but there is an active slack community with friendly people who might have answers to your questions at https://shopwarecommunity.slack.com/
    I'm experiencing a weird error right now. All my api requests to the admin api end in a 504 Gateway timed-out
    How do I use the ApiService base class?
    In the past I could simple do MyService extends ApiService and the super constructor. But now the Shopware object only returns the api-service.factory.js and not the base class. How can I still use the api.service.js class when I'm not allowed to use src importy from the shopware core.
    1 reply
    Ben Le
    I has custom enity and create custom page in backend for listing, but i have problem with cache in production mode, listing change in database but not change in list backend, how clear cache only for list entity every time reload browser ?
    What is the right dockware image to administration plugin development? Actually i'm using the contribute image. I've pulled the custom module example from github and build with "./psh.phar administration:build". In the debug window of my browser (Chrome/Firefox) i can that the created js file was load. But there is no new entry in the menu below "Settings"
    Is this the right place to ask for help with shopware 6 api search?
    Dominik Hilser
    @mitrovicsinisaa someone answered your question about the composer certificate/cafile problem on Mac OS using docker and docker-sync? Because i am running in the same issue right now. Have you found a solution so far?
    I'm trying to get a product using the Admin API with inheritance. The attribute that seems to be missing is name, but even when I use sw-inheritance: 1 as a header it doesn't deliver the name. Any help?
    Hello, I have installed the Shopware 6 developer Version on a vHost Server. The steps on the docs are finished - but I can't open the admin in the Browser. App URL in the .psh.yaml.dist are "http://xyz.com:8000" - the conf File Directory is the public Folder from Shopware 6.
    Nils Harder
    From some version of shopware 6 the overriding of Component.override('sw-order-line-items-grid', { does not work any more. Did anyone experience the same?

    Hey guys,

    is there any know possibility in SW6 to group product variants by an attribute (e.g. color) and list these "virtual products" as seperate products in the listing pages? When I click on one of these I come to the same product but with the color pre-selected.

    Adrian Alin
    I'm trying to get the customer wishlist count in js by using the window.PluginManager.getPluginInstanceFromElement(wishlistBasketElement, 'WishlistStorage'); it works fine for the guest user where the wishlist is in the cookey but for customers, it shows 0 and if I do a dump in twig under context > customer > wishlist is null even if I got products in the basket.

    Hey there :)
    I am working on the Shopware 6 Advanced Developer Course.
    Does anyone have an idea as to why my CartProcessor/ -Collector doesn't allow me to change the Quantity of the Bundle?
    Code of the Processor/ Collector: https://pastebin.com/P4N3ymkx

    I really hope someone will be able to help me... ^^

    Adrian Alin
    Hey, do I need to create my own component if I want to style an input field from plugin configuration? O can I do some CSS magic :D
    Hallo every , i have a question , now i try to override function register of Shopware 6.
    i created Plugin and i define new route ... but i have a problem when i run code
    Screenshot 2022-06-28 at 00.59.35.png
    Hi, How to create Criteria for fetching products that do not have assigned products in any cross-selling?
    Hey, Accessor product.tags.name is not allowed in this api scope => store-api, is there no way filtering products by tag name?

    Hello, Is it possible to call webhook on plugin created route with the scope => api?
    Actually I'm getting an error of authorization while registering my route in aftership platform. And even on my frontend "errors":[{"code":"0","status":"401","title":"Unauthorized","detail":"Header \u0022sw-access-key\u0022 is required."}]}

    how can we pass this sw-access-key from the plugin?

    Hi, in my cms-element I do a request form the user repository that I created with "this.repositoryFactory.create('user'). When the section is saved an I reload the page or open it again i get the following error: {errors: [{status: "400", code: "FRAMEWORK__INVALID_UUID", title: "Bad Request",
    "Value is not a valid UUID: ed64b0791c5748f281ed8a8d4a69b44d,2082a6c2dffa40809132b5f1da0ad27b,ad2f72c30b524298a9a09c4cdca569b4,7e8800711cdc4c65a82e7595174dafef"
    Any idea on how to get the valid uuid from the user? Thanks in advance!
    How to create route in shopware 6 cloud App to register a route in different platform's webhook
    I'm trying to create a route in shopware 6 cloud app so that I can register that route in different platform's Webhook and work in my own programming language known and work with Shopware 6 order API for transaction changes.
    I didn't get any reference doc. or plugin in github.
    So can someone help me out with this ?
    can someone recommend refresh app in shopware 6 relatable
    Payal Tpss

    Hi @all

    I'm having this issue while creating a new sales channel for Austria

    TypeError: Cannot read properties of undefined (reading 'code')
    at /bundles/swaglanguagepack/administration/js/swag-language-pack.js?16675399602455350:1:307413
    at Array.map (<anonymous>)
    at a.snippetSetCriteria (/bundles/swaglanguagepack/administration/js/swag-language-pack.js?16675399602455350:1:307380)
    at xn.get (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1255813)
    at xn.evaluate (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1256953)
    at a.snippetSetCriteria (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1258812)
    at a.eval (eval at ls ( /bundles/administration/static/js/vendors-node.js?16675325731632908:2:1321510), <anonymous>:3:3855)
    at e._render (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1264422)
    at a.i (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1297532)
    at xn.get (/bundles/administration/static/js/vendors-node.js?16675325731632908:2:1255813)
    "url" => "/admin#/sw/sales/channel/create/8a243080f92e4c719546314b577cf82b/base"

    Can someone help me out
    hello, i have an issue after migrating a multi-domain shop from sw5 to sw6, i cannot set the language-text-snippet for the 2nd channel, also cloning the language-text-snippet already in use by the 1st channel doesnt make it appear in the dropdown (in fact the dropdown is empty), this means i cannot add the domain
    How to verification of shop domain (shopware) with my localsytem (virtualhost like abcdemo.xyz)
    Please guide me step by step
    {"errors":[{"code":"9","status":"401","title":"The resource owner or authorization server denied the request.","detail":"The JWT string must have two dots"}]}
    Anyone idea whats wrong?