Skip to content

A shopware 6 extension for tabs for the product detail page, which can be displayed before or after the reviews tab.

Notifications You must be signed in to change notification settings

sschreier/SschreierTabProductDetailPage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

A extension for tabs for the product detail page for Shopware 6

A extension for tabs for the product detail page, which can be displayed before or after the reviews tab. The content of the tabs comes either from the rich text editor at the product or from a snippet. The tabs are also displayed when assigning a product page layout. When you increase the value from the constant NUMBER_TABS in the file SschreierTabProductDetailPage.php in the src-directory before the installation, you can add so much tabs as you like.

Possible Configurations

  • select, if the tabs should be shown before the rating tab
  • set the number of characters from which the preview text in smaller resolutions should be truncated
  • select, if tab 1 should be filled via a snippet
  • set the headline of tab 1 via snippet
  • set the content of tab 1 via snippet
  • select, if tab 2 should be filled via a snippet
  • set the headline of tab 2 via snippet
  • set the content of tab 2 via snippet
  • select, if tab 3 should be filled via a snippet
  • set the headline of tab 3 via snippet
  • set the content of tab 3 via snippet
  • select, if tab 4 should be filled via a snippet
  • set the headline of tab 4 via snippet
  • set the content of tab 4 via snippet
  • select, if tab 5 should be filled via a snippet
  • set the headline of tab 5 via snippet
  • set the content of tab 5 via snippet

Available snippets

  • tabHeadlineFillViaSnippet
  • tab2HeadlineFillViaSnippet
  • tab3HeadlineFillViaSnippet
  • tab4HeadlineFillViaSnippet
  • tab5HeadlineFillViaSnippet
  • tabHeadline
  • tabContentPreviewMore
  • tabContentPreviewText
  • tabContentFillViaSnippet
  • tab2ContentFillViaSnippet
  • tab3ContentFillViaSnippet
  • tab4ContentFillViaSnippet
  • tab5ContentFillViaSnippet
  • tabContent

How to install the extension

via console (recommended)

  1. Download the latest SschreierTabProductDetailPage-master.zip.
  2. Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
  3. Move the folder to the project folder custom/plugins/ .
  4. Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTabProductDetailPage

via composer

  1. Add the repository URL to the composer.json of the project
"repositories": [
    ...,
    {
        "type": "vcs",
        "url": "https://github.com/sschreier/SschreierTabProductDetailPage"
    }
],
  1. Connect to the console via ssh and install the plugin source code via the command
composer require sschreier/sschreiertabproductdetailpage
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTabProductDetailPage

via zip upload

  1. Download the latest SschreierTabProductDetailPage-master.zip.
  2. Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
  3. Zip the folder to SschreierTabProductDetailPage.zip.
  4. Upload the zip in the Shopware Administration.
  5. Install & Activate the extension.

extension update (zip)

  1. Download the latest SschreierTabProductDetailPage-master.zip.
  2. Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
  3. Zip the folder to SschreierTabProductDetailPage.zip.
  4. Upload the zip in the Shopware Administration.
  5. Update the extension.

Images

default description tab

default description tab

custom tab headline and content via product custom field

custom tab headline and content via product custom field

extension configuration part 1

extension configuration

extension configuration part 2

extension configuration

custom tab headline and content in shopware administration

custom tab headline and content in shopware administration

About

A shopware 6 extension for tabs for the product detail page, which can be displayed before or after the reviews tab.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published