Skip to content
Catalog & Product Extensions

Product Tabs Customizer for Magento 2

Controls the tabs on Magento 2 product pages: horizontal or vertical layout, an accordion on mobile, extra tabs from CMS blocks or product attributes, and direct links such as /product.html#reviews. Labels and order are set in the admin.

  • Free
  • Themes listed: Hyvä + Luma
Free $0.00, in stock
Check requirementsSee the versions and themes listed for this package. Details Ask about setupInclude the package name and your Magento and PHP versions. Ask
$0.00
In stock
SKU
panth-producttabs
Links
composer require mage2kishan/module-producttabs
SKU
panth-producttabs
  • Package requirementsRead the source documentation
  • Developer profileView Upwork profile
  • Themes listedHyvä + Luma
  • PHP versions listed8.1, 8.2, 8.3, 8.4
  • Installation questionsDiscuss your store setup

What it does for your store

The main features, as listed in the module documentation.

  • Tab layout

    Horizontal tab strip or vertical tab list, with fade, slide or no animation between panels.

  • Mobile behaviour

    Below 768 px, choose an accordion or a horizontally scrolling tab strip.

  • CMS block tabs

    Add tabs that show the content of any CMS block, such as shipping or size guides.

  • Attribute tabs

    Add tabs that list chosen product attributes in a two column table.

  • Built-in tabs

    Rename, hide or reorder Description, More Information and Reviews, and pick the tab that opens first.

  • Links and keyboard

    Open a tab from the URL hash, keep the hash in sync, and move between tabs with the arrow keys.

Installation

Example commands from the Magento root. Follow the package instructions and your staging and deployment process.

  1. 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
  2. 2Install on stagingReview Composer changes and follow the package instructions.
  3. 3Configure and verifyUse the documented settings and test the affected features.
magento-root
$ composer require mage2kishan/module-producttabs
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy -f
$ bin/magento cache:clean

Listed requirements

These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.

Magento versions listed2.4.6, 2.4.7, 2.4.8
PHP versions listed8.1, 8.2, 8.3, 8.4
Themes listedHyvä, Luma
Composer packagemage2kishan/module-producttabs

Read package requirements and license

Documentation

Product details and setup guidance. Check the package repository for release-specific instructions.

Product page tabs managed from the admin

Product Tabs replaces the tab block on the Magento 2 product page (product.info.details) with a tab set you configure in the admin. The Description, More Information and Reviews tabs get their own labels, show or hide switches and sort order, and you can add tabs from CMS blocks or product attributes. When the module is turned off, the theme shows its standard product details again.

There is one template for Luma, written in plain JavaScript, and one for Hyvä, written with Alpine.js. The block picks the right one through Panth Core.

Layout and behaviour

  • Horizontal tabs above the panels or a vertical list beside them, 220 px wide.
  • Fade, slide or no animation when switching panels.
  • Below 768 px, an accordion or a horizontally scrolling tab strip.
  • Optional sticky tab bar that stays below any fixed or sticky header.
  • Default open tab: the first available tab, Description, More Information or Reviews. You can also start with every panel closed.

Custom tabs

Two grids in the configuration add tabs. A CMS block tab shows the content of a CMS block. An attribute tab lists the product attributes you name, for example material, color and weight, in a two column table. Attributes with no value, or with the value No or N/A, are left out, and a tab with nothing to show is not rendered. Each row has a title, a sort order, an enabled switch and an optional Bootstrap Icons class.

When a rendered tab uses an icon class, the template loads Bootstrap Icons 1.11.3 from the jsDelivr CDN. Turn off Show Tab Icons if you do not want that request.

Reviews

The number of approved reviews is added to the Reviews label, for example Reviews (4). With Lazy Load Reviews on, the review HTML is still part of the page but stays hidden behind a spinner until the tab is opened.

Opening a product URL with #description, #more-information, #reviews or the alias of a custom tab opens that tab. Switching tabs updates the hash with history.replaceState, so it does not add browser history entries. In the tab bar the arrow keys move between tabs and Home and End jump to the first and last tab.

Widget

A Panth Product Tabs widget is included. On product page layouts it renders the tabs it contains. In a CMS page or block it shows nothing unless you set a product ID, and then it shows the approved reviews of that product.

Requirements

  • Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
  • PHP 8.1 or later.
  • mage2kishan/module-core, installed by Composer.
  • Hyvä or Luma storefront.

All settings can be set per website and store view. The module creates no database tables. Free and open source under the MIT License.

Developer notes

  • Module Panth_ProductTabs, PHP namespace Panth\ProductTabs. It loads after Magento_Catalog and Panth_Core.
  • ViewModel\Config exposes the settings to templates, including getTabConfig() and getAllTabsConfig(). ViewModel\Tabs provides getCurrentProduct() and getApprovedReviewCount() for the current store.
  • The two custom tab grids are saved through Model\Config\Backend\DynamicRows, which extends Magento's ArraySerialized backend, and are read back with the JSON serializer. The paths are panth_producttabs/custom_cms_tabs/cms_tabs and panth_producttabs/custom_attribute_tabs/attr_tabs.
  • etc/frontend/di.xml registers the module with Panth\Core\ViewModel\ThemeConfig. etc/theme-config.json holds its colour, font, radius and transition tokens.
  • ACL resources: Panth_ProductTabs::producttabs and Panth_ProductTabs::config, under Magento_Config::config.
  • The module declares no console commands, cron jobs, REST endpoints or controllers.
More information
Module Category Catalog & Products
Best For All Sizes

Changelog

  1. 1.1.9, 2026-10-30

    • Released under the MIT License: this module is free and open-source software.
  2. 1.1.8, 2026-10-07

    • Storefront colours follow the store palette on Hyvä and Luma: tab bar and attribute label backgrounds #FAFAFA (were #F3F4F6 and #F9FAFB), borders #E5E5E5 (were #E5E7EB), panel and attribute value text #171717 (was #374151), paragraph and list text #525252 (was #4B5563) and tab hover text #171717.
Full history on GitHub

FAQ

Can I add more than 3 custom tabs?

Yes. The CMS block tab grid and the attribute tab grid take as many rows as you add. Each row becomes a tab when it is enabled and has something to show.

Does deep linking work with SEO tools?

A link such as /product.html#reviews opens the Reviews tab, and switching tabs updates the hash with history.replaceState, so the back button is not filled with tab changes. The module adds no tracking events of its own.

Will it work with configurable or bundle products?

The module has no product type logic. It renders the detail tabs Magento builds for the product page, so it applies to any product type that uses that block. Attribute tabs only appear on products where at least one listed attribute has a value.

Does it support multi-store and multi-language?

Yes. Every setting, including tab labels and the custom tab grids, can be set per website and store view, and the storefront strings are in the en_US.csv translation file.

Is it compatible with Hyvä Checkout and Hyvä React Checkout?

The module only changes the tab block on the product page. It does not touch the cart or checkout.

Does lazy-loaded reviews affect SEO?

Lazy Load Reviews does not remove anything from the page. The review HTML is rendered with the page and only kept hidden until the Reviews tab is opened. The module does not output review structured data itself.

Can I use the Product Tabs block on CMS pages?

Only in a limited way. The widget renders tabs only where it has product detail blocks, which is on product page layouts. In a CMS page or block it shows nothing unless you set Product ID for Reviews, and then it shows the approved reviews of that product.

Does it modify core Magento files?

No. It points the product.info.details block at its own template through layout XML and uses view models for the data. It has no plugins or preferences and changes no core files.

Kishan Savaliya

Questions before you install?

Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.

Ask on Discord