DEIN-SPORTSFREUND.DE
"Dank dem beherzten Eingreifen von eBakery und deren routiniertem Umgang mit der JTL Wawi konnte man uns schnell und unbürokratisch weiterhelfen. Mein besonderer Dank geht an den Mitarbeiter Benjamin Lambrecht, der seinen Samstag Abend für unseren Shop aufgebracht hat und das dringende Problem zügig löste."
AUST24.SHOP
"Wir sind begeistert von der Lösungsorientierten und pragmatischen Gangart, der extrem hohen Leistungsbereitschaft und Verfügbarkeit sowie dem persönlichen wie professionellem Vorgehen des gesamten eBakery Teams!"
HAUSHALTSPARADIES.DE
"Wir fühlten uns von Anfang an gut durch eBakery beraten. Durch den Einsatz der JTL Produktpalette verfügen wir nun über ein hervorragendes Onlineshopsystem, welches modular erweiterbar ist und verschiedene Marktplatzanbindungen ermöglicht. Zudem gibt uns unsere Multichannel Strategie zusätzliche Umsatzsicherheit in der aktuellen Krise."
tischdeko-shop.de
"Wir haben uns für eBakery als JTL Servicepartner entschieden, da man hier über viele Jahre Erfahrung in genau diesem Spezialgebiet verfügt. Unser Shop und die Auftragsabwicklung laufen sehr stabil. Mein besonderer Dank geht an Mohamed Ali Oukassi, der sich persönlich um die JTL-Wawi Einrichtung gekümmert hat."
UNICAT CANDY
"Wir hatten es eilig mit der Überarbeiteten Version unseres Food-Shops an den Start zu gehen und den deutschen Markt zu erreichen. Wir sind froh, dass wir mit eBakery einen Partner gefunden haben, der uns eine derartig schnelle und zugleich professionelle Lösung unserer Herausforderung ermöglicht hat."
FEIN-GEIST
"Wir hatten es eilig mit der Überarbeiteten Version unseres Food-Shops an den Start zu gehen und den deutschen Markt zu erreichen. Wir sind froh, dass wir mit eBakery einen Partner gefunden haben, der uns eine derartig schnelle und zugleich professionelle Lösung unserer Herausforderung ermöglicht hat."
WASCHGURU.DE
"Die Zusammenarbeit mit eBakery war unkompliziert und hat letztlich schnell zum Ziel geführt. Ich wusste prinzipiell was ich haben möchte, nur wie ich den Webshop am besten umsetzen kann, war mir nicht klar. eBakery hat mir dann verschiedene Optionen aufgezeigt und schließlich hat mich der JTL-Shop als Ergebnis überzeugt."
SMOKE2U.DE
"Das Team von eBakery hat uns von Anfang an auf professionelle Art und Weise unterstützt. Mit unserem breit aufgestellten JTL Onlineshop, verfügen wir nun über eine optimale Ergänzung zu unserem Filialnetz und sehen uns für die Zukunft gerüstet. Insbesondere in der aktuellen Corona-Krise, können wir von der Lösung bereits erheblich profitieren."
In unserem Magazin finden Sie Anleitungen und neue Ideen, rund um den E-Commerce
zum MagazinWe cover all your e-commerce needs! Our range of services extends from online shop systems to ERP systems, marketplace connections and online marketing.
Instead of projects, we prefer to talk about success stories! Browse through our customer references and discover what the press has to say about us.
Every successful e-commerece project requires a great deal of expertise. Our philosophy is not to keep this knowledge to ourselves, but to share it. You can find interesting tutorials, downloads, tools and much more here.
How to add Shopware 6 additional fields to assign individual properties to your products or categories, we will show you in this Shopware 6 tutorial. Integrate the free text fields known from Shopware 5 now also in Shopware 6, that is the content of this tutorial.
This Shopware 6 blog article is about additional fields.
The additional fields replace the free text fields known from Shopware 5 and offer you the possibility to add your own fields for the different program areas, in order to use them e.g. in the products.
We will now explain to you how this works in the following.
You go to the settings in your Shopware 6 backend, but this time to the sub-item “System“. There you click on the additional fields and can create your first set by clicking on the blue button.
The technical name may only be used once in the system and cannot be changed subsequently. We call this one “custom_color_1” in our case.
Since it is our first set we position it on the 1 as well. The label is a recognition name for the user. We call this“Color“.
Additional fields can be used not only for products, but also for categories, manufacturers, customers, etc. However, in our case we want to apply the additional field set to our products.
After you have saved the set, you can create a new additional field within this set.
As type you could choose the color selection to display the hexacode. For us, however, a text field is sufficient for this video, in which the respective color can then be entered as a word. The label is used to assign a name that is comprehensible to the user. This designation is displayed e.g. in the modules of the administration, if the additional field is included there.
The placeholder is displayed as long as no input has been made.
The help text can be displayed via mouseover over a blue question mark symbol. Before you click Add, copy the code “custom_color_1_”. We’re going to need that in a minute. Now click on Add, with which we have created our first text field for the color.
The next step is to integrate this text field as an additional field in any product. That is why we go to catalogs and products and our blue chain. Now scroll down to the additional fields and enter the desired color.
So blue for us. Then save.
Now you need to make a small change to your template. To be exact in the “description.html.twig” file. You can find them in the following directory:
/custom/plugins/yourTheme/src/Resources/views/storefront/page/product-details/
You can do this for example. with an FTP client like FileZilla.
Open this file with a text editor like Sublime.
You can already see here in the Shopware 6 screencast that we have already inserted the necessary code lines. Accordingly, we can adjust the necessary places for our additional field or copy the existing code and paste it below. “Color” is what we want to play out as “color” in the frontend.
Now the code we just listed becomes relevant. Insert it at this exact position and save the changes.
To make sure that the additional field is really displayed in the store frontend, we clear the caches under Settings, System and Caches and go to the frontend. Here you can now examine your just generated feed fields in the respective product.
If there are any questions about it, leave them for us in the comments. For all other Shopware 6 optimization requests, contact our Shopware 6 experts. You can find all the information on our Shopware Agency page.
Very bad! | Bad | Hmmm | Oke | Good! |
---|---|---|---|---|
0% | 0% | 0% | 0% | 0% |
Haben Sie Fragen oder brauchen ein individuelles Angebot? Zögern Sie nicht, uns zu kontaktieren.
Dann melde dich doch zu unserem Newsletter an!
Neben unseren Blog Themen informieren wir dich darin regelmäßig zu neuen Features und Tutorials