承接 blackbird/module-universes 相关项目开发

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

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

blackbird/module-universes

最新稳定版本:1.0.0

Composer 安装命令:

composer require blackbird/module-universes

包简介

N/A

README 文档

README

This Magento 2 module allows you to manage different "universes" on your website. Universes are determined through configuration, allowing administrators to choose a code, homepage, category root ID, or product attribute value. Based on the selected universe, the module dynamically applies specific layouts and adds a body class to the page, depending on the universe and page type (homepage, category, or product).

Features

  1. Universe Configuration
    Choose a universe code, homepage, category root ID, or product attribute value to define a universe. Go to Stores > Configuration > Blackbird extensions > Universes.

  2. Dynamic Layouts
    Allows to add a layout prefixed by the selected universe code for different page types.
    Example : {universe_code}_catalog_category_view.xml

  3. Body Class Injection
    Add a custom body class dynamically, reflecting the selected universe.
    Example : {universe_code}-universe

  4. Context resolving
    With these service and view model, you can check a universe's context from anywhere :
    Blackbird\Universes\ViewModel\Universes
    Blackbird\Universes\Api\UniverseResolverInterface

  5. Flexible Configuration
    Admins can easily configure multiple universes, depending on the needs.

Installation

Composer Package:

composer require blackbird/module-universes

Install the module

Go to your Magento root, then run the following Magento command:

php bin/magento setup:upgrade

If you are in production mode, do not forget to recompile and redeploy the static resources, or to use the --keep-generated option.

Contact

For further information, contact us:

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

That's all folks!

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-23