承接 sschreier/sschreiertabproductdetailpage 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sschreier/sschreiertabproductdetailpage

最新稳定版本:1.3.1

Composer 安装命令:

composer require sschreier/sschreiertabproductdetailpage

包简介

tabs for the product detail page

README 文档

README

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
  • select, if the headline of tab 1 use twig compiling
  • set the content of tab 1 via snippet
  • select, if the content of tab 1 use twig compiling
  • select, if tab 2 should be filled via a snippet
  • set the headline of tab 2 via snippet
  • select, if the headline of tab 2 use twig compiling
  • set the content of tab 2 via snippet
  • select, if the content of tab 2 use twig compiling
  • select, if tab 3 should be filled via a snippet
  • set the headline of tab 3 via snippet
  • select, if the headline of tab 3 use twig compiling
  • set the content of tab 3 via snippet
  • select, if the content of tab 3 use twig compiling
  • select, if tab 4 should be filled via a snippet
  • set the headline of tab 4 via snippet
  • select, if the headline of tab 4 use twig compiling
  • set the content of tab 4 via snippet
  • select, if the content of tab 4 use twig compiling
  • select, if tab 5 should be filled via a snippet
  • set the headline of tab 5 via snippet
  • select, if the headline of tab 5 use twig compiling
  • set the content of tab 5 via snippet
  • select, if the content of tab 5 use twig compiling

Available snippets

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

How to create a manufacturer tab or something similar

  1. Switch to the extension configuration
  2. Activate the switch fill via a snippet
  3. Activate the switch use twig compiling for the headline
  4. Insert the following content into the field headline from the snippet:
{{ page.product.manufacturer.translated.name }}
  1. Activate the switch use twig compiling for the content
  2. Insert the following content into the field content from the snippet:
{{ page.product.manufacturer.translated.description }}

How to install the extension

via zip and 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 via the command
composer require sschreier/sschreiertabproductdetailpage
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTabProductDetailPage

via https://packagist.org

  • Connect to the console via ssh and install the plugin 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

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 5
  • Forks: 1
  • 开发语言: Twig

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-03-09