The datasheets tab shows the datasheets of a product in a separate tab on the product page.
Note: The tab is displayed if "Show datasheets" is set to "show in a separate tab" in the theme configuration and at least one datasheet has been assigned using a custom field (Datasheet 1–3).
Configuration
Theme configuration
- Go to the "Product pages" tab
- Expand the "Datasheets (in tabs)" block
- Set the configuration "Show datasheets" to "show in a separate tab"
- Optional: Use the "Tab "Datasheets"" block to control whether the headline is shown in the tab
- Save your changes after editing
Content
The "Datasheets tab" can be filled via custom fields in the corresponding product. As with all custom fields, make sure to fill them in for each variant.
Title
The tab name is based on the snippet twt.detail.tabDatasheets.title.
Headline
A headline is displayed within the tab. You edit the text using the snippet twt.detail.tabDatasheets.headline (%product% is replaced by the product name).
Note: For information on how to edit snippets, see the following instructions: Texts: Editing and translation
Tip: If a change does not affect the storefront, just clear the Shopware cache: Clearing / warming up the Shopware cache
Options
- Show headline
- Specify whether the headline is displayed within the tab ("show" / "don't show").
Summary
Theme configuration
- Tab "Product pages" => Block "Datasheets (in tabs)" => Show datasheets
- Tab "Product pages" => Block "Tab "Datasheets"" => Section "Basic configuration" => Show headline
- All settings in detail: Tab "Datasheets"
Snippets
twt.detail.tabDatasheets.title(Title)twt.detail.tabDatasheets.headline(Headline)- All snippets at a glance: Snippets
Custom fields
- Datasheet 1-3 (Products)
- Datasheet 1-3 – Title (Products)
- Datasheets (Text) (Products)