How to Customize Product Tabs in Magento 2 |
Magento 2 Extensions |
Written by ITORIS Team, 2018-06-07 |
Creating product tabs helps admin organize information in the most convenient way and allows users to navigate through content easily. Your product pages won't be overloaded with information within three tabs provided by default. Magento 2 enables the following system tabs: Details, More Information and Reviews which can be customized programmatically only. If you need to extend this Magento functionality without additional coding the Product Tabs extension will do that for you. Product tabs allow to insert specific information within separate custom sections such as blocks with more products, texts with useful information, guides, pictures, videos and more. The extension helps to edit or remove system tabs, add custom tabs, define customer groups and categories the tabs should be visible for. Let us guide you through the whole customization process from translating titles to specifying categories for tabs. How to Change or Translate the Tabs' TitlesThe extension allows to overwrite the tabs' titles or change them for specific store views. You can find the global system tabs or create custom ones following PRODUCTS > Inventory > Product Tabs. To change the tab's title, do the following: 1. Open the tab for editing. 2. Enter a custom name into the "Label" field. 3. Save the settings. To translate the tab's title, do the following: 1. Switch to the necessary store view in the upper left corner of the page on the grid. 2. Open the tab for editing. 3. Clear the "Use Default Value" checkbox below the "Label" field. 4. Enter the title and save the changes. This is how your translated tabs will look on Frontend for the "German" store view: How to Delete System or Custom TabsYou can remove the tabs easily by clicking the "Delete" link next to each tab on the grid. You can apply the same action via the mass action tool as well. How to Add Custom TabsThe extension allows to create custom tabs using the WYSIWYG editor, insert widgets, variables, create and change the product content. To create a custom tab, do the following: 1. Go to PRODUCTS > Inventory > Product Tabs and click button "Add New Tab". 2. Enter the label and enable the tab. 3. Create your content using the editor. 4. Then choose customer groups and specify categories the tab will be visible for. You can read more about how to create custom tabs in Magento 2 in our blog. How to Add a Tab to a Specific CategoryThe extension allows to apply a custom tab for a specific category. For example, you can create a size chart for shirts only or enter some tips on how to choose a hat. To specify a category in your tab, do the following: 1. Create a tab or open an existing one. 2. Enable the tab and enter the content. 3. Define the customer group. 4. Then specify the category, for example, "Tees" for men on the category tree. The tab will be available for products included in the "Tees" category. |