I can get the item's bundle option id using

        foreach ($item->getQtyOptions() as $optionQty) {
            $optionId = $optionQty->getOptionId();

but I am having a hard time getting the default title. Do you have any idea how to retrieve the default title? Thank you.


I have been able to solve this problem using

$optionCollection = $product->getTypeInstance(true)->getOptionsCollection($product);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.