protected function _toHtml() { $html = parent::_toHtml(); if (Mage::getStoreConfig('amorderattr/checkout/progress')) { $html = preg_replace('@opc-billing(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(2), $html); $html = preg_replace('@opc-shipping(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(3), $html); $html = preg_replace('@opc-shipping_method(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(4), $html); $html = preg_replace('@opc-payment(.*?)<\\/dd>@s', '$1' . $this->_getOrderAttributesHtml(5), $html); } return $html; }