getPaymentInfoHtml() alterado para assim: $this->getPaymentInfoHtml() //if ((strpos($this->getPaymentInfoHtml(), “Boleto”) !== false) && ( $_order->getStatus() == $this->__(Mage::getStoreConfig(‘payment/boleto_bancario/order_status’)) )) { //Deivison Arthur – deivison.com.br //veja mais sobre strpos em http://br.answers.yahoo.com/question/index?qid=20100221162434AAdk34n if ( (strpos($this->getPaymentInfoHtml(), “Boleto”) !== false) && $_order->getStatus() == “pending” ) { $orderid = $_order->getId(); echo “”; echo “getUrl(‘boleto/standard/view/order_id/’ . $orderid) . “\” class=\”link-cart\” onclick=\”this.target=’_blank’\”>Clique aqui para imprimir o Boleto”; } ?>