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.
- 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
- tabHeadlineFillViaSnippet
- tab2HeadlineFillViaSnippet
- tab3HeadlineFillViaSnippet
- tab4HeadlineFillViaSnippet
- tab5HeadlineFillViaSnippet
- tabHeadline
- tabContentPreviewMore
- tabContentPreviewText
- tabContentFillViaSnippet
- tab2ContentFillViaSnippet
- tab3ContentFillViaSnippet
- tab4ContentFillViaSnippet
- tab5ContentFillViaSnippet
- tabContent
- Download the latest SschreierTabProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTabProductDetailPage
- Add the repository URL to the composer.json of the project
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/sschreier/SschreierTabProductDetailPage"
}
],
- 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
- Download the latest SschreierTabProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
- Zip the folder to SschreierTabProductDetailPage.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.
- Download the latest SschreierTabProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierTabProductDetailPage.
- Zip the folder to SschreierTabProductDetailPage.zip.
- Upload the zip in the Shopware Administration.
- Update the extension.