Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    help me
    Cs Soft
    Hello All
    Anyone please help me how can I add a random product to cart , I created controller , need to know which function will add random product to cart.
    Benjamin Hedrich
    Hi there, does anyone know how can convert a childproduct to a "flat" product (a normal product which is not a child of a parent product) without deleting it via api?
    Hello I have a problem , I am trying adjust my plugin from 6.3 shopware to 6.4 and i have got a problem with
    Shopware\Storefront\Controller\CheckoutController" has no container set, did you forget to define it as a service subscriber? (500 Internal Server Error)
    Is here someont who could help me?
    Payal Patel

    Hello all,

    I have one custom module and I need to get properties list in this module as a multi-select.
    How it's possible in shopware 6?

    Hello Everyone,
    why my plugin is not working After shopware 6.4 upgradation?
    It says
    Unable to load template "storefront/section/cms-section-half-width.html.twig". (Looked into: Framework, Profiling, Administration, Elasticsearch, FroshPlatformAdminer, UltraDeveloper, DneTemplateManager, DneCustomCssJs, Storefront)
    Question guys:
    I've uploaded my database from a testenviroment to live, and the files aswell, and now all images have broken paths.. Is there any way to fix this ?
    Hello everyone i have a problem with bin/watch-storefront.sh command it is watching everything but when i come to https://www.shopware-new.loc:9998/
    this url i get error on picture
    Shopware 6.4 update: the plugin is not working after shopware update its gives an error
    Aron Homberg
    Hey all :) I'm new to Shopware - just checked the code etc. I didn't want to deploy my own instance... just wanted to start with a free hosted instance (cloud free plan). When trying to use the Store API I always get 404... do I need to use another API endpoint URL than the public $myName.shopware.store? Does these instances don't have the API enabled?
    Hi all! I'm new to shopware. I've implemented a CI workflow from github with 6.4.0. The build and deploy succeeded, storefront seems ok, but surfing /admin i get a net::ERR_CONTENT_DECODING_FAILED 200 (OK) on /bundles/administration/static/js/vendors-node.js?16218776821494697 and /bundles/administration/static/js/app.js?16218776825559247. Do any of you have any good advice to investigate the error?
    UPDATE: disabling gzip/brotli compression we can surf /admin correctly
    Patrick van Limburg
    Goodday all, kinda new to shopware. Have used in the past Shopware 5, but then switched over to an other platform. Now with SW6 I would like to make a fresh start. Have installed it and everything is correct. But after the install, I get an internal 500 error with : {"errors":[{"code":"0","status":"500","title":"Internal Server Error","detail":"Attempted to load class \u0022BundleHierarchyBuilder\u0022 from namespace \u0022Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\u0022.\nDid you forget a \u0022use\u0022 statement for another namespace?"}]} any idea where I must look at this error ?
    Yogesh Makwana

    Hi, I need help,

    I am trying to connect in shopware 6 for api/v1/integration

    but somehow getting below error..

        [errors] => Array
            [0] => Array
                    [code] => 0
                    [status] => 404
                    [title] => Not Found
                    [detail] => No route found for "GET /api/v1/integration"

    Can anyone please help me

    Markus Wendorf
    Was anyone able to get the child categories association via /store-api/v3/category/{id} (field name is: "children")? Tried with association "children" and "category"
    Mergim Doroci

    Hi everyone, while trying bin/console sitemap:generate I receive the following error:

    07:24:12 CRITICAL [console] Error thrown while running command "sitemap:generate". Message: "Provided language 3596b9b6539e4211b0b54e3 is not in list of available languages: " ["exception" => RuntimeException { …},"command" => "sitemap:generate","message" => "Provided language 3596b9b6539e4211b0b54e3f57bb1f63 is not in list of available languages: "]

    In SalesChannelContextFactory.php line 484:

    Provided language 3596b9b6539e4211b0b54e3 is not in list of available languages

    I saw that also many other people had this problem. Does anyone know the solution ? Thank you

    Ali Hassan

    Hello guys I am using shopware 6 apis to insert/update product data, but I am getting the following error
    /4/sales This field is write-protected.

    Any trick or method to bypass this so that sales field of products can be updated via api, thanks?

    hello, i'm trying to get the default development server settings working (localhost:8080) using the docker-compose approach, however i can't reach the server from my host, localhost:8000 does work
    This message was deleted
    Yogesh Makwana
    Is it possible to fetch a product from product number in shopware 6 using API?
    2 replies
    Levon Atoyan
    Hi there, guys check our new powerful tool for shopware 6.
    Bob Maier
    For some reason only two countries are displayed in my registration form in shopware 6. I've got about 250 active countries in the admin backend, and they're all in the database, with a "1" in the "active"-column, but only Germany and Spain and displayed in the drop down menu. The menu-form iterates through page.countries and there are only those two countries in said location (I checked with dump). I can't find any significant differences in the country-table in the database. So whyyyy are only those two countries ín page.countries?!
    1 reply
    Hello all, I have installed shopware on my server using CLI and I get following error. Key path "file:///home/user/public_html/shopware6412/config/jwt/public.pem" does not exist or is not readable
    I tried changing it's permissions to 0777 but then I get error "User Notice: Key file "file:///home/user/public_html/shopware6412/config/jwt/public.pem" permissions are not correct, recommend changing to 600 or 660 instead of 777
    1 reply
    Hi everyone,
    I have an issue, i'm extending from product slider in shopware default.
    Currently, i want to set up dynamic products in a slide (from 1-4 products), how should i write css or javascript? Shopware uses default 3 products/slide.
    Thank everyone.
    when i am trying to create a custom page using controller i am getting this error Argument 1 passed to SwagQuickstartTheme\Storefront\Controller\ExampleController::__construct() must be an instance of SwagQuickstartTheme\Storefront\Controller\ExamplePageLoader, instance of Shopware\Storefront\Page\GenericPageLoader given, called in /var/www/html/var/cache/dev_h89d500b84530a5dcf60d76ed1a15bcf1/ContainerXmEQ7va/Shopware_Production_KernelDevDebugContainer.php on line 8871
    please anyone help me with this
    Hello, we have a little Shopware 6 shop where we want to keep synchron a few sales channel in another Shopware 6. Ìm not a developer but I have heard there is a solution way over sales channel and twig. Can anyone help me here and what is the effort to do this?
    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' %}