Advertisement
sanjaynakate

success.phtml

Sep 11th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 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) 2014 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. <?php endif;?>
  46. <?php endif;?>
  47.  
  48. <?php if ($this->getAgreementRefId()): ?>
  49. <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
  50. <?php endif;?>
  51.  
  52. <?php if ($profiles = $this->getRecurringProfiles()):?>
  53. <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
  54. <ul class="disc">
  55. <?php foreach($profiles as $profile):?>
  56. <?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')));?>
  57. <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
  58. <?php endforeach;?>
  59. </ul>
  60. <?php endif;?>
  61.  
  62. <div class="buttons-set">
  63. <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>
  64. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement