Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Hüseyin Demirci

    import Plugin from 'src/plugin-system/plugin.class';
    import HttpClient from 'src/service/http-client.service';
    import LoadingIndicator from 'src/utility/loading-indicator/loading-indicator.util';
    import PluginManager from 'src/plugin-system/plugin.manager';

    export default class econdCrossSelll extends Plugin {

    init() {
        const me = this;
        window.econda.ready(function () {
        PluginManager.initializePlugin(me._pluginName, '.cms-element-' + me._pluginName );
        console.log(PluginManager.initializePlugin(me._pluginName, 'cms-element-' + me._pluginName ));
        me.el.innerHTML = LoadingIndicator.getTemplate();
        me._client = new HttpClient(window.accessKey);
    fetch() {
        // Vorsich bei mehrehn Widgets auf der Seite
        var widgetId = $('div[id^=ec-]')[0].dataset.widgetId;
        var csInstance = $('div[id^=ec-]')[0].dataset.crossSellInstance;
        var csConfig = btoa($('div[id^=ec-]')[0].dataset.csconfig);
        var elementType = $('div[id^=ec-]')[0].dataset.elementType;
        var request = new window.econda.recengine.Request({
            accountId: csInstance,
            widgetId: widgetId
        var econdaRecoParameters = request.getRecommendationServiceParameters();
        econdaRecoParameters['csConfig'] = csConfig;
        econdaRecoParameters['elementType'] = elementType;
        var ecdata = {
            'ec_data' : btoa(JSON.stringify(econdaRecoParameters))
        var recursiveEncoded = $.param(ecdata);
        this._client.get('/econdacrosssell?' + recursiveEncoded, (responseText) => {
            this.el.innerHTML = responseText;
    destroy() {


    Hüseyin Demirci
    no one?
    Michael Telgmann
    @HDReady_gitlab please note, that we moved to slack. see channel description
    I get a 500 on the main page of shopware, but I can't find any error messages in any log, I configured php-fpm to log to syslog but (also when I log to file) I can't find any error message from shopware why I get an 500. I'm using shopware6.2 (if that is important).
    Sebastian Wilhelm
    Hi all. We are experiencing browser cache problems with our theme's all.css. Is there a possibility to add a timestamp or a css content hash to that file so the browser notices that there is a change?
    Bei administation:wathc bekomme ich folgende Fehlermeldung:
    BaseUrl for proxy is set to "undefined"
         ⚠️  You need to add the "APP_URL" as an environment variable for compiling the code. ⚠️
    Kann mir jemand helfen?
    Das habe ich auf einem anderen Rechner bisher nicht
    Hi channel,
    I need to add a new boolean field to promotion entity. Usually I use custom fields for this purpose, but seems that promotion entity doesn't have custom fields.
    Entity extension are not meant to be used for scalar attributes. Any suggestion how to add new boolean field on promotion entity?
    Volodymyr Kupchanko
    Hello guys! I have a question concerning the functionality of the plugin update (via Admin Panel). We implement this functionality after several releases where already published and are available in the Shopware store.
    For example, a user has a 0.2 version. This version does not have the update functionality. In this case, method update will be realized via Shopware\Core\Framework\Plugin.
    In this case, Shopware will call for Update method from Shopware\Core\Framework\Plugin.
    For the next version, we have added Update functionality (e.g. 3.0). But when updating to the latest version the method from Shopware\Core\Framework\Plugin will still take place.
    How can we make Shopware perform our code in addition to Plugin::update?
    Hello everybody. Have question about shopware scheduled task (cron). I create ScheduledTask in my custom plugin, actived this plugin but this task not work. I check ScheduledTask in shopware database, there exist my task with status queued. But why it not execution? And how I see in scheduled_task database table there exist 6 tasks but no one of them no execution. Maiby need some ssh command to start them all or only one, or some else? I tried php bin/console scheduled-task:run but no effect. Shopware 6, I will be grateful for any advice, tips.
    Hi channel.. I got the issue that my shopware6 was working fine after install but suddenly my ./psh.phar doesnt work anymore. it looks like no command is done anymore
    docker:start and docker:stop didnt work anymore
    looks like its doing nothing anymore and without any error printing
    did someone got this problem before ?
    I was writing my first sw6 plugin before and somehow it wasnt showing in the plugin list.
    even there was no entry in the plugin db table after uploading the plugin zip
    i took the example monitoring plugin script and renamed it to my verion
    but even with cleaning cache the plugin never shows up
    the example from git is working
    but not my changed version
    i deleted psh.phar and checked it out again from git and now i can start docker again
    but my plugin issue still remains
    renamed the folder and the class and namespace and so on.. but it wont show up in the plugin list
    uploading the zip says Uploaded successful and files are in place.. but no entry in plugin table
    found the solution.. in composer file the manufacturerLink needs translation too.. i wrote only one link.. so there should be an array and i had a string.
    Vineeth Krishnan
    Hi, Can we minify the storefront with bin/console theme:compile or any other command.
    Thanks in advance.
    @NiklasTeich Hi, sorry for pinging you directly, but I saw your conversation on here about the custom cronjobs that are not running, and i am experiencing the same issue. Have you found a solution?
    Thomas Gravel
    moin, how can i minimize the html for the storefront and how can i activate the prolaod of things
    Stefan Stowasser

    With version 6.3.0 IndexerMessageSender has been removed. Unfortunately, there is nothing in the 6.2.x source code or in the upgrade notes that explains what this has been replaced by. Can anyone give me a hint?


    public function activate(ActivateContext $activateContext): void
          $indexerMessageSender = $this->container->get(IndexerMessageSender::class);
          $indexerMessageSender->partial(new \DateTimeImmutable(), [InheritanceIndexer::getName()]);
    Sebastian Gräbner
    I would like to extend an existing Theme (like in SW5), but also it's configuration values (same as if you duplicate it). Is that already possible, or is it even planned for the future? Extending it in 'theme.json' views does not really show something, and also doesn't include the config values of the parent theme in the administration.
    how can I display products of the same category on the product detail page? Unfortunately I cannot solve this with the dynamic product groups, because I cannot select subcategories there.
    Michael Telgmann
    Hello /@all please be aware that this channel is no longer used. see the channel description.
    $documentepository->update will lead out of memory

    Okay, so I basically am experiencing the same issues that are described here:

    Does anyone have a solution for this?

    Summed up:
    The bundle example (https://github.com/shopware/swag-docs-bundle-example) works, but when I try to make my own entity that has a manyToMany relationship on products, it CAN save but it will never retrieve associated products...
    hey guys. I updated my shopware to the latest 6.3 version and now i have a blank page in admin area after login. The console shows several js errors. Does anyone has the same issue or know why?

    I want to configure scheduled task in shopware
    I download plugin from here: https://github.com/shopware/swag-docs-scheduled-task-plugin
    I change
    public static function getDefaultInterval(): int
    return 1;
    i run from docker SSH: bin/console scheduled-task:run
    i run from docker SSH: bin/console messenger:consume -vv

    I cant see any messages there



    My custom twig files inside my custom theme don't load. Anyone knows why?



    {% sw_extends '@Storefront/storefront/layout/header/logo.html.twig' %}

    {% block layout_header_logo_image %}
    {% endblock %}

    Theme config:
    "name": "xxxx",
    "author": "xxxx",
    "views": [
    "style": [
    "script": [
    "asset": [

    I tried the following comands:
    ./psh.phar storefront:build
    bin/console theme:compile
    bin/console theme:change

    Changing styles and adding js files does work. Only the twig files seem to have an issue.

    PLease help me out :)


    @bbwins_twitter Please check your theme config. It doesn't work when you use lowercase letters.
    I think your theme name under views should start with a capital letter
    Should be "@Xxx"

    "views": [

    I hope it will work for you.

    How can I change the number of items in my product sliders?
    Jacek Bartoszek
    Hello Guys, could someone tell me where i can find nam of event when storefrontend call to checkout/order psot method??
    Hi Guys, after upgrade to images on products no more clickable - image gallery not working, only show zoomed part of image on right side. How I can switch on image gallery like previous versions?
    Patrick König
    Is there a way to extend the "allowed_extensions:" in the shopware.yaml file?
    hey guys do you know the login info of dockware for the backend?

    Hi, I tried to install Shopware in debian and get the folloing error
    Type: TypeError
    Message: openssl_pkey_get_details() expects parameter 1 to be resource, bool given
    File: /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php
    Line: 30

    Log File:
    [Mon Sep 14 12:32:38.138939 2020] [php7:warn] [pid 30972] [client IP] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
    [Mon Sep 14 12:32:39.429400 2020] [php7:warn] [pid 30972] [client] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de
    [Mon Sep 14 12:32:55.648274 2020] [php7:warn] [pid 27855] [client] PHP Warning: openssl_pkey_export_to_file(): cannot get key from parameter 1 in /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php on line 27, referer: https://messerundloeffel.de/recovery/install/index.php/database-configuration/
    [Mon Sep 14 12:35:00.644248 2020] [php7:warn] [pid 27865] [client] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
    [Mon Sep 14 12:35:02.010283 2020] [php7:warn] [pid 27865] [client] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de


    Hello Guys in shopware 6 when i'm trying to activate the plugin version ( this error comes someone give any suggestion or internal command to update the plugin...

    Plugin could not be activated due to error message "Error: Maximum execution time of 30 seconds exceeded"

    Max Schindler
    Can someone provide some information on how to implement codeception into shopware 6?