Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    UO
    @uraloe_twitter
    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
    Alessio
    @afanelli
    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
    @Waldemarcheg_twitter
    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?
    AnriKoVa
    @AnriKoVa
    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.
    Tobi
    @Web-Dezign
    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
    Tobi
    @Web-Dezign
    i deleted psh.phar and checked it out again from git and now i can start docker again
    strange+
    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
    Tobi
    @Web-Dezign
    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
    @vineethkrishnan
    Hi, Can we minify the storefront with bin/console theme:compile or any other command.
    Thanks in advance.
    millerdigital-rowan
    @millerdigital-rowan
    @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
    @gravel_thomas_twitter
    moin, how can i minimize the html for the storefront and how can i activate the prolaod of things
    Stefan Stowasser
    @stefan.stowasser_gitlab

    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?

    Previously:

    public function activate(ActivateContext $activateContext): void
    {
          $indexerMessageSender = $this->container->get(IndexerMessageSender::class);
          $indexerMessageSender->partial(new \DateTimeImmutable(), [InheritanceIndexer::getName()]);
    }
    Sebastian Gräbner
    @djcrackhome
    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.
    AEWebdesign
    @AEWebdesign
    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
    @mitelg
    Hello /@all please be aware that this channel is no longer used. see the channel description.
    istgin
    @istgin
    $documentepository->update will lead out of memory
    lars-vv
    @lars-vv

    Okay, so I basically am experiencing the same issues that are described here:
    https://forum.shopware.com/discussion/68281/product-extension-manytomany

    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...
    simonfunk
    @simonfunk
    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?
    istgin
    @istgin

    @istgin
    Hi
    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
    why?

    Bram
    @bbwins_twitter

    Hey,

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

    path:
    {themename}/src/Resources/views/storefront/layout/header/logo.html.twig

    template:

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

    {% block layout_header_logo_image %}
    <h3>test</h3>
    {% endblock %}

    Theme config:
    {
    "name": "xxxx",
    "author": "xxxx",
    "views": [
    "@Storefront",
    "@Plugins",
    "@xxxx"
    ],
    "style": [
    "app/storefront/src/scss/overrides.scss",
    "@Storefront",
    "app/storefront/src/scss/base.scss"
    ],
    "script": [
    "@Storefront",
    "app/storefront/dist/storefront/js/teethx.js"
    ],
    "asset": [
    "app/storefront/src/assets"
    ]
    }

    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 :)

    Aliyar
    @aliyar_gitlab

    @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": [
    "@Storefront",
    "@Plugins",
    "@Xxxx"
    ],

    I hope it will work for you.

    Julian
    @julianflapper
    How can I change the number of items in my product sliders?
    Jacek Bartoszek
    @BartoszekJacek_twitter
    Hello Guys, could someone tell me where i can find nam of event when storefrontend call to checkout/order psot method??
    markssarGit
    @markssarGit
    Hi Guys, after upgrade to 6.3.0.2 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
    @fulltime
    Is there a way to extend the "allowed_extensions:" in the shopware.yaml file?
    ajimenez
    @poncho-jim
    hey guys do you know the login info of dockware for the backend?
    FrSeLo
    @FrSeLo1_twitter

    Hi, I tried to install Shopware 6.3.1.0 in debian and get the folloing error
    Browser:
    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 84.62.197.236:42482] 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 84.62.197.236:42486] 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 84.62.197.236:42516] 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 84.62.197.236:42516] 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

    thseeker
    @thsekeer

    Hello Guys in shopware 6 when i'm trying to activate the plugin version (6.3.1.0) 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
    @chucky2305
    Can someone provide some information on how to implement codeception into shopware 6?
    Kiren S
    @kirensiv_gitlab
    The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::getConnection(). Could any one help with this?
    Kiren S
    @kirensiv_gitlab

    I'm trying to install SW6 on my system, but I get the above error: "The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to".

    Problem solved :smile:

    Could you please let me know how you solved the issue?

    Kiren S
    @kirensiv_gitlab
    @tdgroot The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::getConnection(). Could any one help with this?
    Bambhaniya Rajnik
    @BambhaniyaRajn1_twitter
    How to get order status in plugin configuration XML file in shopware 6?
    Oliver Kühne
    @oliverkuehne

    Ist es richtig, dass man maximal 3 Root Kategorien haben kann bei Shopware 6? Also für die Hauptnavi, für die Footernavi und für die Servicenavi...Aber wo genau packt man nun irgendwelche Landingpages / Blogelemente oder sonst ein Customcontent rein. Eine Struktur wie:

    • Katalog
    • Footer
    • Service
    • CMS

    Geht gar nicht, da wenn im Saleschannel Katalog / Footer / Service zugewiesen sind. Bedeutet, man kann maximal 3 Oberkategorien haben und irgendwo darunter soll man die CMS Seiten machen. Ich hab mal im Code geschaut, die NavigationRoute in platform/src/Content/Category/SalesChannel/hat die Methode validate und diese prüft explizit auf:

         private function validate(string $activeId, ?string $path, SalesChannelContext $context): void
        {
            $ids = array_filter([
                $context->getSalesChannel()->getFooterCategoryId(),
                $context->getSalesChannel()->getServiceCategoryId(),
                $context->getSalesChannel()->getNavigationCategoryId(),
            ]);
    
            foreach ($ids as $id) {
                if ($this->isChildCategory($activeId, $path, $id)) {
                    return;
                }
            }
    
            throw new CategoryNotFoundException($activeId);
        }

    Kann mir jemand sagen wie eine gute Kategorieordnerstruktur in Shopware 6 aussieht?