Custom Product Tabs for Magento 2
- Compatibility
- 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0
- Hyvä theme
- Hyvä compatible
Description / Custom Product Tabs for Magento 2
MAGENTO 2 · PRODUCT PAGE · ADDITIONAL INFORMATION
The right information in the right product section.
Kowal Custom Tab
Extend the product page with custom tabs and sections that pull content from attributes. Manage names, order, and visibility in the Magento admin panel.
Content from attributes · Empty sections hidden · Names per Store View
HOW IT WORKS IN PRACTICE
01 · You create an entry
You set the name, attribute, status, and order.
02 · You complete the product
You add content in the assigned product attribute.
03 · The page displays the information
The module displays the entry only where it has content.
What does your store gain?
Discover the module’s features, use cases, and settings.
Flexible product tabs without modifying the template
Kowal Custom Tab is a Magento 2 module that lets you quickly extend the product page with your own dynamic tabs. The administrator can create additional information sections, assign them to product attributes, and control their order without editing theme files.
The module works well for stores that need to present additional product information in an organized way: size charts, composition, usage instructions, technical files, delivery information, warranty, certificates, or extended descriptions that depend on the product.
Key features
- Add custom tabs to the product page.
- Pull tab content from a selected product attribute.
- Automatically hide tabs when the product has no content filled in for the assigned attribute.
- Manage the tab display order.
- Enable and disable tabs from the admin panel.
- Support for HTML content and CMS widgets rendered by the Magento filter.
- Translate the tab name per Store View in line with the Magento scope mechanism.
- Fallback to the default value when the name for a given Store View has not been overridden.
Benefits for your store
- Better organization of information on the product page.
- Less development work when adding repeatable product sections.
- Consistent presentation of additional data across multiple product categories.
- Ability to adjust tab names for different store language versions.
- Lower risk of template errors because configuration is handled from the admin panel.
Example use cases
- A 'Technical specifications' tab pulled from a product attribute.
- A 'Size chart' tab visible only for products with a completed chart.
- A 'Usage instructions' tab for products that require an additional description.
- A 'Composition and care' tab in a fashion store.
- A 'Logistics data' tab in a B2B store.
- Separate tab names for the Polish, English, and German versions of the store.
Who this module is for
The module is designed for Magento 2 stores that want to extend the product page with additional information without creating individual frontend changes for each tab. It is especially well suited for multilingual stores, B2B catalogs, and implementations where product data is maintained in Magento attributes.
Tabs, sections, and the Full Width layout
An entry can have the Display Mode Tabs or Section. In the column layout, you choose either a tab or a separate section. In the Product Full Width layout, all entries are sections.
In Full Width, the module creates floating navigation for visible sections. The Full Page Product - floating menu sections field lets you define the order, targets, and menu labels; an empty field restores automatic detection.
Luma and optional Hyvä adapter
The package includes Kowal_CustomTabHyva. For the Hyvä storefront view, enable the module and the Hyva compatibility setting. Adapter rendering is disabled by default; installation on Luma does not require Hyvä.
In Hyvä, both Tabs and Section are displayed as native product section cards. The adapter preserves order, translations, hiding of empty attributes, and CMS content filtering. The Full Width menu works only when the given theme provides this layout.
Installation via Composer
Package: kowal/module-customtab; module: Kowal_CustomTab. After configuring access to the Kowal repository, install the package, enable the module, run the Magento update, and clear the cache. For production mode, include compilation and static content deployment according to your store’s process.
From configuration to results
1. You create an entry
You set the name, attribute, status, and order.
2. You complete the product
You add content in the assigned product attribute.
3. The page displays the information
The module displays the entry only where it has content.
A size chart exactly where it is needed
Example: you create a 'Size chart' tab from a product attribute. Apparel items with a completed chart display the section; products without its content do not display an empty tab.
You can adjust the name separately for the Polish, English, and German versions of the store.
Organize additional information on the product page
Want to adapt the module to your store? Ask about a Kowal Custom Tab implementation and discuss the configuration or needed extensions.
More Information
| Hyvä theme | Hyvä compatible |
|---|---|
| Theme compatibility | Hyvä, Luma / Blank, KOWAL |
Questions and Answers
What does tab configuration and management look like? Is it complicated?
What are the benefits of adding custom tabs to the product page?
Module Installation Instructions
Kowal Custom Tab - installation and configuration
Requirements
- Magento 2.4 or newer.
- Access to Magento CLI.
- Composer configured to download private Kowal packages.
- Installed base module
kowal/base. - Administrator permissions for the Magento panel.
Installation via Composer
Add the package repository:
You will receive the access credentials for the Composer repository (customer email address and license token) by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with your account email address and TWOJ_TOKEN with the token you received. Run the commands in the Magento root directory.
composer config repositories.kowal composer https://repo.kowal.storeConfigure access credentials for the Kowal Composer repository:
composer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'Install the module:
composer require kowal/module-customtabRun the Magento update:
php bin/magento setup:upgradeIn a production environment, run DI compilation and static asset deployment according to the project process:
php bin/magento setup:di:compile
php bin/magento setup:static-content:deployClear the cache:
php bin/magento cache:flushInstallation verification
Check whether the module is active:
php bin/magento module:status Kowal_CustomTabIf the module is inactive, enable it:
php bin/magento module:enable Kowal_CustomTab
php bin/magento setup:upgrade
php bin/magento cache:flushModule configuration
In the Magento panel, go to:
Stores > Configuration > Kowal > Custom Tab
Set the Enable module option to Yes, then save the configuration and clear the cache if Magento prompts you to do so.
Managing tabs
In the admin panel, go to:
Kowal > Custom Tabs > Custom Tab
Click Add new CustomTab to create a new tab.
Complete the fields:
Name- the tab name visible on the frontend.Field type- the type of content source.Attribute code- the product attribute from which the tab content should be pulled.Status- tab activity status.Sort Order- tab display order.
Save the tab.
Translating the tab name
The default tab name is saved for store_id = 0.
To add a translation for a specific Store View:
- Open an existing tab for editing.
- Use the Store View switcher in the upper-right area of the form.
- Select the Store View for which you want to change the name.
- Clear
Use Default Valuenext to theNamefield. - Enter the tab name for the selected language version.
- Save the form.
If Use Default Value remains selected, the module will use the default value from store_id = 0.
Frontend behavior
The module adds tabs to the product details section. The tab appears only when the product has a completed value in the attribute specified in the tab configuration.
For the tab name, the module applies a fallback:
- Name for the current Store View.
- Default name from
store_id = 0. - Value from the main tabs table, retained for compatibility.
The tab content is filtered by the Magento CMS mechanism, so it can contain Magento-supported HTML tags and widgets.
Updating an existing installation
After updating the module to the version with multilingual support, run:
php bin/magento setup:upgrade
php bin/magento cache:flushThe new per-Store View values table will be added by the Magento declarative schema. After the first save of an existing tab, its default name will also be stored as a store_id = 0 record.
Troubleshooting
If the tab does not appear on the frontend:
- Check whether the module is enabled in the configuration.
- Check whether the tab has
Statusset toYes. - Check whether the product has a completed value in the attribute specified in the
Attribute codefield. - Clear the Magento cache.
- Make sure the theme layout still renders the
product.info.detailsblock.
If the name translation does not appear on the frontend:
- Check whether you are editing the correct Store View.
- Check whether
Use Default Valueis cleared for theNamefield. - Save the tab and clear the cache.