by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    komali
    @komali_s_gitlab
    okay
    sripandianman
    @sripandianman
    how to get placed order details from OrderEvents::ORDER_WRITTEN_EVENT => 'onOrderCheckout'?
    86 replies
    tinect
    @tinect
    Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
    Diogo Gomes
    @Alphabetus

    Hello good morning.
    Im new to SW community.

    Im working with an API route.
    I need to disable the bearer token auth for that specific route.
    What is the way to do t?

    I tried to use the Annotaion:

    • @Route("/api/v{version}/whic/tastings/archive/init", name="api.action.whic.tastings.init", methods={"POST"}, defaults={"csrf_protected"=false})
    11 replies
    fwards
    @fwards
    What’s the best way to refresh snippets from a plugin theme, i just managed it by reinstalling the plugin theme
    2 replies
    Friedemann Stoffregen
    @Donderda
    Hi everyone. Just a quick question: I created a new theme and a new file (src/Ressources/views/storefront/page/product-detail/test.html.twig). This file contains a simple block. Now I want to include this file from another file but it can't be found. What am I doing wrong?
    Youmar0504
    @Youmar0504
    what is the event when an order is updated (click on the 'save' button) in the backend.
    In OrderEvents.php, there are ORDER_WRITTEN_EVENT, ORDER_DELETED_EVENT & ORDER_LOADED_EVENT.
    But there is not the one I am looking for.. Did anyone already use it?
    Kenny van Ooijen
    @KennyH1
    How to use a background image in your plugin?
    Mike Wink
    @mikewink
    @KennyH1 better ask on Slack. This is chat is now abandoned.
    Bartosz Sosna
    @brtsos
    Hi guys! My first plugin is released today! I'm so happy :)
    DannyDan
    @DannyDan
    hello. any1 solved the problem with logging in to the admin in SW 6.2 when using watch? I found a thread in the forum, but even with the suggested changes its not working.
    Steven Matz
    @PublicStm
    Hey guys, does anybody know how to pass a variable to the custom twick extension sw_icon? {% sw_icon VARIBAE-HERE %} instead of {% sw_icon 'iconname' %}
    Michael Telgmann
    @mitelg
    @DannyDan @PublicStm please consider moving to our Slack :wink:
    the link is in the description of the channel
    Yafar Valverde
    @TaiKamilla
    @brtsos Congratulations!!! :tada:
    simonfunk
    @simonfunk
    is it possible to reserve an article when a customer has it in the cart? so when the article only has 1 stock left, then the first customer who put it in the cart should have reserved it for him
    1 reply
    Emel Jahaj
    @Emel-isi
    do you guys know if there is a way to check if its homepage but not with body class "is-act-home"?
    Ben Le
    @goben2489
    how we add custom attribute to customerRepository ?
    Ex: $customer->getCustomAttribute() ??
    Mike Wink
    @mikewink
    @Emel-isi I am not sure, but maybe if you have a look in the page object that Twig offers? {{ dump(page) }}
    @Emel-isi, @goben2489 It's best to ask on the new Shopware Slack channel: https://slack.shopware.com
    kevmz
    @kevmz
    If I make an insert query in the database the newly created entity is not showing up in the administration in my module on the list view, only after a bin/console cache:clear. The env is set to prod, does somebody know how I can handle this without a cache clear everytime?
    Gugiman
    @Gugiman
    Is there a way to make a redirect from a subscriber?
    6 replies
    alexconstantin
    @alexconstantin
    Hello, is there any way to run a cronjob inside shopware?
    mediaciety
    @mediaciety
    @alexconstantin yes, it's called "scheduled task": https://docs.shopware.com/en/shopware-platform-dev-en/how-to/scheduled-tasks
    Jonas Moltke Sørensen
    @jonassorensen_gitlab
    Got this error "Please make sure the domain mapping is correct." .. then changed sales_channel_domain to http://localhost:6100 which my docker app is running on. Still getting the error. Do i need to clear cache or something?
    @jonassorensen_gitlab changed localhost to 127.0.0.1 - its working now :-)
    Sebastian Basler
    @sbasler_gitlab

    Hey there, :wave:

    I have a little problem with the system mails. The mails for order, registration and so on are send in DE, which is correct, but when I change e.g. der Payment-Status to "paid" that mail comes in EN and does not include header and footer. User language is DE and my admin is also in DE. Shopware currently running on 6.1.5

    Does someone got any hints for me how to solve this?

    3 replies
    devonede
    @devonede

    Hi there,

    I extend the ProductDefinition and ShippingMethodDefinition

    Following the ProductExtension

    class ProductExtension extends EntityExtension
    {
        public function extendFields(FieldCollection $collection): void
        {
            $collection
                ->add(
                    (new ManyToManyAssociationField(
                        'shipping_methods',
                        ShippingMethodDefinition::class,
                        ProductShippingDefinition::class,
                        'product_id',
                        'shipping_method_id'
                    ))->addFlags(new Inherited())
                );
        }
    
        /**
         * @inheritDoc
         */
        public function getDefinitionClass(): string
        {
            return ProductDefinition::class;
        }
    }

    When I override the sw-product-detail plugin I add a criteria.getAssociation('shipping_methods') but I get an Error FRAMEWORK ASSOCIATON NOT FOUND.

    What I may miss to add the new association between the Product and ShippingMethod?

    services.xml is defined

    dav9449
    @dav9449
    @dav9449
    Hello guys, i have question, how to correctly use Shopware_Controllers_Api_Orders and insert xcusrtom data to it to make post request and insert order?
    i use shopware 5.5.6
    Nawaz Awan
    @zepcomNawazA
    Hi @all, can anyone provide me the new API route for product update? in the shopware documentation, the route is "api/v1/product/productID" but I am getting the error that route is not found.
    BTW: I am using PATCH method
    Hi @dav9449 for Shopware 5 please visit https://gitter.im/shopware/shopware :)
    Timothy
    @timothydc
    @dav9449 @zepcomNawazA @devonede Gitter got replaced by Slack: https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/. Please ask new questions there
    Nawaz Awan
    @zepcomNawazA
    Thanks @timothydc Last time I got to know that there is a slack channel for such stuff but I thought that we also can use Gitter.
    Papryk
    @paprykasz
    Hey guys, I have question related to orderDelivery. I try to update tackingCodes on orderDelivery but I get following error:
    Code = FRAMEWORK__WRITE_CONSTRAINT_VIOLATION | Status = 400 | Detail = This field (stateId) is write-protected. (Got: "user" scope and "system" is required) | Pointer = /0/stateId
    Here is my patch request https://gist.github.com/paprykasz/ae1656ae46e82dbcae18a0c917145c25 , any ideas?
    Alex
    @jinnoflife
    @paprykasz as Timothy mentioned: Gitter got replaced by slack. Take a look at the channel description :slight_smile:
    Papryk
    @paprykasz
    Ah, thanks @jinnoflife :)
    Анастасия
    @KaiRale
    Hi, guys! the documentation used to have a table with field types for the database, does anyone know where to put it in the new documentation?
    tinect
    @tinect
    Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
    Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
    Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
    jordan3949
    @jordan3949
    has anything changed in 6.2 im unaware of because my theme isnt being applied. It is active but none of the files are overriding core? only styling.
    David Spiola
    @davidspiola
    Good moring! Can someone tell me what this error is about? Got the error in in middle of an 6.1 to 6.2 update :-(
    PHP Fatal error: Uncaught Error: Call to undefined function Flag\next6050() in /sw6/vendor/shopware/core/Content/Content.php:38
    3 replies
    Johannes Reiter
    @joworeiter
    Hi,
    does some setup within wsl2/docker? I got a problem with the mysql container, which cant be reached and i dont know why.
    skr-brandcrock
    @skr-brandcrock
    hi all after shopware version update,
    i have faced this issue PageController can't be requested
    kindly help me
    Moritz Preuß
    @habundloot
    Hi, when changing the order status from „open“ to „in progress“ an error occured. Does anybody have the same issue?
    bkh
    @bkh2js
    :::::::::: Hi !! need help with simple thing: after I created my plugin and add the routes and the controller do I need to do anything else to make the routes work?? for not it gives me No route found for "GET /cart/clear/"
    bkh
    @bkh2js
    anyone can help!!
    Michael Telgmann
    @mitelg
    @skr-brandcrock @habundloot @bkh2js please be aware, that we moved to slack. check the channel description :blush:
    Vineeth Krishnan
    @vineethkrishnan
    Hello, Good morning
    I have an issue regarding the profiler. I'm getting "An error occurred while loading the web debug toolbar." only on one navigation page. The profiler toolbar has no issue on other pages.