Smart Product Tabs - Magento 2 module documentation

Author: Aurora Creation

Smart Product Tabs - Magento 2 module documentation

Module overview

The Smart Product Tabs module allows you to manage the tabs visible on the product page right from the administration panel.

Module compatibility

This module is compatibile with Magento Community version 2.4.

How it works

After installing the module go to Stores > Configuration > Aurora > Smart Product Tabs and enable the module by setting Enable Module option to Yes.
Set the other two options as you prefer:
Enable Reviews Tab For SEO - enables fetching reviews immediately after loading the product page.
Enable Reviews Counter - enables the review counter that is visible next to the tab title.

Image1

Then go to Catalog > Product Tabs and press the Add New Tab button to create a new tab.

Image2

Complete the form fields:

  • Enable Tab - enable / disable tab.
  • Name - tab name.
  • Title - tab title (visible on the product page).
  • Store View - store views on which the tab will be visible.
  • Attribute Sets - attribute sets for which the tab will be assigned.
  • Sort Order - the order of the tab on the product page.
  • Tab Title CSS Style - custom CSS styles for the tab title.
  • Content Type - tab type.

After selecting the tab type, a field to be completed corresponding to the selected type will be displayed. Available tab types:

  • Attributes Table - default product attributes tab.
  • Attribute Value - value of the selected product attribute.
  • Configuration Value - value of the selected configuration key.
  • Reviews - default product reviews tab.
  • Static Block - content of the selected CMS block.
  • Table Of Values - custom key-value pairs.

After completing the form, save the changes with the Save button. If the tab has been enabled, it will be visible on the product card on selected store views.

Image3

Installation

Via Composer

  1. Add the repository to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:magento2/smart-product-tabs.git"
    }
    ...
],
  1. Then add the dependency in composer.json:
"require": {
    ...
    "aurora/smart-product-tabs": "*"
    ...
},
  1. In the Magento root folder, run the following commands:
composer update aurora/smart-product-tabs
php bin/magento module:enable Aurora_SmartProductTabs
php bin/magento setup:upgrade

Manual

  1. Unzip the archive.
  2. Upload module files on your server to:
{Magento root}
└── app/
    └── code
  1. In the Magento root folder, run the following commands:
php bin/magento module:enable Aurora_SmartProductTabs
php bin/magento setup:upgrade

Changelog

v2.0.0

  • Relase of version 2.0.0
  • Code refactoring
  • Improvements and fixes

v1.5.5

  • Add of missing type hints

v1.5.4

  • Improvement of code for Magento 2.4.4

v1.5.3

  • Improvement of data base schema

v1.5.2

  • Adding a new attribute

v1.5.1

  • Fixing CSS

v1.5.0

  • Fixing CSS styling

v1.4.9

  • Improvement of tabs loading

v1.4.8

  • Improvement the display of tabs

v1.4.7

  • Bug fixes

v1.4.6

  • Improvement of images displaying

v1.4.5

  • Fixing ACL

v1.4.3

  • Adding GitLab's pipeline

v1.4.2

  • Improvement of module dependencies

v1.4.1

  • Bug fixes

v1.4.0

  • Adding multistore support

Thank you for your interest in our products!