Model
CrossSell
Magento\Catalog\Model\Product\CopyConstructor\CrossSell
What it does
This class handles the copying of cross-sell product links when duplicating a product in Magento.
It extracts all cross-sell relationships from the original product and applies them to the duplicated product, ensuring that cross-sell associations are preserved during product duplication operations.
Public Methods
- build()