public function getItemOptions() { $opts = $this->getItem()->getOrderItem()->getProductOptions(); $options = array(); if (@$opts['info_buyRequest']) { if ($opts['info_buyRequest'] && ($periodTypeId = @$opts['info_buyRequest']['aw_sarp_subscription_type']) && ($periodStartDate = @$opts['info_buyRequest']['aw_sarp_subscription_start'])) { $startDateLabel = $this->getItem()->getOrderItem()->getIsVirtual() ? "Subscription start:" : "First delivery:"; $options[] = array('label' => Mage::helper('sarp')->__('Subscription type:'), 'value' => Mage::getModel('sarp/period')->load($periodTypeId)->getName()); $options[] = array('label' => Mage::helper('sarp')->__($startDateLabel), 'value' => $periodStartDate); } } $options = array_merge($options, parent::getItemOptions()); return $options; }