Custom fields for product datasheets
Last updated
Was this helpful?
Last updated
Was this helpful?
from theme version 4.8.0
The custom fields are displayed in the buy box on the product page - without any template adjustment.
You can create any custom field via Settings > System > Custom fields.
Select or create set: To do this, either select the existing Custom content (THEME NAME)
set or create your own set. When creating a new set, make sure to assign to products.
Create custom field: In the desired set, create a new field of type (1) Text field
using New custom field. You can find further information on creating custom fields in the Shopware documentation.
In our example we call the custom field custom_details_example
.
As already noted in the blue information message from step 1, after creating the custom field, you have a snippet available that can be output as a label in the storefront. You can search (1) for the technical name of your custom field via Settings > Shop > Text blocks > [Select text block set]. Click Edit (2) in the context menu and enter the name in all available languages.
Be sure to include a colon in the label to keep the presentation consistent.
In order for the custom field to be visible in the storefront, you must enter content for the respective product. Under Catalogues > Products > [Select product] > in the tab: Specifications you will find the custom fields at the very bottom. Select the set in which the custom field was created and enter a value (1).