Magento: Get order option of configurable and bundle product in cart
We are not allowed to order configurable and bundle products directly. We have to select product options from product detail page of configurable or bundle product. Only then we can add the product to cart.
The following code fetches the order option selected for configurable and bundle products:
// For configurable product
// For bundle product
Hope this helps. Thanks.