定制 johnhenry/craft-bundle-builder 二次开发

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

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

johnhenry/craft-bundle-builder

Composer 安装命令:

composer require johnhenry/craft-bundle-builder

包简介

Product bundles for Craft Commerce - flexible pricing, cart-time variant selection, and child inventory tracking

README 文档

README

Stable Version Static Badge

craft-bundle-builder-plugin-icon

Bundle Builder for Craft Commerce

Product bundles for Craft Commerce 5. A bundle is a first-class purchasable element that groups several products together and sells as a single line item, with flexible pricing, cart-time variant selection, component inventory tracking, and mixed-supply tax handling that works with whatever tax scheme (VAT, GST, sales tax) you've set up in Commerce.

Features

  • Bundle elements edited through Craft's native element editor (live preview, drafts, revisions, autosave).
  • Bundle types with their own field layout, SKU/description formats, per-site URL settings, preview targets, and tax treatment.
  • Pricing
    • Fixed: a set price (plus optional promotional price).
    • Automatic: the summed price of the components (each component's own sale or catalog-pricing-rule price, when one applies), less a percentage or flat discount. Recalculated automatically when a component product's price changes.
  • Cart-time variant selection: the customer chooses a variant for each component; the bundle stays one line item, with the choices stored as readable line-item options and a frozen snapshot.
  • Availability gated by the post/expiry window and by each component having an in-stock variant.
  • Inventory: on order completion, each chosen component variant's stock is decremented (the bundle itself doesn't track inventory).
  • Tax treatment (composite vs multiple supply, set per bundle type)
    • Composite supply: the whole bundle is taxed at the bundle's own tax category (principal element rate).
    • Multiple supply: the price is apportioned across components and each is taxed at its own product's tax category rate, for any tax scheme configured in Commerce.
  • Twig API via craft.bundleBuilder.

Documentation

Full documentation is at https://johnhenry.ie/plugins/bundle-builder/

Support

Need a hand? Head over to the GitHub Issues page

License

Proprietary - Copyright (c) 2026 John Henry Donovan

Requirements

  • Craft CMS 5.0+
  • Craft Commerce 5.0+
  • PHP 8.2+
John Henry - Craft CMS Plugins

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-07-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固