I want to get only those custom options which are selected by the customer on the product page. while I am on the onepage page, so I have the quote object.

$items = $quote->getAllItems();
foreach ($items as $item) {
    //getting selected custom options

1 Answer 1


This is the way the options are retrieved in the cart page. It should work for you also:

$helper = Mage::helper('catalog/product_configuration');
$items = $quote->getAllItems();
foreach ($items as $item) {
    $options = $helper->getCustomOptions($item);
    //do something with $options.
  • Life saver like usual.
    – Elias
    Commented Dec 2, 2015 at 10:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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