lucafuser/magento-category-content-management 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lucafuser/magento-category-content-management

Composer 安装命令:

composer require lucafuser/magento-category-content-management

包简介

This module extend core category functionalities

README 文档

README

Category Content Management (Magento 2 Module)

This module extends Magento category management in the Admin. It adds quick actions on the category edit page to:

  • Copy selected attributes from one category to another
  • Mass‑assign products to a category by SKU list (with simple positioning mode)
  • Truncate (clear) all product assignments from a category
  • Show product thumbnails in the Category › Products grid (Assign Products tab)
  • Attribute scope tooltip for category fields to preview per‑store overridden values

These tools help merchandisers manage category data faster without leaving the category screen.

Prerequisites

  • Magento Open Source/Adobe Commerce >= 2.4.7
    or
  • Mage-OS >= 1.3
  • PHP 8.3 or 8.4 (per composer.json)
  • Admin role with access to Catalog > Categories (Magento_Catalog::categories)

Project structure

Block/
Controller/
etc/
Model/
Plugin/
Service/
Ui/
view/
composer.json
registration.php
README.md

Notable directories:

  • Block: Admin blocks for rendering buttons on the category edit page (copy, mass assign, truncate) and custom grid columns (e.g., product thumbnail).
  • Controller: Admin controllers handling copy, mass assign, and truncate actions.
  • Service: Application services for attribute copy and product linking logic.
  • Plugin: Admin UI plugins to inject extra buttons and columns into the category product assignment UI.
  • Ui: UI data providers for admin modals/forms.
  • view: Adminhtml layouts, templates, JS, and LESS for the UI.
  • etc: Module declaration and admin wiring (routes, DI, ACL via Magento catalog permissions).

Root files:

Istruction

  • Install via Composer
    composer require lucafuser/magento-category-content-management
  • From the project root, enable the module:
    bin/magento module:enable LFuser_CategoryContentManagement
  • Run setup upgrade:
    bin/magento setup:upgrade
  • In production mode, also compile and deploy static content:
    bin/magento setup:di:compile
    bin/magento setup:static-content:deploy -f
  • Clear caches:
    bin/magento cache:flush

Usage

All features are available in the Admin at Catalog > Categories, on the category edit page.

  • Copy category attributes

    • Opens a modal to choose source and target categories and which attributes to copy.
    • Runs via an admin controller that uses services under Service.
  • Mass‑assign products by SKU

    • Paste one SKU per line into the provided field; choose sorting mode (e.g., append/after).
    • Uses CategoryProductLinkManagement to link products efficiently.
  • Truncate products in category

    • Removes existing product assignments for the current category.
  • Product thumbnails in grid

    • On the Assign Products tab (Category > Products), a Thumbnail column is added.
    • Helps merchandisers visually identify products while assigning/ordering them.
    • Implemented via custom column block and renderer, injected through admin UI plugins.
  • Attribute scope tooltip

    • For supported category attributes (e.g., name, description, image), a clickable tooltip is added next to the field.
    • The tooltip shows store views where the attribute is explicitly overridden, together with the rendered value per store.
    • Helpful when auditing multi‑store content differences without switching the scope.

Access control: actions reuse Magento’s Magento_Catalog::categories permission, so users with category management rights can use the buttons.

Contributing

  • Open an issue describing the change or problem you’re solving.
  • Follow Magento coding standards and keep changes focused.
  • Include clear commit messages and, when relevant, admin UI screenshots/GIFs.
  • Submit a PR against this module with a concise description and testing notes.

License

This project is licensed under the Open Software License 3.0 (OSL-3.0).

lucafuser/magento-category-content-management 适用场景与选型建议

lucafuser/magento-category-content-management 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 11, 最近一次更新时间为 2025 年 11 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 lucafuser/magento-category-content-management 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lucafuser/magento-category-content-management 我们能提供哪些服务?
定制开发 / 二次开发

基于 lucafuser/magento-category-content-management 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2025-11-13