Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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?

    Randy Fay
    @rfay
    I need to move a site from one URL to another, and haven't been able to figure out the authoritative way to change all the URLs embedded in the database. Is there a correct way to do that?
    apeunit108
    @apeunit108
    Hi, does the rulebuilder only affect prices in the cart? or can it be used to modify prices of single products in the single product view as well?
    chrizz1001
    @chrizz1001
    hello, on product page (twig template) i get a custom field like this:
    {{ attribute(page.product.translated.customFields, 'migration_attribute_4_graedigkeit_142')|sw_sanitize }}
    does anybody know how to get the label (or config) for the custom field?
    Sarath T S
    @sarathiscookie
    Hello, Is it possible to get all orders via API in shopware 6? I have seen that we can get all products via API "http://localhost:8888/store-api/v3/product".
    6 replies
    floridab
    @floridab
    Hello, I installed phpOffice/Spreadsheet in Shopware. I'm trying to read an excel in my custom plugin. Can anyone help me? Should I create a controller or module/block?
    hschweers
    @hschweers
    Hi, I tried to generate a Shopware Rest Client via swagger-codegen and openapi-generator but it seems not to work, or is very buggy, the classes generated by swagger are buggy, because method will be generated twice and the classes generated bei openapi did not work, i get some namespace issues, so does anyone have done this before or have an idea what could be a good starting point for generating a working php client for the rest api
    sfrgermain
    @sfrgermain
    help me solve this Fatal error: Uncaught Symfony\Component\Process\Exception\ProcessFailedException: The command "id -u" failed.
    Zvonimir Maglica
    @zmaglica
    Hi guys. I am new to the ShopWare world so I need some help from you and I am sorry if I ask a noob-ish question. I have a custom plugin and inside that plugin, I want to create a new order. I get a list of products when the AJAX request is submitted and based on these values (products) I need to create a new order. Can someone point me in the direction or share with me a piece of code how can I achieve that?
    zsolt-szilagyi
    @zsolt-szilagyi
    Hey folks. I am writing AN ERP connector and wonder if there are any open source ones out there? Feels like there are issues that have been solved by others already.
    David Zisky
    @DavidZisky
    Hi poeple, I was googling but can't find anything about optimizing shopware for kubernetes :( Does anyone know some tips and tricks or seen some article?
    Ilyas
    @ilyasProgrammer
    Hi. Im trying to add product using /api/v3/product. Problem is salesChannel is not get assigned. There is no such parameter for the end point and i cant find it anywhere in documentation. I tried adding it like this: 'salesChannels': [{'id': sales_channel.shopware_id}], but it's not works. Can someone help me with this ?
    Ilyas
    @ilyasProgrammer
    Also does not works with /api/v2/_action/sync
    gerardfigols
    @gerardfigols

    @Tschitt I am getting the same error when I try to import a javascript plugin within my theme in Shopware v6.3.3.0 Stable Version:

    Uncaught SyntaxError: Cannot use import statement outside a module

    So looks like my main.js under custom/plugins/sw6-theme/src/Resources/app/storefront/src/main.js:

    // Import plugins
    import RvagTheme from './plugin/theme/theme.plugin';
    const PluginManager = window.PluginManager;
    PluginManager.register('RvagTheme', RvagTheme);

    And so my ./plugin/theme/theme.plugin.js:

    import Plugin from 'src/plugin-system/plugin.class';
    import deepmerge from 'deepmerge';
    export default class RvagTheme extends Plugin {
        static options = deepmerge(FilterBasePlugin.options, {
           // option variables
       });
       init() {
          // init code
       }
    }

    After running a storefront:build still get the same error.

    Starting Execution of 'storefront:build' ('/Applications/.../dev-ops/storefront/actions/build.sh')
    (1/4) Starting
    > bin/console bundle:dump
         [OK] Dumped plugin configuration.                                              
    (2/4) Starting
    > PROJECT_ROOT=/Applications/.../  npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ run production
        > sw-next-storefront@1.0.0 production /Applications/.../vendor/shopware/platform/src/Storefront/Resources/app/storefront
        > NODE_ENV=production webpack --config webpack.config.js
        # Webpack Plugin Injector: Plugin "Storefront" injected as a new entry point
        # Webpack Plugin Injector: Plugin "RvagTheme" injected as a new entry point
        # Webpack Plugin Injector: Plugin "RvagGeneral" injected as a new entry point
        # Webpack Plugin Injector: Plugin "Ankauf" injected as a new entry point
        Browserslist: caniuse-lite is outdated. Please run next command `npm update`
        ℹ Compiling Shopware 6 Storefront
        ✔ Shopware 6 Storefront: Compiled successfully in 3.06s
           320 modules

    It looks like the plugin is being compiled and injected by Webpack (RvagTheme) but still on the frontend is occurring the same error:

    Uncaught SyntaxError: Cannot use import statement outside a module

    Has anybody already encountered and solved this error?

    John Wat
    @_luruskedepan_twitter
    Hello, i have a problem with the admin page. before i logged out, the admin page is working fine but after i try to login again the page is blank. Does anyone has same issues? thanks.
    babita
    @babita-web
    Hello, I am having problem installing SHopware6
    2020-11-17.png
    any help? Thank you in advance.
    Bambhaniya Rajnik
    @BambhaniyaRajn1_twitter
    Hello I have one problem when I have created plugin but set the default value in config.xml. any help ?
    babita
    @babita-web
    image.png i am trying to install shopware6 at WSL or ubunto. but this is the error. please help
    John Wat
    @_luruskedepan_twitter
    image.png
    I am running './psh.phar administration:watch' command, but it stucks there. Since I am new to shopware, it makes me a bit confused and I can't find an explanation of the command I run. Does anyone want to explain what this command means? or is there any documentation about this command or the like?
    babita
    @babita-web
    shopware_fail.png
    docker-compose build --parallel && docker-compose up -d
    abdessss
    @abdessss
    hi, is there a simple way to increase "expires_in" value (Lifetime of Bearer Token) to a higher value?
    ShopWorks eCommerce
    @shopworksnl
    Hi, first time in here! hope someone can help. SW6 transactional email template question. Our clients wants to get the manufacturer form the product in the order email. we are thinking of something like this.. maybe someone has a suggestion?
    dav9449
    @dav9449
    i created but it doesnt refresh all config