jhae/shopware-6-twig-extensions
最新稳定版本:v1.0.0
Composer 安装命令:
composer require jhae/shopware-6-twig-extensions
包简介
Shopware 6 Twig extensions
README 文档
README
Warning
This repository is no longer maintained and was archived on January 11, 2025.
The package jhae/shopware-6-twig-extensions has been marked as abandoned. There is currently no replacement.
Shopware 6 Twig Extensions
This Shopware 6 plugin adds more Twig features.
Installation
- Navigate to the root folder of your Shopware installation.
- Download the plugin.
composer require jhae/shopware-6-twig-extensions
- Refresh the Shopware plugin list.
./bin/console plugin:refresh
- Install and activate the plugin.
./bin/console plugin:install --activate JhaeTwigExtensions
You are ready to use the Twig extensions in your templates.
Twig functions
sw_cms_page
This function allows you to include any CMS page you created in "Content / Shopping Experiences".
Usage
{{ sw_cms_page(id) }}
Parameters
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-26