Search by

infrangible / m2-bundle-option

infrangible

Lets you link custom options of a bundle product to individual bundle options, so the shopper's choice is attached to the item selected in that bundle option.

Package info

github.com/infrangible-dev/m2-bundle-option

Homepage

Type:magento2-module

pkg:composer/infrangible/m2-bundle-option

Statistics

Installs: 156

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.1 2026-11-27 18:04 UTC

This package is auto-updated.

Last update: 2026-11-27 18:06:33 UTC


README

Links custom options of bundle products to bundle options: the value that the shopper enters or selects is passed on to the product selected in the linked bundle option, for example the engraving of the strap of a yoga kit.

How it works

  • Custom options of saved bundle products with bundle options get the field "Bundle Options" in the admin (Catalog > Products > Customizable Options): a multiple select of the bundle options of the product. A custom option can be linked to several bundle options; without selection it stays an option of the bundle only.
  • When the bundle is added to the cart, the cart items of the products selected in the linked bundle options get the custom option with its value, like a custom option of their own.
  • In the order, the order items of these products carry the custom option too. The order API (product option of the order items) shows it on the order item of the product instead of the bundle item. The order view of the admin lists all custom options with the bundle, as Magento shows bundle items.
  • The links are saved in the column bundle_option_ids of catalog_product_option.

Requirements

  • Magento Open Source or Adobe Commerce 2.4.6 or newer
  • PHP 8.1 or newer

Installation

composer require infrangible/m2-bundle-option
bin/magento module:enable Infrangible_BundleOption
bin/magento setup:upgrade

In production mode, also run bin/magento setup:di:compile.

License

Infrangible Bundle Option is licensed under the MIT License - see the LICENSE file for details.