Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ajimenez
    @poncho-jim

    Hello there folks! I am trying to override a pah and display hello world but I can't see the changes, I am changing the route from the one that is on docs by default to: {% sw_extends '@Storefront/storefront/component/address/address-form.html.twig' %} the folders are created accordingly in my plugin. Please help! :japanese_goblin:

    I tried two ways:
    {% block component_address_form_company_vatId_input %} <h2>Hello world!</h2> <sw-text-field :copyable="false" :copyableTooltip="false"> Lorem ipsum dolor sit amet </sw-text-field> {% endblock %}

    Text field inside the component and the component itself

    Daniel W
    @danielwolf1
    scss files in plugin - this doc says a custom path ca be defined with getStorefrontStylePath in plugin base class - but this method doesnt exist?
    Joshua Behrens
    @JoshuaBehrens
    @poncho-jim where are your files located?
    ajimenez
    @poncho-jim
    welp my twig is on the route that I specified so here: custom/plugins/mySwaggerPlugin/src/Resources/views/storefront/component/address/address-form.html.twig
    MelvinAchterhuis
    @MelvinAchterhuis
    This is the correct path /mySwaggerPlugin/src/Resources
    You are missing the /src/ folder
    ajimenez
    @poncho-jim
    it is here, my bad
    image.png
    ajimenez
    @poncho-jim
    I think is the component type, my field is just text so I think it should be named after a parent component
    ajimenez
    @poncho-jim
    like component_address_form_company_vatId or rename it to label block component_address_form_company_vatId_label
    MelvinAchterhuis
    @MelvinAchterhuis
    You're trying to use sw components for the storefront, but they only work for administration. For storefront you can use Bootstrap
    thseeker
    @thsekeer
    can we send email in shopware 6 on any event ( contact,order confirmation, newsletter subscription...) or send any query with email using contact form?????
    ajimenez
    @poncho-jim
    raw? In the future it has to store data in db and be fetched by an API. I guess bootstrap is a good beginning... thanks @MelvinAchterhuis
    ajimenez
    @poncho-jim
    I guess that I can override one of the additional fields, does anyone know where the prefixes are for additional fields, It would be easier for me to change the label to what I need
    Daniel W
    @danielwolf1
    How can i add scss files the default way in a plugin?
    The docs seem to be outdated / incomplete
    Micha Hobert
    @Isengo1989
    Till 6.2.x I would always check the github Docs. Shopware said they will work on the docs - hopefully soon :)
    Friedemann Stoffregen
    @Donderda

    Hi. Does anyone know, if the Client credential authentication for the admin api is not working at the moment? The password authentication works fine.

    When i follow the docs (https://docs.shopware.com/en/shopware-platform-dev-en/api/admin-authentication?category=shopware-platform-dev-en/api#client-credential-authentication-1) I always get the following error: "The user credentials were incorrect.". The client_id and client_secret were freshly generated in the backend.

    Where you able to fix this @hendrikleyendeckers ? I have the same issue currently :/

    Daniel W
    @danielwolf1
    Blaack46
    @Blaack46
    Hi. Im trying to insert my customFields inside the category but I cant find the right template to view them. Can somebody help?
    Blaack46
    @Blaack46
    Meant to display them in the storefront.
    Daniel W
    @danielwolf1
    @Blaack46 Make sure the correct language is used. For the detail page it is: page.product.customFields
    MelvinAchterhuis
    @MelvinAchterhuis
    image.png
    Works fine here.
    Blaack46
    @Blaack46
    Ok. Thx. :)
    Riccardo Tempesta - The Rick
    @phoenix128
    Hello everybody. I am new to this community. Does anybody know why the shopware6 composer version is installed without the testing suite?
    Michael Telgmann
    @mitelg
    @phoenix128 hello and welcome :blush:
    which template did you use? development or production?
    Riccardo Tempesta - The Rick
    @phoenix128
    Never mind. I just realized you need to install the development template and I was on production mode.
    Michael Telgmann
    @mitelg
    :+1:
    Riccardo Tempesta - The Rick
    @phoenix128
    I was trying to find an efficient way to integrate testing in the deployment pipeline
    DBoogeyMan
    @DBoogeyMan
    Hi guys! What is the recommended way to make your Shopware plugin immune against composer namespace collisions?
    For example my plugin is using very popular package “vendorX/libraryX”. Plugin has it declared in it’s own composer.json file and has downloaded in it’s own vendor folder. Plugin is being installed and everyone is happy. But then a user decides to install another plugin, which also uses “vendorX/libraryX” as it’s external dependency. As a result a namespace collision will happen.
    Christian Schwerdt
    @cschwerdt
    hi, is there a possibility of having a Product like a Sixpack of “Wine/Beer” and calculate the shipping based on six bottles instead of 1 ? I already asked it few weeks ago, can someone help me out?
    Sabrina Sauter
    @samsauter
    hi chat, i was wondering about the current integration of Custom Fields in Shopware 6 (current stable)
    I assigned a test custom field to a product and added a value. Where is this value saved? I can not see in anywhere in the database, the 'custom_field' fields in the tables 'order_delivery' and 'order_delivery_position' remain empty.
    What I need / want to achieve in general:
    I need custom product information to be saved to the cart and order position of my product. How would I go about that? I can - of course ;) - completely build it on my own, but I was wondering: what's the 'shopware' way to do this? thanks
    Sebastian Schreier
    @sschreier
    you have to do the saving on your own as in shopware 5 @samsauter
    Sabrina Sauter
    @samsauter
    @sschreier thanks for answering! so I have to check for the presence of a custom field on my own and add it to the respective field in the database?
    Sebastian Schreier
    @sschreier
    did you add the field to the database before? @samsauter
    i mean the saving of the value of the custom field (e.g. entering on the product detail page by customer)
    Sabrina Sauter
    @samsauter
    no, i did not. I looked into the the database and saw the fields "custom_field" in the order position tables and just hoped there would be some kind of magic :) of saving any custom field I created in here
    Sebastian Schreier
    @sschreier
    do you create your custom field?
    the next step is now displaying it in the storefront and later saving the value to the database - that you have to do on your own (how in shopware 5)
    Sabrina Sauter
    @samsauter
    ok, thank you =) that helps! i was just wondering if i overlooked something
    Ghost
    @ghost~5db2e313d73408ce4fcefd7d
    Hey guys. How do you work with icon fonts in shopware 6? Is there any documentation or short explanation on this one?
    Joshua Behrens
    @JoshuaBehrens
    @Ermynn_twitter shopware 6 uses inline svgs so there is just explanation how to use these
    Memo Ict
    @MemoIct_twitter
    How can I register new template files for a custom controller in sw6 ?
    Ghost
    @ghost~5db2e313d73408ce4fcefd7d
    @JoshuaBehrens Where can I find the folder they are located in and their variables
    :pizza:
    ajimenez
    @poncho-jim

    Greetings everyone. I want to override a label "additional address line 2" to "Short Poem" I am running 6.1

    "address": {
            "additionalField2Label": "Short Poem",
            "additionalField2Placeholder": "Express inspiration!",
        }

    mein path is: /mySwaggerPlugin/src/Resources/snippet/en_GB/storefront.en-GB.json