Get SKUs of all bundled product items Magento 2.4.6
I have a bundled product, let’s call the sku BundledProduct.
I have 3 products that can be selected to be bundled with BundledProduct. Let’s call the skus AddOn1, AddOn2, and AddOn3.
However, when placing the order, only the AddOn’s Names are passed, not the Skus of the add ons. For example, AddOn1’s name may be “Warm Gloves” and that gets passed into the admin instead of “AddOn1”.
How can I get it to pass the SKU as well of these selected options?