Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    The Rick
    @RicTempesta_twitter
    Thank you @Arzi1994
    Mike Wink
    @mikewink
    @jensgswiss I have tried several times, but did not mange to make it happen. Not sure if it works in V1 at all, because of the convoluted way of creating a an empty media, uploading media and associate it to the entity. Maybe v2 can streamline this process. In the meantime I was thinking about going async for the media imports.
    Youmar0504
    @Youmar0504
    Hey everyone, I have a problem since many days concerning custom routes in Shopware6.
    I created a new controller in my custom plugin (plugin/src/Controller/AccountsController.php) and put the RouteScope = 'Storefront' and the methods of main action to 'POST' but I am not able to POST anything on this route. I receive error "405 Method Not Allowed". Does anyone have a solution for this ? I just want to allow POST requests on this route, GET requests are working well.
    If you want to see the complete code of the controller, it's here : https://stackoverflow.com/questions/61908567/custom-shopware6-route-gives-405-method-not-allowed
    Shyim
    @shyim
    everything makes sense
    when you limit it to POST
    and you call it with get
    its normal
    Youmar0504
    @Youmar0504
    Yes in fact, I found that I can add GET and POST together
    I'm just dumb. Thanks
    Shyim
    @shyim
    it happens sometimes :)
    Victor Ndambakuwa
    @vttn
    What are Order final states in Shopware. For example 'paid', 'cancelled' etc???
    pfaffenrodt
    @pfaffenrodt

    Hey does anyone know? how to use theme inheritance. I was adding views in theme.json like so:

    "views": [
          "@Storefront",
          "@Plugins",
          "@Simple",
          "@MyTheme"
      ],

    But it does not change anything. All layouts are default from storefront. Removing all entries, has also no change in frontend.

    Hans Höchtl
    @hhoechtl
    @pfaffenrodt Did you assign the theme to your sales channel?
    pfaffenrodt
    @pfaffenrodt
    yes. css change are visible
    Hans Höchtl
    @hhoechtl
    Well that usually works. Layouts default to storefront except you override them
    (or extend)
    pfaffenrodt
    @pfaffenrodt
    I copied all views from Simple theme and then it looks fine. Is there something I am missing? some config about inherit views?
    pfaffenrodt
    @pfaffenrodt
    I just dumped in THemeInheritanceBuilder and Simple ist not listed at all
    So it is filtered from bundles, because it is a theme bundle and thats why my inheritance not working
    aleckscastro
    @aleckscastro
    Hello "together." How can I incorporate the entity "unit" (pointer="product.unit") as a "<sw-entity-single-select ...> into my custom bundle? I've used {% block sw_product_price_form_unit_field %}'s content and the select list is displayed, but when I pick a unit, it throws an error: Status Code: 401 Unauthorized
    bojandavkov
    @bojandavkov
    Does anyone know where i can change the admin path? I need different admin path instead of "admin"
    Almare
    @almare
    Does anyone have also problems with superStack is undefined on sw-product-detail ? It looks to me that the inheritance is only working to computed function not to methods...
    aleckscastro
    @aleckscastro

    Hello "together." How can I incorporate the entity "unit" (pointer="product.unit") as a "<sw-entity-single-select ...> into my custom bundle? I've used {% block sw_product_price_form_unit_field %}'s content and the select list is displayed, but when I pick a unit, it throws an error: Status Code: 401 Unauthorized

    Ok, I think what I need is Entity Aggregation https://docs.shopware.com/en/shopware-platform-dev-en/references-internals/core/dal#entity-aggregation

    pawonpawon
    @pawonpawon
    Hi. Quick question: to create an order through API .. can it be done in one call, or should I make separate calls to create orderAddres, orderCustomer, orderDelivery and orderLineItems ??
    brainium
    @brainium
    hi guys… i want to add french, but i can only select BASE de-DE and BASE en-GB in the sales channel. where do i need to edit the translations?
    tinect
    @tinect
    install french-plugin 🤔
    Patrick Weihe
    @neofireplugin
    Hi, to update a product price rule... is it possible to replace the data?

    $array["prices"]['0']['ruleId'] = '780753d6ad57490593da1cc3926d4a92';
    $array["prices"]['0']['quantityStart'] = 1;
    $array["prices"]['0']['quantityEnd'] = 999;
    $array["prices"]['0']['price']['0']['currencyId'] = 'b7d2554b0ce847cd82f3ac9bd1c0dfca';
    $array["prices"]['0']['price']['0']['net'] = '100';
    $array["prices"]['0']['price']['0']['gross'] = '119';
    $array["prices"]['0']['price']['0']['linked'] = true;

    With this array it will not replace the data

    tinect
    @tinect
    @neofireplugin when I created such process I had to delete existing on my own
    Patrick Weihe
    @neofireplugin
    ok thanks
    brainium
    @brainium

    install french-plugin 🤔

    Too easy… i was searching for .po files ;)

    Patrick Weihe
    @neofireplugin
    @tinect by the tags it works with replace
    Micha Hobert
    @Isengo1989
    When using a shell script in the production template and requiring a new repo it always adds the dev repos -> is there a workaround?
    composer require "test/test"
    The --no-dev does not work with a require
    Auswahl_804.png
    Auswahl_804.png
    an install --no-dev works after that, but feels weird
    Youmar0504
    @Youmar0504
    Hey,
    How can I use the API resources in shopware6?
    Per example in shopware5, you can find them in \Shopware\Components\Api\Manager::getResource('Customer').
    I need this to automatically create/update customers when its required
    8 replies
    Victor Ndambakuwa
    @vttn
    Does one have to create the entity table via migrations?
    Marcus C
    @macidev
    Hey, is there any other person having issues regarding properties and displaying them in the properties-panel in product?
    Pagination in the select dropdown doesn't work in 6.2.0
    (local dev and different setup with same version online with complete different database)
    pawonpawon
    @pawonpawon

    @macidev yes - I had similar issues on 6.2 RC .. but on the properties edit page (/admin#/sw/property/detail/UUID). (so editing of the property itself, not on the product page). On that page, only the first 10 are shown and you will need to use the search-box the find others.

    I did not check the product page yet, but I suspect these issues are related

    Marcus C
    @macidev
    yeah, great, so the fix is wait for 6.2.1?
    did you report it? @pawonpawon
    Slavko Babic
    @slavkobabic
    In email temlates order does not allow access to the lineItems, does somebody know how to access to lineItems in the mail templates?
    pawonpawon
    @pawonpawon
    @macidev No, not yet - had found this out yesterday.
    Marcus C
    @macidev
    oh sh*t, i'm currently writing an issue on issue.shopware.com (in German and automated translation with deepL)
    Marcus C
    @macidev