Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
Order ID is not shown at exit side of order process
At the exit side of the order process the order id is not shown. Here the content of our ‘success.phtml’:
<div class="page-head"> <h3><?php echo $this->__('Your order has been received') ?></h3> </div> <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p> <p> <?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>.<br/> <?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?><br/> </p> <div class="button-set"> <button class="form-button" onclick="[removed]='<?php echo $this->getUrl() ?>'"><span><?php echo $this->__('Continue Shopping') ?></span></button> </div>
That is odd...I just checked the default template on the most recent release and it does use:
<?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>
I just tried a test order using the default template and it doesn’t output the order-id. We use the other method because we pass the order-id thru to various click-tracking, ad-tracking software on the checkout success page. Glad to here that it works for you, though.