Log in
Model

Bundle

Magento\Bundle\Model\Product\CopyConstructor\Bundle

What it does

This class handles the duplication of bundle product options and selections when a bundle product is copied in Magento 2.

It ensures that when duplicating a bundle product, new option and selection IDs are created instead of modifying the original product's data.

Developers would use this when implementing custom product duplication logic or extending bundle product copy functionality.

Public Methods

  • build()