wearejh/m2-module-landing-categories
最新稳定版本:1.1.1
Composer 安装命令:
composer require wearejh/m2-module-landing-categories
包简介
Landing Categories for Magento 2
README 文档
README
This module adds the ability to have a different page layout for landing categories.
It also adds the ability to add widgets to specific landing category pages.
How to use
Set a category as landing
In the admin panel, on the category create/edit page, under display settings, set the Display Mode to "Landing Category"
A custom handle jh_category_landing will be loaded on that category page. Add your customizations to category landing page in that layout handle.
Add Widgets to a specific category page or to all of them
In the admin panel, on the add/edit a widget page, under Layout Updates, set Display on as "Landing Categories", then choose a specific category or check the "all" radio button.
(Add your own display modes - from version 1.1.0)
To add your own display modes:
- Add this module as a dependency in your own module
- Create a
landing_categories.xmlwithin your etc folder of your module
<?xml version="1.0"?> <config> <view name="jh_test" label="A Double Page" layout="jh_test_layout" /><view name="jh_test2" label="Another Landing Page" layout="jh_mest_layout" /> </config>
Installation
Add the following to your repositories key in your composer.json file:
{
"type": "vcs",
"url": "git@github.com:WeareJH/m2-module-landing-categories.git"
}
Run composer require wearejh/m2-module-landing-categories
统计信息
- 总下载量: 112
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-10-01