定制 backendorf/module-installment 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

backendorf/module-installment

Composer 安装命令:

composer require backendorf/module-installment

包简介

Add installment feature to Magento 2 catalog

README 文档

README

Magento 2.4.x Hyvä Compatible License

A powerful and flexible Magento 2 module designed to display installment values and strategic discounts directly on your storefront catalog and product pages. Now fully compatible with Hyvä Themes while maintaining support for Luma/Standard themes.

🚀 Features

  • Multi-Theme Support: Native support for Hyvä Themes (Alpine.js) and Luma/Standard themes (jQuery).
  • Installment Display: Show installment options across Product, Category, and Search pages.
  • Strategic Discounts: Display custom discounts (e.g., PIX, Bank Transfer) with automatic calculation and deduplication.
  • Configurable Logic:
    • Define maximum installments and minimum installment value.
    • Support for Simple and Compound interest calculations.
  • Customizable Interest: Set specific interest rates for each installment level.
  • Flexible Templates: Specific price templates for catalog_category_view, catalogsearch_result_index, and catalog_product_view.
  • Custom Styling: Control primary colors, highlight text colors, and font weights directly from the admin panel.

⚡ Hyvä Integration

This module is built to leverage Hyvä's performance:

  • Alpine.js Components: Lightweight and reactive installment calculations.
  • Tailwind CSS: Automatically registers module templates for the Tailwind CSS build process.
  • CSP Compatible: All JavaScript components are built to comply with Content Security Policy.

🛠️ Installation

Using Composer (Recommended)

composer require backendorf/module-installment

Enable the Module

bin/magento module:enable Backendorf_Installment
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

For Hyvä Themes

To ensure Tailwind classes are generated correctly for your theme:

bin/magento hyva:config:generate

⚙️ Configuration

Navigate to Stores > Configuration > Backendorf > Installment to configure:

  1. General Settings: Enable/Disable the module, set installment limits, and display behavior.
  2. Interest Rates: Configure calculation types and specific rates per installment.
  3. Discounts: Add dynamic discount rules based on percentages.
  4. Price Templates: Customize the HTML output for different page types.
  5. Styles: Personalize the look and feel (colors and typography) to match your brand.

📋 Requirements

  • Magento 2.4.x
  • PHP 8.1+
  • Hyvä Themes (Optional, but fully supported)

📄 License

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

backendorf/module-installment 适用场景与选型建议

backendorf/module-installment 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 6.98k 次下载、GitHub Stars 达 16, 最近一次更新时间为 2021 年 05 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 backendorf/module-installment 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 6
  • 开发语言: HTML

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-05-20