Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    reineltchris
    @reineltchris
    can i manipulate the position of a javascript plugin in the storefront?
    I want to bind my plugin last, but it is the first.
    and i cant listen to emitted events, this doesnt seem to work:
    document.$emitter.subscribe('onFormSubmit', this.onFormSubmit.bind(this));
    pgm katumba
    @pgmkatumba_twitter
    how can i get the urls of all products using the seoUrl function in shopware 6?
    {{ seoUrl('frontend.detail.page', { productId: '1035e9ee7d27486e9f30ed88939fece1' }) }}
    Ion-manden
    @Ion-manden
    As window.accessKey and window.contextToken is getting/has been removed, how do we get these values for HttpClient so we can make calls to the storefront api?
    2 replies
    guess we should use the apiAccessUrl going forward
    Peter Meijer
    @peter-bztrs
    Good morning,
    I have a UNIQUE combination of two columns in my database table. How can I create this UNIQUE with the Database Abstraction Layer?
    And if it can not be achieved with the DAL, how can I add a check before data is inserted into the database that duplicate records can be prevented?
    PhenomEY
    @PhenomEY
    Is there a way to extend the "allowed_extensions:" in the shopware.yaml file?
    Peter Meijer
    @peter-bztrs
    Haha @vttn, didn't saw your question :)
    I also did the same to do some refactoring, but can't find any leads.
    The problem I'm having is a ugly SQL query that's being returned when the insert fails on the UNIQUE
    Friedemann Stoffregen
    @Donderda
    Hi everyone, I'm using this Guide: https://docs.shopware.com/en/shopware-platform-dev-en/system-guide/system-installation-guides/docker-sync?category=shopware-platform-dev-en/system-guide/system-installation-guides to run the dev environment under MacOS. Now I've updated a file and the changes are not synchronized. I've installed both rsync and docker-sync. Any hints how to fix this?
    ah, it took some time :O
    Peter Meijer
    @peter-bztrs
    @Donderda What @vttn is saying. The current docker setup Shopware is providing for the Mac is, in my opinion, not the best solution. I've tried a couple of solutions and we are also sticking to our own setup.
    Maybe try https://dockware.io/
    Peter Meijer
    @peter-bztrs
    @vttn I've requested official developer support from Shopware, but they are a little slow with responding to all the questions, so I need to be patience
    Friedemann Stoffregen
    @Donderda
    nice! thank you for your hints!
    Niklas Teich
    @NiklasTeich
    image.png
    Does anyone know how to make a mail template configurable via plugin configs? The sw-entity-single-select does not work :( (empty entries) ...
    <component name="sw-entity-single-select">
        <name>myMailTemplate</name>
        <entity>mail_template</entity>
        <label>Foo</label>
    </component>
    aleckscastro
    @aleckscastro
    Is there hope for a call center plugin for Shopware 6?
    Peter Meijer
    @peter-bztrs
    @aleckscastro Whats the purpose of this call center plugin, what does it need to do?
    PhenomEY
    @PhenomEY
    What do i have to do to get my shopware.yaml in config/packages/shopware.yaml to get loaded?
        filesystem:
            allowed_extensions: ["exe", "jpg", "jpeg", "png", "webp", "gif", "svg", "bmp", "tiff", "tif", "eps", "webm", "mkv", "flv", "ogv", "ogg", "mov", "mp4", "avi", "wmv", "pdf", "aac", "mp3", "wav", "flac", "oga", "wma", "txt", "doc"]
    Christian
    @c-gross
    I have some own entity with a grid and create/update form in the admin. I would like to add the sales channel (single select) to it but I'm not sure which component is the correct one and which params I have to provide.
    I think I have to use one from vendor/shopware/administration/Resources/app/administration/src/module/sw-sales-channel/component/
    But which one is the correct for an simple single select and how and which params do I have to provide.
    aleckscastro
    @aleckscastro
    @peter-bztrs ability to take and process orders and track them internally. Ability to split, merge and edit orders. Cross/up selling options, order return. Live chat connected to the call center.
    Don Bosco van Hoi
    @azngeek
    Hello i was not able to find a documentation about how to import categories and products via the shopware-api. Can anyone recommend a good starting point?
    Shyim
    @shyim
    @PhenomEY, maybe forgot to clear the cache?
    PhenomEY
    @PhenomEY
    @shyim i did already. If i add "exe" in the main file it works fine. But it doesnt seem like my file gets loaded or it doesnt override the allowed_extensions. Plugin/src/Resources/config/packages/shopware.yaml is the right directory tho?
    Peter Meijer
    @peter-bztrs
    @aleckscastro This are indeed some very common questions we are also receiving from our customers. Maybe Pickware will support order splitting.
    Live chat could be a seperate service you can implement on your webshop
    1 reply
    pawonpawon
    @pawonpawon

    @peter-bztrs @aleckscastro Agreed. I am building a shop to replace a Magento shop and I know they will need to edit orders, refund partially, ship items separately, etc.

    From the db structure, all this seems to be possible - but it is VERY unclear how these things are supposed to work in the admin and/or what is supported and what is not

    Michael Burton
    @MadMikeyB
    hello everyone, i am trying to add a new route and template to shopware 6 - but I get no CSS when loading the new route.
    9 replies
    pawonpawon
    @pawonpawon
    There is no documentation about how this should work. Adding a 'document' for an order, for example a delivery .. it has no options to select products that were shipped or anything like that
    Christian
    @c-gross
    Ok I found the component but I don't know how to set a different name. Currently the POST will send the sales channel id just as id and the api is waiting for sales_channel_id instead and throws an error
    <sw-sales-channel-switch
                            ref="salesChannelSwitch"
                            :label="$tc('sw-seo-url.labelSalesChannelSelect')"
                            @change-sales-channel-id="onSalesChannelChanged">
    </sw-sales-channel-switch>
    Friedemann Stoffregen
    @Donderda
    Another question: How can I access a variant's parent customField? page => product => parent is null :/
    Mike Wink
    @mikewink
    @azngeek Hi, what do you plan? To import categories, then products and assign them to the categories?
    That's what I doing for the last couple of weeks 😅
    reineltchris
    @reineltchris
    is it possible to change the dockware.io env to production?
    Mike Wink
    @mikewink
    @aleckscastro I doubt that we will see anything like that in core, but as a plugin for sure. Due to the REST based architecture it would be relatively easy to add such functionality. Pickware might ship such feature, or one of the other ERP tools with SW6 connectors out there. For now I would be happy if get a mature admin orders feature set, lets aim for that. Shopware 6.2 ships with the basics, now lets make is sound solution.
    fwards
    @fwards
    Is it possible to hide properties for filtering like in SW5? Can’t find a setting in backend.
    bojandavkov
    @bojandavkov
    Hello, does anyone know why URL`s in seo_url table are marked as 'is_deleted' and on fronted are displayed as /navigation/ashy2974yiuedh8732o1?
    Don Bosco van Hoi
    @azngeek
    @mikewink Yes exactly :)
    I guess it is creating attributes/categories and options, then create configurable products, create configurable product options, then variants, assign them etc.
    i am used to the Magento-World so using that terms :)
    Mike Wink
    @mikewink
    @azngeek welcome to the SW community!
    Don Bosco van Hoi
    @azngeek
    Thanks :)
    What is your experience so far with the api-based import? I need to import like 10k products and a couple of different product options.
    Mike Wink
    @mikewink
    @azngeek well, that's a interesting task for sure. Here is what I do/did. I created myself a nice little HTTP client with Symfony HTTP Client (Guzzle would work too). Next I use the administration to see the API usage for what I want to do in code. Check the network tab in your dev tools for the requests and responses.
    pawonpawon
    @pawonpawon

    @azngeek I am also Migrating from Magento. Be aware that in Magento we have "product attributes" and in Shopware we have "properties" and "custom fields".

    Probably you will want to split the Magento product attributes and transform some into properties and some into custom fields !

    Mike Wink
    @mikewink
    Once I see the way SW 6 does it I use that as a blueprint for my own code (requests with payload).
    Don Bosco van Hoi
    @azngeek
    What is the difference between a property and a custom field? I expected something "similar" to the EAV-structure. I guess i am wrong :)
    pawonpawon
    @pawonpawon
    @mikewink @azngeek I did/do exactly the same thing. I get the product data from a custom script in Magento (foreach on Mage::getModel('catalog/product'->getCollection() ) . Transform it to a SW json object and post it to the products endpoint
    Don Bosco van Hoi
    @azngeek
    @pawonpawon The thing is that i thought that there was something like an API-Import-layer which could be used. I did not know that i need to extend or write an additional client.
    pawonpawon
    @pawonpawon

    @azngeek read these:
    https://docs.shopware.com/en/shopware-6-en/products/properties
    and
    https://docs.shopware.com/en/shopware-6-en/settings/custom-fields

    It took me some days of messing around before I noticed this is not the same as in magento

    Mike Wink
    @mikewink
    @azngeek The interesting part is how to orchestrate the individual steps and if you want to use the Sync API for some of the steps.
    pawonpawon
    @pawonpawon

    @azngeek Well, you could use the Magento Importer plugin from SW.

    It works but it dumps all magento product attributes as 'custom fields' I believe and it needs some tweaking depending on the source data. For me, it was in the end easier to build a 'bridge' and use the api