Advertisement
moggiex

Untitled

Nov 26th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.50 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Magento
  4.  *
  5.  * NOTICE OF LICENSE
  6.  *
  7.  * This source file is subject to the Academic Free License (AFL 3.0)
  8.  * that is bundled with this package in the file LICENSE_AFL.txt.
  9.  * It is also available through the world-wide-web at this URL:
  10.  * http://opensource.org/licenses/afl-3.0.php
  11.  * If you did not receive a copy of the license and are unable to
  12.  * obtain it through the world-wide-web, please send an email
  13.  * to license@magentocommerce.com so we can send you a copy immediately.
  14.  *
  15.  * DISCLAIMER
  16.  *
  17.  * Do not edit or add to this file if you wish to upgrade Magento to newer
  18.  * versions in the future. If you wish to customize Magento for your
  19.  * needs please refer to http://www.magentocommerce.com for more information.
  20.  *
  21.  * @category    design
  22.  * @package     base_default
  23.  * @copyright   Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
  24.  * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
  25.  */
  26. ?>
  27. <div class="page-title">
  28.     <h1><?php echo $this->__('Your order has been received.') ?></h1>
  29. </div>
  30. <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
  31. <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
  32.  
  33. <?php if ($this->getOrderId()):?>
  34. <?php if ($this->getCanViewOrder()) :?>
  35.     <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
  36. <?php  else :?>
  37.     <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
  38. <?php endif;?>
  39.     <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
  40. <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
  41.     <p>
  42.         <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
  43.         <?php echo $this->getChildHtml() ?>
  44.     </p>
  45.    
  46. <!-- Added code for PriceRunner Tracking -->
  47. <img src="https://www.emjcd.com/u?AMOUNT=<?php echo number_format( $this->getOrder()->getBaseGrandTotal(), 2 ); ?>&CID=7777777&OID=<?php echo $this->getOrderId(); ?>&TYPE=5555555&CURRENCY=GBP&METHOD=IMG" height="1" width="20"/>
  48.  
  49. <?php endif;?>
  50. <?php endif;?>
  51.  
  52. <?php if ($this->getAgreementRefId()): ?>
  53.     <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
  54. <?php endif;?>
  55.  
  56. <?php if ($profiles = $this->getRecurringProfiles()):?>
  57. <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
  58. <ul class="disc">
  59. <?php foreach($profiles as $profile):?>
  60. <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
  61.     <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
  62. <?php endforeach;?>
  63. </ul>
  64. <?php endif;?>
  65.  
  66. <div class="buttons-set">
  67.     <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
  68. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement