Achang_ChinaCheckout - Version 0.1.0

Version Notes

移除帐单地址

Download this release

Release Info

Developer Minglong Li
Extension Achang_ChinaCheckout
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

Files changed (22) hide show
  1. app/code/local/Achang/ChinaCheckout/Block/Checkout/Onepage.php +34 -0
  2. app/code/local/Achang/ChinaCheckout/Block/Checkout/Onepage/Billing.php +33 -0
  3. app/code/local/Achang/ChinaCheckout/Block/Customer/Account/Dashboard/Address.php +33 -0
  4. app/code/local/Achang/ChinaCheckout/Helper/Data.php +14 -0
  5. app/code/local/Achang/ChinaCheckout/etc/config.xml +37 -0
  6. app/design/adminhtml/default/default/template/sales/order/view/info.phtml +189 -0
  7. app/design/frontend/default/default/template/checkout/multishipping/billing.phtml +116 -0
  8. app/design/frontend/default/default/template/checkout/multishipping/overview.phtml +242 -0
  9. app/design/frontend/default/default/template/checkout/multishipping/shipping.phtml +130 -0
  10. app/design/frontend/default/default/template/checkout/multishipping/state.phtml +43 -0
  11. app/design/frontend/default/default/template/checkout/onepage/progress.phtml +115 -0
  12. app/design/frontend/default/default/template/customer/account/dashboard/address.phtml +59 -0
  13. app/design/frontend/default/default/template/customer/address/book.phtml +107 -0
  14. app/design/frontend/default/default/template/customer/address/edit.phtml +149 -0
  15. app/design/frontend/default/default/template/persistent/checkout/onepage/billing.phtml +233 -0
  16. app/design/frontend/default/default/template/sales/order/info.phtml +111 -0
  17. app/etc/modules/Achang_ChinaCheckout.xml +9 -0
  18. app/locale/en_US/Mage_Checkout.csv +337 -0
  19. app/locale/en_US/template/email/sales/order_new.html +109 -0
  20. app/locale/en_US/template/email/sales/order_new_guest.html +108 -0
  21. app/locale/zh_CN/Mage_Checkout.csv +337 -0
  22. package.xml +18 -0
app/code/local/Achang/ChinaCheckout/Block/Checkout/Onepage.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Created by Achang WebDev
4
+ *
5
+ * @file Onepage.php
6
+ * @author Owen <owen@achang.com>
7
+ * @copyright Achang WebDev
8
+ * @link http://www.achang.com
9
+ *
10
+ *
11
+ */
12
+ class Achang_ChinaCheckout_Block_Checkout_Onepage extends Mage_Checkout_Block_Onepage
13
+ {
14
+ public function getSteps()
15
+ {
16
+ $steps = array();
17
+
18
+ if (!$this->isCustomerLoggedIn()) {
19
+ $steps['login'] = $this->getCheckout()->getStepData('login');
20
+ }
21
+
22
+ $stepCodes = array('billing', 'shipping_method', 'payment', 'review','shipping');
23
+
24
+ foreach ($stepCodes as $step) {
25
+ $steps[$step] = $this->getCheckout()->getStepData($step);
26
+ /*
27
+ if ($step == 'billing') {
28
+ $steps['billing']['label'] = $this->__('Shipping Information');
29
+ }
30
+ */
31
+ }
32
+ return $steps;
33
+ }
34
+ }
app/code/local/Achang/ChinaCheckout/Block/Checkout/Onepage/Billing.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Created by Achang WebDev
4
+ *
5
+ * @file Billing.php
6
+ * @author Owen <owen@achang.com>
7
+ * @copyright Achang WebDev
8
+ * @link http://www.achang.com
9
+ *
10
+ * Date Time: 13-8-4 下午10:00
11
+ */
12
+
13
+ class Achang_ChinaCheckout_Block_Checkout_Onepage_Billing extends
14
+ Mage_Checkout_Block_Onepage_Billing
15
+ {
16
+ /**
17
+ * Initialize billing address step
18
+ *
19
+ */
20
+ protected function _construct()
21
+ {
22
+ parent::_construct();
23
+ $this->getCheckout()->setStepData('billing', array(
24
+ 'label' => Mage::helper('checkout')->__('Shipping Information'),
25
+ 'is_show' => $this->isShow()
26
+ ));
27
+
28
+ if ($this->isCustomerLoggedIn()) {
29
+ $this->getCheckout()->setStepData('billing', 'allow', true);
30
+ }
31
+ //$this->setTemplate('removebilling/billing.phtml');
32
+ }
33
+ }
app/code/local/Achang/ChinaCheckout/Block/Customer/Account/Dashboard/Address.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Created by Achang WebDev
4
+ *
5
+ * @file Address.php
6
+ * @author Owen <owen@achang.com>
7
+ * @copyright Achang WebDev
8
+ * @link http://www.achang.com
9
+ *
10
+ * Date Time: 13-8-4 下午10:47
11
+ */
12
+
13
+ class Achang_ChinaCheckout_Block_Customer_Account_Dashboard_Address
14
+ extends Mage_Customer_Block_Account_Dashboard_Address
15
+ {
16
+
17
+ /*
18
+ public function _construct(){
19
+ $this->setTemplate('removebilling/dashboard/addresss.phtml');
20
+ }
21
+ */
22
+
23
+ public function getPrimaryBillingAddressHtml()
24
+ {
25
+ $address = $this->getCustomer()->getPrimaryBillingAddress();
26
+
27
+ if( $address instanceof Varien_Object ) {
28
+ return $address->format('html');
29
+ } else {
30
+ return Mage::helper('customer')->__('You have not set a default shipping address.');
31
+ }
32
+ }
33
+ }
app/code/local/Achang/ChinaCheckout/Helper/Data.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Created by Achang WebDev
4
+ *
5
+ * @file ${FILE_NAME}
6
+ * @author Owen <owen@achang.com>
7
+ * @copyright Achang WebDev
8
+ * @link http://www.achang.com
9
+ *
10
+ * Date Time: 13-8-4 下午8:14
11
+ */
12
+ class Achang_ChinaCheckout_Helper_Data extends Mage_Core_Helper_Abstract {
13
+
14
+ }
app/code/local/Achang/ChinaCheckout/etc/config.xml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Achang_ChinaCheckout>
5
+ <version>0.1.0</version>
6
+ </Achang_ChinaCheckout>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <chinacheckout>
11
+ <class>Achang_ChinaCheckout_Model</class>
12
+ </chinacheckout>
13
+ </models>
14
+ <blocks>
15
+ <chinacheckout>
16
+ <class>Achang_ChinaCheckout_Block</class>
17
+ </chinacheckout>
18
+ <checkout>
19
+ <rewrite>
20
+ <onepage>Achang_ChinaCheckout_Block_Checkout_Onepage</onepage>
21
+ <onepage_billing>Achang_ChinaCheckout_Block_Checkout_Onepage_Billing</onepage_billing>
22
+ </rewrite>
23
+ </checkout>
24
+ <customer>
25
+ <rewrite>
26
+ <account_dashboard_address>Achang_ChinaCheckout_Block_Customer_Account_Dashboard_Address</account_dashboard_address>
27
+ </rewrite>
28
+ </customer>
29
+
30
+ </blocks>
31
+ <helpers>
32
+ <chinacheckout>
33
+ <class>Achang_ChinaCheckout_Helper</class>
34
+ </chinacheckout>
35
+ </helpers>
36
+ </global>
37
+ </config>
app/design/adminhtml/default/default/template/sales/order/view/info.phtml ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 default_default
23
+ * @copyright Copyright (c) 2012 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
+ <?php $_order = $this->getOrder() ?>
28
+ <?php
29
+ $orderAdminDate = $this->formatDate($_order->getCreatedAtDate(), 'medium', true);
30
+ $orderStoreDate = $this->formatDate($_order->getCreatedAtStoreDate(), 'medium', true);
31
+ ?>
32
+ <div class="box-left">
33
+ <!--Order Information-->
34
+ <div class="entry-edit">
35
+ <?php if ($_order->getEmailSent()):
36
+ $_email = Mage::helper('sales')->__('the order confirmation email was sent');
37
+ else:
38
+ $_email = Mage::helper('sales')->__('the order confirmation email is not sent');
39
+ endif; ?>
40
+ <div class="entry-edit-head">
41
+ <?php if ($this->getNoUseOrderLink()): ?>
42
+ <h4 class="icon-head head-account"><?php echo Mage::helper('sales')->__('Order # %s', $_order->getRealOrderId()) ?> (<?php echo $_email ?>)</h4>
43
+ <?php else: ?>
44
+ <a href="<?php echo $this->getViewUrl($_order->getId()) ?>"><?php echo Mage::helper('sales')->__('Order # %s', $_order->getRealOrderId()) ?></a>
45
+ <strong>(<?php echo $_email ?>)</strong>
46
+ <?php endif; ?>
47
+ </div>
48
+ <div class="fieldset">
49
+ <table cellspacing="0" class="form-list">
50
+ <tr>
51
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Order Date') ?></label></td>
52
+ <td class="value"><strong><?php echo $orderAdminDate ?></strong></td>
53
+ </tr>
54
+ <?php if ($orderAdminDate != $orderStoreDate):?>
55
+ <tr>
56
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Order Date (%s)', $_order->getCreatedAtStoreDate()->getTimezone()) ?></label></td>
57
+ <td class="value"><strong><?php echo $orderStoreDate ?></strong></td>
58
+ </tr>
59
+ <?php endif;?>
60
+ <tr>
61
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Order Status') ?></label></td>
62
+ <td class="value"><strong><span id="order_status"><?php echo $_order->getStatusLabel() ?></span></strong></td>
63
+ </tr>
64
+ <tr>
65
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Purchased From') ?></label></td>
66
+ <td class="value"><strong><?php echo $this->getOrderStoreName() ?></strong></td>
67
+ </tr>
68
+ <?php if($_order->getRelationChildId()): ?>
69
+ <tr>
70
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Link to the New Order') ?></label></td>
71
+ <td class="value"><a href="<?php echo $this->getViewUrl($_order->getRelationChildId()) ?>">
72
+ <?php echo $_order->getRelationChildRealId() ?>
73
+ </a></td>
74
+ </tr>
75
+ <?php endif; ?>
76
+ <?php if($_order->getRelationParentId()): ?>
77
+ <tr>
78
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Link to the Previous Order') ?></label></td>
79
+ <td class="value"><a href="<?php echo $this->getViewUrl($_order->getRelationParentId()) ?>">
80
+ <?php echo $_order->getRelationParentRealId() ?>
81
+ </a></td>
82
+ </tr>
83
+ <?php endif; ?>
84
+ <?php if($_order->getRemoteIp() && $this->shouldDisplayCustomerIp()): ?>
85
+ <tr>
86
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Placed from IP') ?></label></td>
87
+ <td class="value"><strong><?php echo $_order->getRemoteIp(); echo ($_order->getXForwardedFor())?' (' . $this->escapeHtml($_order->getXForwardedFor()) . ')':''; ?></strong></td>
88
+ </tr>
89
+ <?php endif; ?>
90
+ <?php if($_order->getGlobalCurrencyCode() != $_order->getBaseCurrencyCode()): ?>
91
+ <tr>
92
+ <td class="label"><label><?php echo Mage::helper('sales')->__('%s / %s rate:', $_order->getGlobalCurrencyCode(), $_order->getBaseCurrencyCode()) ?></label></td>
93
+ <td class="value"><strong><?php echo $_order->getBaseToGlobalRate() ?></strong></td>
94
+ </tr>
95
+ <?php endif; ?>
96
+ <?php if($_order->getBaseCurrencyCode() != $_order->getOrderCurrencyCode()): ?>
97
+ <tr>
98
+ <td class="label"><label><?php echo Mage::helper('sales')->__('%s / %s rate:', $_order->getOrderCurrencyCode(), $_order->getBaseCurrencyCode()) ?></label></td>
99
+ <td class="value"><strong><?php echo $_order->getBaseToOrderRate() ?></strong></td>
100
+ </tr>
101
+ <?php endif; ?>
102
+ </table>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <div class="box-right">
107
+ <!--Account Information-->
108
+ <div class="entry-edit">
109
+ <div class="entry-edit-head">
110
+ <h4 class="icon-head head-account"><?php echo Mage::helper('sales')->__('Account Information') ?></h4>
111
+ <div class="tools"><?php echo $this->getAccountEditLink()?></div>
112
+ </div>
113
+ <div class="fieldset">
114
+ <div class="hor-scroll">
115
+ <table cellspacing="0" class="form-list">
116
+ <tr>
117
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Customer Name') ?></label></td>
118
+ <td class="value">
119
+ <?php if ($_customerUrl=$this->getCustomerViewUrl()) : ?>
120
+ <a href="<?php echo $_customerUrl ?>" target="_blank"><strong><?php echo $this->htmlEscape($_order->getCustomerName()) ?></strong></a>
121
+ <?php else: ?>
122
+ <strong><?php echo $this->htmlEscape($_order->getCustomerName()) ?></strong>
123
+ <?php endif; ?>
124
+ </td>
125
+ </tr>
126
+ <tr>
127
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Email') ?></label></td>
128
+ <td class="value"><a href="mailto:<?php echo $_order->getCustomerEmail() ?>"><strong><?php echo $_order->getCustomerEmail() ?></strong></a></td>
129
+ </tr>
130
+ <?php if ($_groupName = $this->getCustomerGroupName()) : ?>
131
+ <tr>
132
+ <td class="label"><label><?php echo Mage::helper('sales')->__('Customer Group') ?></label></td>
133
+ <td class="value"><strong><?php echo $_groupName ?></strong></td>
134
+ </tr>
135
+ <?php endif; ?>
136
+ <?php foreach ($this->getCustomerAccountData() as $data):?>
137
+ <tr>
138
+ <td class="label"><label><?php echo $data['label'] ?></label></td>
139
+ <td class="value"><strong><?php echo $data['value'] ?></strong></td>
140
+ </tr>
141
+ <?php endforeach;?>
142
+ </table>
143
+ </div>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ <div class="clear"></div>
148
+
149
+ <!--<div class="box-left">-->
150
+ <!-- <div class="entry-edit">-->
151
+ <!-- <div class="entry-edit-head">-->
152
+ <!-- <h4 class="icon-head head-billing-address">--><?php //echo Mage::helper('sales')->__('Billing Address') ?><!--</h4>-->
153
+ <!-- <div class="tools">--><?php //echo $this->getAddressEditLink($_order->getBillingAddress())?><!--</div>-->
154
+ <!-- </div>-->
155
+ <!-- <fieldset>-->
156
+ <!-- <address>--><?php //echo $_order->getBillingAddress()->getFormated(true) ?><!--</address>-->
157
+ <!-- </fieldset>-->
158
+ <!-- </div>-->
159
+ <!--</div>-->
160
+ <?php //if (!$this->getOrder()->getIsVirtual()): ?>
161
+ <!-- <div class="box-right">-->
162
+ <!-- <div class="entry-edit">-->
163
+ <!-- <div class="entry-edit-head">-->
164
+ <!-- <h4 class="icon-head head-shipping-address">--><?php //echo Mage::helper('sales')->__('Shipping Address') ?><!--</h4>-->
165
+ <!-- <div class="tools">--><?php //echo $this->getAddressEditLink($_order->getShippingAddress())?><!--</div>-->
166
+ <!-- </div>-->
167
+ <!-- <fieldset>-->
168
+ <!-- <address>--><?php //echo $_order->getShippingAddress()->getFormated(true) ?><!--</address>-->
169
+ <!-- </fieldset>-->
170
+ <!-- </div>-->
171
+ <!-- </div>-->
172
+ <!-- <div class="clear"></div>-->
173
+ <?php //endif; ?>
174
+ <!-- remove billing address -->
175
+ <?php if (!$this->getOrder()->getIsVirtual()): ?>
176
+ <div class="box-left">
177
+ <!--Shipping Address-->
178
+ <div class="entry-edit">
179
+ <div class="entry-edit-head">
180
+ <h4 class="icon-head head-shipping-address"><?php echo Mage::helper('sales')->__('Shipping Address') ?></h4>
181
+ <div class="tools"><?php echo $this->getAddressEditLink($_order->getShippingAddress())?></div>
182
+ </div>
183
+ <fieldset>
184
+ <address><?php echo $_order->getShippingAddress()->getFormated(true) ?></address>
185
+ </fieldset>
186
+ </div>
187
+ </div>
188
+ <div class="clear"></div>
189
+ <?php endif; ?>
app/design/frontend/default/default/template/checkout/multishipping/billing.phtml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php
28
+ /**
29
+ * Multishipping checkout billing information
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Billing
32
+ */
33
+ ?>
34
+ <div class="multiple-checkout">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Payment Method') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
41
+ <div class="col2-set">
42
+ <!-- <div class="col-1 col-narrow">-->
43
+ <!-- <div class="box">-->
44
+ <!-- <div class="box-title">-->
45
+ <!-- <h2>--><?php //echo $this->__('Billing Address') ?><!-- <span class="separator">|</span> <a href="--><?php //echo $this->getSelectAddressUrl() ?><!--">--><?php //echo $this->__('Change') ?><!--</a></h2>-->
46
+ <!-- </div>-->
47
+ <!-- <div class="box-content">-->
48
+ <!-- --><?php //$_address=$this->getAddress() ?>
49
+ <!-- <address>--><?php //echo $_address->format('html') ?><!--</address>-->
50
+ <!-- </div>-->
51
+ <!-- </div>-->
52
+ <!-- </div>-->
53
+ <div class="col-1 col-wide">
54
+ <div class="box">
55
+ <div class="box-title">
56
+ <h2><?php echo $this->__('Payment Method') ?></h2>
57
+ </div>
58
+ <div class="box-content">
59
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
60
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
61
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
62
+ </div>
63
+ <!-- Payment methods forms list -->
64
+ <dl class="sp-methods">
65
+ <?php
66
+ $_methods = $this->getMethods();
67
+ $_methodsCount = count($_methods);
68
+ ?>
69
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
70
+ <dt>
71
+ <?php if ($_methodsCount > 1): ?>
72
+ <input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
73
+ <?php else :?>
74
+ <span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
75
+ <?php endif;?>
76
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
77
+ </dt>
78
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
79
+ <dd>
80
+ <?php echo $html; ?>
81
+ </dd>
82
+ <?php endif; ?>
83
+ <?php endforeach; ?>
84
+ </dl>
85
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ <div class="buttons-set">
91
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
92
+ <button type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
93
+ </div>
94
+ </form>
95
+ <script type="text/javascript">
96
+ //<![CDATA[
97
+ var payment = new paymentForm('multishipping-billing-form');
98
+ function toggleToolTip(event){
99
+ if($('payment-tool-tip')){
100
+ /*$('payment-tool-tip').setStyle({
101
+ top: (Event.pointerY(event)-510)+'px',
102
+ left: (Event.pointerX(event)-800)+'px'
103
+ })*/
104
+ $('payment-tool-tip').toggle();
105
+ }
106
+ Event.stop(event);
107
+ }
108
+ if($('payment-tool-tip-close')){
109
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
110
+ }
111
+ $$('.cvv-what-is-this').each(function(element){
112
+ Event.observe(element, 'click', toggleToolTip);
113
+ });
114
+ //]]>
115
+ </script>
116
+ </div>
app/design/frontend/default/default/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
28
+ <div class="multiple-checkout">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Order') ?></h1>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
34
+ <div class="col2-set">
35
+ <h2 class="legend"><?php echo $this->__('Payment Method') ?></h2>
36
+ <!-- <div class="col-1">-->
37
+ <!-- <div class="box">-->
38
+ <!-- --><?php //$_address=$this->getBillingAddress() ?>
39
+ <!-- <div class="box-title">-->
40
+ <!-- <h3>--><?php //echo $this->__('Billing Address') ?><!-- <span class="separator">|</span> <a href="--><?php //echo $this->getEditBillingAddressUrl($_address) ?><!--">--><?php //echo $this->__('Change') ?><!--</a></h3>-->
41
+ <!-- </div>-->
42
+ <!-- <div class="box-content">-->
43
+ <!-- <address>-->
44
+ <!-- --><?php //echo $_address->format('html') ?>
45
+ <!-- </address>-->
46
+ <!-- </div>-->
47
+ <!-- </div>-->
48
+ <!-- </div>-->
49
+ <div class="col-1">
50
+ <div class="box">
51
+ <div class="box-title">
52
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
53
+ </div>
54
+ <div class="box-content">
55
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
56
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
57
+ <?php echo $this->getPaymentHtml() ?>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
63
+ <div class="col2-set">
64
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
65
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
66
+ <h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
67
+ <div class="col-1 col-narrow">
68
+ <div class="box">
69
+ <div class="box-title">
70
+ <h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
71
+ </div>
72
+ <div class="box-content">
73
+ <address>
74
+ <?php echo $_address->format('html') ?>
75
+ </address>
76
+ </div>
77
+ </div>
78
+ <div class="box">
79
+ <div class="box-title">
80
+ <h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
81
+ </div>
82
+ <div class="box-content">
83
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
84
+ <p>
85
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
86
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
87
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
88
+ <?php echo $_excl; ?>
89
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
90
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
91
+ <?php endif; ?>
92
+ </p>
93
+ <?php endif; ?>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ <div class="col-2 col-wide">
98
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
99
+ <table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
100
+ <col />
101
+ <col width="1" />
102
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
103
+ <col width="1" />
104
+ <?php endif; ?>
105
+ <col width="1" />
106
+ <col width="1" />
107
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
108
+ <col width="1" />
109
+ <?php endif; ?>
110
+ <thead>
111
+ <tr>
112
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
113
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
114
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
115
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
116
+ </tr>
117
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
118
+ <tr>
119
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
120
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
121
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
122
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
123
+ </tr>
124
+ <?php endif; ?>
125
+ </thead>
126
+ <tfoot>
127
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
128
+ </tfoot>
129
+ <tbody>
130
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
131
+ <?php echo $this->getRowItemHtml($_item); ?>
132
+ <?php endforeach; ?>
133
+ </tbody>
134
+ </table>
135
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
136
+ </div>
137
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
138
+ <div class="divider"></div>
139
+ <?php endif; ?>
140
+ <?php endforeach; ?>
141
+ </div>
142
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
143
+ <div class="col2-set">
144
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
145
+ <div class="col-1 col-narrow"></div>
146
+ <div class="col-2 col-wide">
147
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
148
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
149
+ <table class="data-table" id="virtual-overview-table">
150
+ <col />
151
+ <col width="1" />
152
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
153
+ <col width="1" />
154
+ <?php endif; ?>
155
+ <col width="1" />
156
+ <col width="1" />
157
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
158
+ <col width="70" />
159
+ <?php endif; ?>
160
+ <thead>
161
+ <tr>
162
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
163
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
164
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
165
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
166
+ </tr>
167
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
168
+ <tr>
169
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
170
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
171
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
172
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
173
+ </tr>
174
+ <?php endif; ?>
175
+ </thead>
176
+ <tfoot>
177
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
178
+ </tfoot>
179
+ <tbody>
180
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
181
+ <?php echo $this->getRowItemHtml($_item); ?>
182
+ <?php endforeach; ?>
183
+ </tbody>
184
+ </table>
185
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
186
+ </div>
187
+ </div>
188
+ <?php endif; ?>
189
+
190
+ <?php echo $this->getChildHtml('items_after'); ?>
191
+
192
+ <div id="checkout-review-submit">
193
+ <?php echo $this->getChildHtml('agreements') ?>
194
+ <div class="place-order">
195
+ <div class="grand-total">
196
+ <div class="inner">
197
+ <big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
198
+ <div id="review-buttons-container">
199
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ <span class="please-wait" id="review-please-wait" style="display:none;">
204
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
205
+ </span>
206
+ </div>
207
+ </div>
208
+ <div class="buttons-set">
209
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Payment Method') ?></a></p>
210
+ </div>
211
+ </form>
212
+ <script type="text/javascript">
213
+ //<![CDATA[
214
+ var submitted = false;
215
+
216
+ function showLoader()
217
+ {
218
+ if (submitted) {
219
+ return false;
220
+ }
221
+ if ($('checkout-agreements')) {
222
+ var checkboxes = $$('#checkout-agreements input');
223
+ for (var i=0, l=checkboxes.length; i<l; i++) {
224
+ if (!checkboxes[i].checked) {
225
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
226
+ return false;
227
+ }
228
+ }
229
+ }
230
+
231
+ submitted = true;
232
+ var step='review';
233
+ Element.show(step+'-please-wait');
234
+ $(step+'-buttons-container').setStyle({opacity:.5});
235
+ $(step+'-buttons-container').descendants().each(function(s) {
236
+ s.disabled = true;
237
+ });
238
+ return true;
239
+ }
240
+ //]]>
241
+ </script>
242
+ </div>
app/design/frontend/default/default/template/checkout/multishipping/shipping.phtml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php
28
+ /**
29
+ * Multishipping checkout shipping template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Shipping
32
+ * @var $this Mage_Checkout_Block_Multishipping_Shipping
33
+ */
34
+ ?>
35
+ <div class="multiple-checkout">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Select Shipping Method') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
41
+ <?php foreach ($this->getAddresses() as $_index => $_address): ?>
42
+ <div class="col2-set">
43
+ <h2 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h2>
44
+ <div class="col-1 col-narrow">
45
+ <div class="box">
46
+ <div class="box-title">
47
+ <h3><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
48
+ </div>
49
+ <div class="box-content">
50
+ <address><?php echo $_address->format('html') ?></address>
51
+ </div>
52
+ </div>
53
+ <div class="box box-sp-methods">
54
+ <div class="pointer"></div>
55
+ <div class="box-title">
56
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
57
+ </div>
58
+ <div class="box-content">
59
+ <?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
60
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
61
+ <?php else: ?>
62
+ <dl class="sp-methods">
63
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
64
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
65
+ <dd>
66
+ <ul>
67
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
68
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"' ?>>
69
+ <?php if ($_rate->getErrorMessage()): ?>
70
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?>: <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
71
+ <?php else: ?>
72
+ <?php if ($_sole) : ?>
73
+ <span class="no-display"><input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>" checked="checked"/></span>
74
+ <?php else: ?>
75
+ <input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> class="radio" />
76
+ <?php endif; ?>
77
+ <label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
78
+ <?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
79
+ <?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
80
+ <?php echo $_excl; ?>
81
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
82
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
83
+ <?php endif; ?>
84
+ </label>
85
+ <?php endif ?>
86
+ </li>
87
+ <?php endforeach; ?>
88
+ </ul>
89
+ </dd>
90
+ <?php endforeach; ?>
91
+ </dl>
92
+ <?php endif; ?>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <div class="col-2 col-wide">
97
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
98
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h3>
99
+ <table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
100
+ <col />
101
+ <col width="1" />
102
+ <thead>
103
+ <tr>
104
+ <th><?php echo $this->__('Product Name') ?></th>
105
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <?php foreach ($this->getAddressItems($_address) as $_item): ?>
110
+ <tr>
111
+ <td>
112
+ <?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
113
+ </td>
114
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
115
+ </tr>
116
+ <?php endforeach; ?>
117
+ </tbody>
118
+ </table>
119
+ <script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
120
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
121
+ </div>
122
+ </div>
123
+ <?php endforeach; ?>
124
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
125
+ <div class="buttons-set">
126
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
127
+ <button type="submit" title="<?php echo $this->__('Continue to Payment Method') ?>" class="button"><span><span><?php echo $this->__('Continue to Payment Method') ?></span></span></button>
128
+ </div>
129
+ </form>
130
+ </div>
app/design/frontend/default/default/template/checkout/multishipping/state.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php
28
+ /**
29
+ * Mustishipping state
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_State
32
+ */
33
+ ?>
34
+ <ul class="checkout-progress" id="checkout-progress-state">
35
+ <?php foreach ($this->getSteps() as $_step):
36
+ if($_step->getLabel()!=$this->__('Billing Information')):?>
37
+ <li title="<?php echo $_step->getLabel() ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><span><?php echo $_step->getLabel() ?></span></li>
38
+ <?php else:?>
39
+ <li title="<?php echo $this->__('Payment Method') ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><span><?php echo $this->__('Payment Method') ?></span></li>
40
+ <?php endif;?>
41
+ <?php endforeach; ?>
42
+ </ul>
43
+ <script type="text/javascript">decorateGeneric($$('#checkout-progress-state li'), ['first','last']);</script>
app/design/frontend/default/default/template/checkout/onepage/progress.phtml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Checkout_Block_Onepage_Progress */
27
+ ?>
28
+ <div class="block block-progress opc-block-progress">
29
+ <div class="block-title">
30
+ <strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
31
+ </div>
32
+ <div class="block-content">
33
+ <dl>
34
+ <!-- --><?php //if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
35
+ <!-- --><?php //if ($this->isStepComplete('billing')): ?>
36
+ <!-- <dt class="complete">-->
37
+ <!-- --><?php //echo $this->__('Billing Address') ?><!-- <span class="separator">|</span>-->
38
+ <!-- <a href="#billing" onclick="checkout.gotoSection('billing'); return false;">--><?php //echo $this->__('Change') ?><!--</a>-->
39
+ <!-- </dt>-->
40
+ <!-- <dd class="complete">-->
41
+ <!-- <address>--><?php //echo $this->getBilling()->format('html') ?><!--</address>-->
42
+ <!-- </dd>-->
43
+ <!-- --><?php //else: ?>
44
+ <!-- <dt>-->
45
+ <!-- --><?php //echo $this->__('Billing Address') ?>
46
+ <!-- </dt>-->
47
+ <!-- --><?php //endif; ?>
48
+ <!-- --><?php //endif; ?>
49
+
50
+ <?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
51
+ <?php if ($this->isStepComplete('shipping')): ?>
52
+ <dt class="complete">
53
+ <?php echo $this->__('Shipping Address') ?> <span class="separator">|</span>
54
+ <a href="#payment" onclick="checkout.gotoSection('shipping');return false;"><?php echo $this->__('Change') ?></a>
55
+ </dt>
56
+ <dd class="complete">
57
+ <address><?php echo $this->getShipping()->format('html') ?></address>
58
+ </dd>
59
+ <?php else: ?>
60
+ <dt>
61
+ <?php echo $this->__('Shipping Address') ?>
62
+ </dt>
63
+ <?php endif; ?>
64
+ <?php endif; ?>
65
+
66
+ <?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
67
+ <?php if ($this->isStepComplete('shipping_method')): ?>
68
+ <dt class="complete">
69
+ <?php echo $this->__('Shipping Method') ?> <span class="separator">|</span>
70
+ <a href="#shipping_method" onclick="checkout.gotoSection('shipping_method'); return false;"><?php echo $this->__('Change') ?></a>
71
+ </dt>
72
+ <dd class="complete">
73
+ <?php if ($this->getShippingMethod()): ?>
74
+ <?php echo $this->escapeHtml($this->getShippingDescription()) ?>
75
+
76
+ <?php $_excl = $this->getShippingPriceExclTax(); ?>
77
+ <?php $_incl = $this->getShippingPriceInclTax(); ?>
78
+ <?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
79
+ <?php echo $_incl; ?>
80
+ <?php else: ?>
81
+ <?php echo $_excl; ?>
82
+ <?php endif; ?>
83
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
84
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
85
+ <?php endif; ?>
86
+
87
+ <?php else: ?>
88
+ <?php echo $this->__('Shipping method has not been selected yet') ?>
89
+ <?php endif; ?>
90
+ </dd>
91
+ <?php else: ?>
92
+ <dt>
93
+ <?php echo $this->__('Shipping Method') ?>
94
+ </dt>
95
+ <?php endif; ?>
96
+ <?php endif; ?>
97
+
98
+ <?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
99
+ <?php if ($this->isStepComplete('payment')): ?>
100
+ <dt class="complete">
101
+ <?php echo $this->__('Payment Method') ?> <span class="separator">|</span>
102
+ <a href="#payment" onclick="checkout.gotoSection('payment'); return false;"><?php echo $this->__('Change') ?></a>
103
+ </dt>
104
+ <dd class="complete">
105
+ <?php echo $this->getPaymentHtml() ?>
106
+ </dd>
107
+ <?php else: ?>
108
+ <dt>
109
+ <?php echo $this->__('Payment Method') ?>
110
+ </dt>
111
+ <?php endif; ?>
112
+ <?php endif; ?>
113
+ </dl>
114
+ </div>
115
+ </div>
app/design/frontend/default/default/template/customer/account/dashboard/address.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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="col2-set">
28
+ <div class="box">
29
+ <div class="box-title">
30
+ <h3><?php echo $this->__('Address Book') ?></h3>
31
+ <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
32
+ </div>
33
+ <!-- <div class="box-content">-->
34
+ <!-- <div class="col-1">-->
35
+ <!-- <h4>--><?php //echo $this->__('Default Billing Address') ?><!--</h4>-->
36
+ <!-- <address>-->
37
+ <!-- --><?php //echo $this->getPrimaryBillingAddressHtml() ?><!--<br />-->
38
+ <!-- <a href="--><?php //echo $this->getPrimaryBillingAddressEditUrl() ?><!--">--><?php //echo $this->__('Edit Address') ?><!--</a>-->
39
+ <!-- </address>-->
40
+ <!-- </div>-->
41
+ <!-- <div class="col-2">-->
42
+ <!-- <h4>--><?php //echo $this->__('Default Shipping Address') ?><!--</h4>-->
43
+ <!-- <address>-->
44
+ <!-- --><?php //echo $this->getPrimaryShippingAddressHtml() ?><!--<br />-->
45
+ <!-- <a href="--><?php //echo $this->getPrimaryShippingAddressEditUrl() ?><!--">--><?php //echo $this->__('Edit Address') ?><!--</a>-->
46
+ <!-- </address>-->
47
+ <!-- </div>-->
48
+ <!-- </div>-->
49
+ <div class="box-content">
50
+ <div class="col-1">
51
+ <h4><?php echo $this->__('Default Shipping Address') ?></h4>
52
+ <address>
53
+ <?php echo $this->getPrimaryShippingAddressHtml() ?><br />
54
+ <a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
55
+ </address>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
app/design/frontend/default/default/template/customer/address/book.phtml ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php
28
+ /**
29
+ * Temlate for Mage_Customer_Block_Address_Book block
30
+ * @var $test Mage_Customer_Block_Address_Book
31
+ */
32
+ ?>
33
+ <div class="page-title title-buttons">
34
+ <h1><?php echo $this->__('Address Book') ?></h1>
35
+ <button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <div class="col2-set addresses-list">
39
+ <div class="col-1 addresses-primary">
40
+ <h2><?php echo $this->__('Default Addresses') ?></h2>
41
+ <ol>
42
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
43
+ <li class="item">
44
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
45
+ <address>
46
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
47
+ </address>
48
+ <p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></p>
49
+ </li>
50
+ <?php else: ?>
51
+ <li class="item">
52
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
53
+ <?php echo $this->__('You have no default Shipping address in your address book.') ?>
54
+ </li>
55
+ <?php endif ?>
56
+
57
+ <?php if (false):?>
58
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
59
+ <li class="item">
60
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
61
+ <address>
62
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
63
+ </address>
64
+ <p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></p>
65
+ </li>
66
+ <?php else: ?>
67
+ <li class="item empty">
68
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
69
+ <p><?php echo $this->__('You have no default shipping address in your address book.') ?></p>
70
+ </li>
71
+ <?php endif ?>
72
+ <?php endif;?>
73
+ </ol>
74
+ </div>
75
+ <div class="col-2 addresses-additional">
76
+ <h2><?php echo $this->__('Additional Address Entries') ?></h2>
77
+ <ol>
78
+ <?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
79
+ <?php foreach($_pAddsses as $_address): ?>
80
+ <li class="item">
81
+ <address>
82
+ <?php echo $this->getAddressHtml($_address) ?>
83
+ </address>
84
+ <p><a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span> <a href="#" class="link-remove" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a></p>
85
+ </li>
86
+ <?php endforeach; ?>
87
+ <?php else: ?>
88
+ <li class="item empty">
89
+ <p><?php echo $this->__('You have no additional address entries in your address book.') ?></p>
90
+ </li>
91
+ <?php endif ?>
92
+ </ol>
93
+ </div>
94
+ </div>
95
+ <div class="buttons-set">
96
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
97
+ </div>
98
+ <script type="text/javascript">
99
+ //<![CDATA[
100
+ function deleteAddress(addressId) {
101
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
102
+ window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
103
+ }
104
+ return false;
105
+ }
106
+ //]]>
107
+ </script>
app/design/frontend/default/default/template/customer/address/edit.phtml ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php
28
+ /**
29
+ * Edit customer address template
30
+ *
31
+ * @see Mage_Customer_Block_Address_Edit
32
+ */
33
+ ?>
34
+ <?php if($this->getTitle()): ?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->getTitle() ?></h1>
37
+ </div>
38
+ <?php endif; ?>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
41
+ <div class="fieldset">
42
+ <?php echo $this->getBlockHtml('formkey')?>
43
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
+ <h2 class="legend"><?php echo $this->__('Contact Information') ?></h2>
46
+ <ul class="form-list">
47
+ <li class="fields">
48
+ <?php echo $this->getNameBlockHtml() ?>
49
+ </li>
50
+ <li class="wide">
51
+ <label for="company"><?php echo $this->__('Company') ?></label>
52
+ <div class="input-box">
53
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
54
+ </div>
55
+ </li>
56
+ <li class="fields">
57
+ <div class="field">
58
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
59
+ <div class="input-box">
60
+ <input type="text" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
61
+ </div>
62
+ </div>
63
+ <div class="field">
64
+ <label for="fax"><?php echo $this->__('Fax') ?></label>
65
+ <div class="input-box">
66
+ <input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
67
+ </div>
68
+ </div>
69
+ </li>
70
+ </ul>
71
+ </div>
72
+ <div class="fieldset">
73
+ <h2 class="legend"><?php echo $this->__('Address') ?></h2>
74
+ <ul class="form-list">
75
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
76
+ <li class="wide">
77
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
78
+ <div class="input-box">
79
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
80
+ </div>
81
+ </li>
82
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
83
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
84
+ <li class="wide">
85
+ <div class="input-box">
86
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
87
+ </div>
88
+ </li>
89
+ <?php endfor; ?>
90
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
91
+ <li class="wide">
92
+ <label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
93
+ <div class="input-box">
94
+ <input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
95
+ </div>
96
+ </li>
97
+ <?php endif; ?>
98
+ <li class="fields">
99
+ <div class="field">
100
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
101
+ <div class="input-box">
102
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
103
+ </div>
104
+ </div>
105
+ <div class="field">
106
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
107
+ <div class="input-box">
108
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
109
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
110
+ </select>
111
+ <script type="text/javascript">
112
+ //<![CDATA[
113
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
114
+ //]]>
115
+ </script>
116
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
117
+ </div>
118
+ </div>
119
+ </li>
120
+ <li class="fields">
121
+ <div class="field">
122
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
123
+ <div class="input-box">
124
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
125
+ </div>
126
+ </div>
127
+ <div class="field">
128
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
129
+ <div class="input-box">
130
+ <?php echo $this->getCountryHtmlSelect() ?>
131
+ </div>
132
+ </div>
133
+ </li>
134
+ <input type="hidden" name="default_billing" value="1" />
135
+ <input type="hidden" name="default_shipping" value="1" />
136
+ </ul>
137
+ </div>
138
+ <div class="buttons-set">
139
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
140
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
141
+ <button type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
142
+ </div>
143
+ </form>
144
+ <script type="text/javascript">
145
+ //<![CDATA[
146
+ var dataForm = new VarienForm('form-validate', true);
147
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
148
+ //]]>
149
+ </script>
app/design/frontend/default/default/template/persistent/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /** @var Mage_Checkout_Block_Onepage_Billing $this */
27
+ ?>
28
+ <style type="text/css">
29
+ #opc-shipping{display: none;}
30
+ </style>
31
+ <form id="co-billing-form" action="">
32
+ <fieldset>
33
+ <ul class="form-list">
34
+ <?php if ($this->customerHasAddresses()): ?>
35
+ <li class="wide">
36
+ <label for="billing-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
37
+ <div class="input-box">
38
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
39
+ </div>
40
+ </li>
41
+ <?php endif; ?>
42
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
43
+ <fieldset>
44
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
45
+ <ul>
46
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
47
+ <li class="fields">
48
+ <div class="field">
49
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
50
+ <div class="input-box">
51
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
52
+ </div>
53
+ </div>
54
+ <?php if(!$this->isCustomerLoggedIn()): ?>
55
+ <div class="field">
56
+ <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
57
+ <div class="input-box">
58
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
59
+ </div>
60
+ </div>
61
+ <?php endif; ?>
62
+ </li>
63
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
64
+ <li class="wide">
65
+ <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
66
+ <div class="input-box">
67
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
68
+ </div>
69
+ </li>
70
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
71
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
72
+ <li class="wide">
73
+ <div class="input-box">
74
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
75
+ </div>
76
+ </li>
77
+ <?php endfor; ?>
78
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
79
+ <li class="wide">
80
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
81
+ <div class="input-box">
82
+ <input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
83
+ </div>
84
+ </li>
85
+ <?php endif; ?>
86
+ <li class="fields">
87
+ <div class="field">
88
+ <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
89
+ <div class="input-box">
90
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
91
+ </div>
92
+ </div>
93
+ <div class="field">
94
+ <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
95
+ <div class="input-box">
96
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
97
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
98
+ </select>
99
+ <script type="text/javascript">
100
+ //<![CDATA[
101
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
102
+ //]]>
103
+ </script>
104
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
105
+ </div>
106
+ </div>
107
+ </li>
108
+ <li class="fields">
109
+ <div class="field">
110
+ <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
111
+ <div class="input-box">
112
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
113
+ </div>
114
+ </div>
115
+ <div class="field">
116
+ <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
117
+ <div class="input-box">
118
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
119
+ </div>
120
+ </div>
121
+ </li>
122
+ <li class="fields">
123
+ <div class="field">
124
+ <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
125
+ <div class="input-box">
126
+ <input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
127
+ </div>
128
+ </div>
129
+ <div class="field">
130
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
131
+ <div class="input-box">
132
+ <input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
133
+ </div>
134
+ </div>
135
+ </li>
136
+ <?php if(!$this->isCustomerLoggedIn()): ?>
137
+
138
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
139
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
140
+ <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
141
+ <li class="fields">
142
+ <?php if ($_dob->isEnabled()): ?>
143
+ <div class="field">
144
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
145
+ </div>
146
+ <?php endif; ?>
147
+ <?php if ($_gender->isEnabled()): ?>
148
+ <div class="field">
149
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
150
+ </div>
151
+ <?php endif ?>
152
+ </li>
153
+ <?php endif ?>
154
+
155
+ <?php if ($this->isTaxvatEnabled()):?>
156
+ <li><?php echo $this->getTaxvatHtml() ?></li>
157
+ <?php endif; ?>
158
+
159
+ <li class="fields" id="register-customer-password">
160
+ <div class="field">
161
+ <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
162
+ <div class="input-box">
163
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
164
+ </div>
165
+ </div>
166
+ <div class="field">
167
+ <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
168
+ <div class="input-box">
169
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
170
+ </div>
171
+ </div>
172
+ </li>
173
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
174
+ <?php endif; ?>
175
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
176
+ <li class="control">
177
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
178
+ </li>
179
+ <?php else:?>
180
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
181
+ <?php endif; ?>
182
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
183
+ </ul>
184
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
185
+ </fieldset>
186
+ </li>
187
+ <!-- same with shipping-->
188
+ <li class="control">
189
+ <input type="hidden" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"/>
190
+ </li>
191
+ <?php if (false && $this->canShip()): ?>
192
+ <li class="control">
193
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
194
+ <li class="control">
195
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
196
+ </li>
197
+ <?php endif; ?>
198
+ </ul>
199
+ <?php if (!$this->canShip()): ?>
200
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
201
+ <?php endif; ?>
202
+ <div class="buttons-set" id="billing-buttons-container">
203
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
204
+ <button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
205
+ <span class="please-wait" id="billing-please-wait" style="display:none;">
206
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
207
+ </span>
208
+ </div>
209
+ </fieldset>
210
+ </form>
211
+ <script type="text/javascript">
212
+ //<![CDATA[
213
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
214
+ var billingForm = new VarienForm('co-billing-form');
215
+
216
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
217
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
218
+
219
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
220
+ if ($('onepage-guest-register-button')) {
221
+ Event.observe($('onepage-guest-register-button'), 'click', function(event) {
222
+ var billingRememberMe = $('co-billing-form').select('#remember-me-box');
223
+ if (billingRememberMe.length > 0) {
224
+ if ($('login:guest') && $('login:guest').checked) {
225
+ billingRememberMe[0].hide();
226
+ } else if ($('login:register') && ($('login:register').checked || $('login:register').type == 'hidden')) {
227
+ billingRememberMe[0].show();
228
+ }
229
+ }
230
+ });
231
+ }
232
+ //]]>
233
+ </script>
app/design/frontend/default/default/template/sales/order/info.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) 2012 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
+ <?php /** @var $this Mage_Sales_Block_Order_Info */ ?>
28
+ <?php $_order = $this->getOrder() ?>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <div class="page-title title-buttons">
31
+ <h1><?php echo $this->__('Order #%s - %s', $_order->getRealOrderId(), $_order->getStatusLabel()) ?></h1>
32
+ <?php echo $this->getChildHtml('buttons') ?>
33
+ </div>
34
+ <?php echo $this->getStatusHistoryRssUrl($_order) ?>
35
+ <dl class="order-info">
36
+ <dt><?php echo $this->__('About This Order:') ?></dt>
37
+ <dd>
38
+ <?php $_links = $this->getLinks(); ?>
39
+ <ul id="order-info-tabs">
40
+ <?php foreach ($_links as $_link): ?>
41
+ <?php if($_link->getUrl()): ?>
42
+ <li><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
43
+ <?php else: ?>
44
+ <li class="current"><?php echo $_link->getLabel() ?></li>
45
+ <?php endif; ?>
46
+ <?php endforeach; ?>
47
+ </ul>
48
+ <script type="text/javascript">decorateGeneric($('order-info-tabs').select('LI'),['first','last']);</script>
49
+ </dd>
50
+ </dl>
51
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></p>
52
+ <?php if (!$_order->getIsVirtual()): ?>
53
+ <div class="col2-set order-info-box">
54
+ <div class="col-1">
55
+ <div class="box">
56
+ <div class="box-title">
57
+ <h2><?php echo $this->__('Shipping Address') ?></h2>
58
+ </div>
59
+ <div class="box-content">
60
+ <address><?php echo $_order->getShippingAddress()->format('html') ?></address>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ <div class="col-2">
65
+ <div class="box">
66
+ <div class="box-title">
67
+ <h2><?php echo $this->__('Shipping Method') ?></h2>
68
+ </div>
69
+ <div class="box-content">
70
+ <?php if ($_order->getShippingDescription()): ?>
71
+ <?php echo $this->escapeHtml($_order->getShippingDescription()) ?>
72
+ <?php else: ?>
73
+ <p><?php echo $this->helper('sales')->__('No shipping information available'); ?></p>
74
+ <?php endif; ?>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ <?php endif; ?>
80
+ <div class="col2-set order-info-box">
81
+ <!-- <div class="col-1">-->
82
+ <!-- <div class="box">-->
83
+ <!-- <div class="box-title">-->
84
+ <!-- <h2>--><?php //echo $this->__('Billing Address') ?><!--</h2>-->
85
+ <!-- </div>-->
86
+ <!-- <div class="box-content">-->
87
+ <!-- <address>--><?php //echo $_order->getBillingAddress()->format('html') ?><!--</address>-->
88
+ <!-- </div>-->
89
+ <!-- </div>-->
90
+ <!-- </div>-->
91
+ <!-- <div class="col-2">-->
92
+ <!-- <div class="box box-payment">-->
93
+ <!-- <div class="box-title">-->
94
+ <!-- <h2>--><?php //echo $this->__('Payment Method') ?><!--</h2>-->
95
+ <!-- </div>-->
96
+ <!-- <div class="box-content">-->
97
+ <!-- --><?php //echo $this->getPaymentInfoHtml() ?>
98
+ <!-- </div>-->
99
+ <!-- </div>-->
100
+ <!-- </div>-->
101
+ <div class="col-1">
102
+ <div class="box box-payment">
103
+ <div class="box-title">
104
+ <h2><?php echo $this->__('Payment Method') ?></h2>
105
+ </div>
106
+ <div class="box-content">
107
+ <?php echo $this->getPaymentInfoHtml() ?>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </div>
app/etc/modules/Achang_ChinaCheckout.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Achang_ChinaCheckout>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Achang_ChinaCheckout>
8
+ </modules>
9
+ </config>
app/locale/en_US/Mage_Checkout.csv ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "%s was added to your shopping cart.","%s was added to your shopping cart."
2
+ "%s was updated in your shopping cart.","%s was updated in your shopping cart."
3
+ "* Required Fields","* Required Fields"
4
+ "Add New Address","Add New Address"
5
+ "Add New Condition","Add New Condition"
6
+ "Add coupon code for shopping cart","Add coupon code for shopping cart"
7
+ "Add gift messages to shopping cart","Add gift messages to shopping cart"
8
+ "Add product to shopping cart","Add product to shopping cart"
9
+ "Add product(s) to shopping cart","Add product(s) to shopping cart"
10
+ "Add to Cart","Add to Cart"
11
+ "Add to Compare","Add to Compare"
12
+ "Add to Wishlist","Add to Wishlist"
13
+ "Additional Product Info","Additional Product Info"
14
+ "Address","Address"
15
+ "Address %s of %s","Address %s of %s"
16
+ "After Adding a Product Redirect to Shopping Cart","After Adding a Product Redirect to Shopping Cart"
17
+ "Allow Guest Checkout","Allow Guest Checkout"
18
+ "Already registered?","Already registered?"
19
+ "An error occurred in the process of payment","An error occurred in the process of payment"
20
+ "An error occurred while deleting this condition.","An error occurred while deleting this condition."
21
+ "An error occurred while saving this condition.","An error occurred while saving this condition."
22
+ "Apply Coupon","Apply Coupon"
23
+ "Are you sure you would like to remove this item from the shopping cart?","Are you sure you would like to remove this item from the shopping cart?"
24
+ "Back","Back"
25
+ "Back to Billing Information","Back to Billing Information"
26
+ "Back to Payment Method","Back to Payment Method"
27
+ "Back to Select Addresses","Back to Select Addresses"
28
+ "Back to Shipping Information","Back to Shipping Information"
29
+ "Back to Shopping Cart","Back to Shopping Cart"
30
+ "Based on your selection, you may be interested in the following items:","Based on your selection, you may be interested in the following items:"
31
+ "Billing Address","Billing Address"
32
+ "Billing Information","Billing Information"
33
+ "Billing Information - %s","Billing Information - %s"
34
+ "Cancel Coupon","Cancel Coupon"
35
+ "Cannot add item to the shopping cart.","Cannot add item to the shopping cart."
36
+ "Cannot add the item to shopping cart","Cannot add the item to shopping cart"
37
+ "Cannot add the item to shopping cart.","Cannot add the item to shopping cart."
38
+ "Cannot apply the coupon code.","Cannot apply the coupon code."
39
+ "Cannot configure product.","Cannot configure product."
40
+ "Cannot open the overview page","Cannot open the overview page"
41
+ "Cannot process the item.","Cannot process the item."
42
+ "Cannot remove the item.","Cannot remove the item."
43
+ "Cannot update shopping cart.","Cannot update shopping cart."
44
+ "Cannot update the item.","Cannot update the item."
45
+ "Card Verification Number Visual Reference","Card Verification Number Visual Reference"
46
+ "Cart Product API","Cart Product API"
47
+ "Cart Subtotal:","Cart Subtotal:"
48
+ "Change","Change"
49
+ "Change Billing Address","Change Billing Address"
50
+ "Checkbox Text","Checkbox Text"
51
+ "Checkout","Checkout"
52
+ "Checkout Conditions","Checkout Conditions"
53
+ "Checkout Method","Checkout Method"
54
+ "Checkout Options","Checkout Options"
55
+ "Checkout Progress Wrapper","Checkout Progress Wrapper"
56
+ "Checkout Section","Checkout Section"
57
+ "Checkout Terms and Conditions","Checkout Terms and Conditions"
58
+ "Checkout as Guest","Checkout as Guest"
59
+ "Checkout as a Guest or Register","Checkout as a Guest or Register"
60
+ "Checkout with Multiple Addresses","Checkout with Multiple Addresses"
61
+ "City","City"
62
+ "Clear Shopping Cart","Clear Shopping Cart"
63
+ "Click <a href=""%s"" onclick=""this.target=\'_blank\'"">here to print</a> a copy of your order confirmation.","Click <a href=""%s"" onclick=""this.target=\'_blank\'"">here to print</a> a copy of your order confirmation."
64
+ "Click <a href=""%s"">here</a> to continue shopping.","Click <a href=""%s"">here</a> to continue shopping."
65
+ "Close","Close"
66
+ "Company","Company"
67
+ "Condition Name","Condition Name"
68
+ "Configurable Product Image","Configurable Product Image"
69
+ "Configure Cart Item","Configure Cart Item"
70
+ "Confirm Password","Confirm Password"
71
+ "Content","Content"
72
+ "Content Height","Content Height"
73
+ "Content Height (css)","Content Height (css)"
74
+ "Continue","Continue"
75
+ "Continue Shopping","Continue Shopping"
76
+ "Continue to Billing Information","Continue to Billing Information"
77
+ "Continue to Payment Method","Continue to Payment Method"
78
+ "Continue to Review Your Order","Continue to Review Your Order"
79
+ "Continue to Shipping Information","Continue to Shipping Information"
80
+ "Country","Country"
81
+ "Coupon code ""%s"" is not valid.","Coupon code ""%s"" is not valid."
82
+ "Coupon code ""%s"" was applied.","Coupon code ""%s"" was applied."
83
+ "Coupon code was canceled.","Coupon code was canceled."
84
+ "Create Billing Address","Create Billing Address"
85
+ "Create Shipping Address","Create Shipping Address"
86
+ "Create an order from shopping cart","Create an order from shopping cart"
87
+ "Create shopping cart","Create shopping cart"
88
+ "Customer Address is not valid.","Customer Address is not valid."
89
+ "Customer Information","Customer Information"
90
+ "Customer's information","Customer's information"
91
+ "Data saving problem","Data saving problem"
92
+ "Default Billing","Default Billing"
93
+ "Default Shipping","Default Shipping"
94
+ "Delete Condition","Delete Condition"
95
+ "Details","Details"
96
+ "Disabled","Disabled"
97
+ "Discount Codes","Discount Codes"
98
+ "Display Cart Summary","Display Cart Summary"
99
+ "Display Shopping Cart Sidebar","Display Shopping Cart Sidebar"
100
+ "Display item quantities","Display item quantities"
101
+ "Display number of items in cart","Display number of items in cart"
102
+ "Display number of items in wishlist","Display number of items in wishlist"
103
+ "Easy access to your order history and status","Easy access to your order history and status"
104
+ "Edit","Edit"
105
+ "Edit Address","Edit Address"
106
+ "Edit Billing Address","Edit Billing Address"
107
+ "Edit Condition","Edit Condition"
108
+ "Edit Items","Edit Items"
109
+ "Edit Shipping Address","Edit Shipping Address"
110
+ "Edit Terms and Conditions","Edit Terms and Conditions"
111
+ "Edit Your Cart","Edit Your Cart"
112
+ "Edit item","Edit item"
113
+ "Edit item parameters","Edit item parameters"
114
+ "Email Address","Email Address"
115
+ "Enable Onepage Checkout","Enable Onepage Checkout"
116
+ "Enable Terms and Conditions","Enable Terms and Conditions"
117
+ "Enabled","Enabled"
118
+ "Enter a New Address","Enter a New Address"
119
+ "Enter your coupon code if you have one.","Enter your coupon code if you have one."
120
+ "Enter your destination to get a shipping estimate.","Enter your destination to get a shipping estimate."
121
+ "Estimate Shipping and Tax","Estimate Shipping and Tax"
122
+ "Excl. Tax","Excl. Tax"
123
+ "Fast and easy check out","Fast and easy check out"
124
+ "Fax","Fax"
125
+ "Forgot an Item?","Forgot an Item?"
126
+ "Forgot your password?","Forgot your password?"
127
+ "Get a Quote","Get a Quote"
128
+ "Get list of available payment methods","Get list of available payment methods"
129
+ "Get list of available shipping methods","Get list of available shipping methods"
130
+ "Get list of products in shopping cart","Get list of products in shopping cart"
131
+ "Get terms and conditions","Get terms and conditions"
132
+ "Get total prices for shopping cart","Get total prices for shopping cart"
133
+ "Gift Message","Gift Message"
134
+ "Grand Total:","Grand Total:"
135
+ "Grouped Product Image","Grouped Product Image"
136
+ "HTML","HTML"
137
+ "ID","ID"
138
+ "Incl. Tax","Incl. Tax"
139
+ "Invalid checkout type.","Invalid checkout type."
140
+ "Invalid data.","Invalid data."
141
+ "Invalid email address ""%s""","Invalid email address ""%s"""
142
+ "Invalid method: %s","Invalid method: %s"
143
+ "Invalid shipping method.","Invalid shipping method."
144
+ "Item not found or already ordered","Item not found or already ordered"
145
+ "Items","Items"
146
+ "Items After","Items After"
147
+ "Items Before","Items Before"
148
+ "Load customer quote error","Load customer quote error"
149
+ "Loading next step...","Loading next step..."
150
+ "Login","Login"
151
+ "Login/Registration Before","Login/Registration Before"
152
+ "Manage Terms and Conditions","Manage Terms and Conditions"
153
+ "Maximum Display Recently Added Item(s)","Maximum Display Recently Added Item(s)"
154
+ "Maximum qty allowed for Shipping to multiple addresses is %s","Maximum qty allowed for Shipping to multiple addresses is %s"
155
+ "Minimum order amount is %s","Minimum order amount is %s"
156
+ "Move","Move"
157
+ "Move to Wishlist","Move to Wishlist"
158
+ "Multishipping Checkout","Multishipping Checkout"
159
+ "Multishipping Checkout Address (Any) Form","Multishipping Checkout Address (Any) Form"
160
+ "Multishipping Checkout Billing Address Creation","Multishipping Checkout Billing Address Creation"
161
+ "Multishipping Checkout Billing Address Edit Form","Multishipping Checkout Billing Address Edit Form"
162
+ "Multishipping Checkout Billing Address Selection","Multishipping Checkout Billing Address Selection"
163
+ "Multishipping Checkout Billing Information Step","Multishipping Checkout Billing Information Step"
164
+ "Multishipping Checkout Customer Address Edit Form","Multishipping Checkout Customer Address Edit Form"
165
+ "Multishipping Checkout Overview","Multishipping Checkout Overview"
166
+ "Multishipping Checkout Shipping Address Creation","Multishipping Checkout Shipping Address Creation"
167
+ "Multishipping Checkout Shipping Address Edit Form","Multishipping Checkout Shipping Address Edit Form"
168
+ "Multishipping Checkout Shipping Address Selection","Multishipping Checkout Shipping Address Selection"
169
+ "Multishipping Checkout Shipping Information Step","Multishipping Checkout Shipping Information Step"
170
+ "Multishipping Checkout Success","Multishipping Checkout Success"
171
+ "My Cart","My Cart"
172
+ "My Cart (%s item)","My Cart (%s item)"
173
+ "My Cart (%s items)","My Cart (%s items)"
174
+ "My Cart Link","My Cart Link"
175
+ "New Address","New Address"
176
+ "New Condition","New Condition"
177
+ "New Terms and Conditions","New Terms and Conditions"
178
+ "ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER","ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER"
179
+ "One Page Checkout","One Page Checkout"
180
+ "One Page Checkout Failure","One Page Checkout Failure"
181
+ "One Page Checkout Overview","One Page Checkout Overview"
182
+ "One Page Checkout Success","One Page Checkout Success"
183
+ "One item of products do not have identifier or sku","One item of products do not have identifier or sku"
184
+ "One item of products is not belong any of quote item","One item of products is not belong any of quote item"
185
+ "Order #","Order #"
186
+ "Order Review","Order Review"
187
+ "Order Success","Order Success"
188
+ "Order place error.","Order place error."
189
+ "Other Items in Your Order","Other Items in Your Order"
190
+ "Overview Items After","Overview Items After"
191
+ "Password","Password"
192
+ "Payment Failed Email Reciever","Payment Failed Email Reciever"
193
+ "Payment Failed Email Sender","Payment Failed Email Sender"
194
+ "Payment Failed Emails","Payment Failed Emails"
195
+ "Payment Failed Template","Payment Failed Template"
196
+ "Payment Information","Payment Information"
197
+ "Payment Method","Payment Method"
198
+ "Payment Methods After Checkout Button","Payment Methods After Checkout Button"
199
+ "Payment Methods Before Checkout Button","Payment Methods Before Checkout Button"
200
+ "Payment method information","Payment method information"
201
+ "Payment method is not defined","Payment method is not defined"
202
+ "Payment methods in shopping cart","Payment methods in shopping cart"
203
+ "Payment profile # %s: ""%s"".","Payment profile # %s: ""%s""."
204
+ "Place Order","Place Order"
205
+ "Please agree to all Terms and Conditions before placing the order.","Please agree to all Terms and Conditions before placing the order."
206
+ "Please agree to all Terms and Conditions before placing the orders.","Please agree to all Terms and Conditions before placing the orders."
207
+ "Please agree to all the terms and conditions before placing the order.","Please agree to all the terms and conditions before placing the order."
208
+ "Please check billing address information.","Please check billing address information."
209
+ "Please check shipping address information.","Please check shipping address information."
210
+ "Please check shipping addresses information.","Please check shipping addresses information."
211
+ "Please choose to register or to checkout as a guest","Please choose to register or to checkout as a guest"
212
+ "Please log in below:","Please log in below:"
213
+ "Please select region, state or province","Please select region, state or province"
214
+ "Please select shipping address for applicable items","Please select shipping address for applicable items"
215
+ "Please select shipping methods for all addresses","Please select shipping methods for all addresses"
216
+ "Please select valid payment method.","Please select valid payment method."
217
+ "Please specify payment method.","Please specify payment method."
218
+ "Please specify shipping method.","Please specify shipping method."
219
+ "Please specify shipping methods for all addresses.","Please specify shipping methods for all addresses."
220
+ "Price","Price"
221
+ "Proceed to Checkout","Proceed to Checkout"
222
+ "Product","Product"
223
+ "Product Name","Product Name"
224
+ "Products","Products"
225
+ "Qty","Qty"
226
+ "Qty:","Qty:"
227
+ "Quantity was recalculated from %d to %d","Quantity was recalculated from %d to %d"
228
+ "Quote Lifetime (days)","Quote Lifetime (days)"
229
+ "Quote item does not exist.","Quote item does not exist."
230
+ "Quote item is not found.","Quote item is not found."
231
+ "Recently added item(s)","Recently added item(s)"
232
+ "Register","Register"
233
+ "Register and save time!","Register and save time!"
234
+ "Register to Create an Account","Register to Create an Account"
235
+ "Register with us for future convenience:","Register with us for future convenience:"
236
+ "Remove Item","Remove Item"
237
+ "Remove This Item","Remove This Item"
238
+ "Remove coupon code from shopping cart","Remove coupon code from shopping cart"
239
+ "Remove item","Remove item"
240
+ "Remove product from shopping cart","Remove product from shopping cart"
241
+ "Remove product(s) from shopping cart","Remove product(s) from shopping cart"
242
+ "Require Customer To Be Logged In To Checkout","Require Customer To Be Logged In To Checkout"
243
+ "Retrieve information about shopping cart","Retrieve information about shopping cart"
244
+ "Review Order","Review Order"
245
+ "Review Order - %s","Review Order - %s"
246
+ "Sales","Sales"
247
+ "Save Condition","Save Condition"
248
+ "Save in address book","Save in address book"
249
+ "See price before order confirmation.","See price before order confirmation."
250
+ "Select Address","Select Address"
251
+ "Select Addresses","Select Addresses"
252
+ "Select Shipping Method","Select Shipping Method"
253
+ "Select State/Province...","Select State/Province..."
254
+ "Select a billing address from your address book or enter a new address.","Select a billing address from your address book or enter a new address."
255
+ "Select a shipping address from your address book or enter a new address.","Select a shipping address from your address book or enter a new address."
256
+ "Send Payment Failed Email Copy Method","Send Payment Failed Email Copy Method"
257
+ "Send Payment Failed Email Copy To","Send Payment Failed Email Copy To"
258
+ "Send To","Send To"
259
+ "Separate by "","".","Separate by "",""."
260
+ "Set customer for shopping cart","Set customer for shopping cart"
261
+ "Set customer's addresses in shopping cart","Set customer's addresses in shopping cart"
262
+ "Set payment method","Set payment method"
263
+ "Set shipping method","Set shipping method"
264
+ "Ship to Multiple Addresses","Ship to Multiple Addresses"
265
+ "Ship to different address","Ship to different address"
266
+ "Ship to this address","Ship to this address"
267
+ "Shipping Address","Shipping Address"
268
+ "Shipping Information","Shipping Information"
269
+ "Shipping Method","Shipping Method"
270
+ "Shipping Methods","Shipping Methods"
271
+ "Shipping To","Shipping To"
272
+ "Shipping information","Shipping information"
273
+ "Shipping method has not been selected yet","Shipping method has not been selected yet"
274
+ "Shipping methods in shopping cart","Shipping methods in shopping cart"
275
+ "Shipping selection is not applicable.","Shipping selection is not applicable."
276
+ "Shopping Cart","Shopping Cart"
277
+ "Shopping Cart Form Before","Shopping Cart Form Before"
278
+ "Shopping Cart Sidebar","Shopping Cart Sidebar"
279
+ "Shopping Cart Sidebar Extra Actions","Shopping Cart Sidebar Extra Actions"
280
+ "Shopping Cart is Empty","Shopping Cart is Empty"
281
+ "Shopping cart ability to set coupon code","Shopping cart ability to set coupon code"
282
+ "Show Content as","Show Content as"
283
+ "Some of the requested products are not available in the desired quantity.","Some of the requested products are not available in the desired quantity."
284
+ "Some of the requested products are unavailable.","Some of the requested products are unavailable."
285
+ "Some products quantities were recalculated because of quantity increment mismatch","Some products quantities were recalculated because of quantity increment mismatch"
286
+ "Sorry, guest checkout is not enabled. Please try again or contact store owner.","Sorry, guest checkout is not enabled. Please try again or contact store owner."
287
+ "Sorry, guest checkout is not enabled. Please try again or contact the store owner.","Sorry, guest checkout is not enabled. Please try again or contact the store owner."
288
+ "Sorry, no quotes are available for this order at this time.","Sorry, no quotes are available for this order at this time."
289
+ "State/Province","State/Province"
290
+ "Status","Status"
291
+ "Store View","Store View"
292
+ "Street Address","Street Address"
293
+ "Street Address %s","Street Address %s"
294
+ "Submitting order information...","Submitting order information..."
295
+ "Subtotal","Subtotal"
296
+ "Subtotal must exceed minimum order amount","Subtotal must exceed minimum order amount"
297
+ "Telephone","Telephone"
298
+ "Terms and Conditions","Terms and Conditions"
299
+ "Terms and Conditions Information","Terms and Conditions Information"
300
+ "Terms and conditions","Terms and conditions"
301
+ "Text","Text"
302
+ "Thank you for your purchase!","Thank you for your purchase!"
303
+ "The condition has been deleted","The condition has been deleted"
304
+ "The condition has been saved.","The condition has been saved."
305
+ "The onepage checkout is disabled.","The onepage checkout is disabled."
306
+ "The product could not be found.","The product could not be found."
307
+ "The product does not exist.","The product does not exist."
308
+ "There are <a href=""%s"">%s items</a> in your cart.","There are <a href=""%s"">%s items</a> in your cart."
309
+ "There is <a href=""%s"">1 item</a> in your cart.","There is <a href=""%s"">1 item</a> in your cart."
310
+ "There is already a customer registered using this email address. Please login using this email address or enter a different email address to register your account.","There is already a customer registered using this email address. Please login using this email address or enter a different email address to register your account."
311
+ "There was an error processing your order. Please contact us or try again later.","There was an error processing your order. Please contact us or try again later."
312
+ "This condition no longer exists.","This condition no longer exists."
313
+ "Total","Total"
314
+ "Total for this address","Total for this address"
315
+ "Unable to set Payment Method.","Unable to set Payment Method."
316
+ "Unit Price","Unit Price"
317
+ "Update Cart","Update Cart"
318
+ "Update Qty &amp; Addresses","Update Qty &amp; Addresses"
319
+ "Update Shopping Cart","Update Shopping Cart"
320
+ "Update Total","Update Total"
321
+ "Update product quantities in shopping cart","Update product quantities in shopping cart"
322
+ "Update product(s) quantities in shopping cart","Update product(s) quantities in shopping cart"
323
+ "Use Billing Address","Use Billing Address"
324
+ "VAT Number","VAT Number"
325
+ "We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.","We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress."
326
+ "What's this?","What's this?"
327
+ "You have no items in your shopping cart.","You have no items in your shopping cart."
328
+ "You will receive an order confirmation email with details of your order and a link to track its progress.","You will receive an order confirmation email with details of your order and a link to track its progress."
329
+ "Your Checkout Progress","Your Checkout Progress"
330
+ "Your billing agreement # is: %s.","Your billing agreement # is: %s."
331
+ "Your order # is: %s.","Your order # is: %s."
332
+ "Your order cannot be completed at this time as there is no payment methods available for it.","Your order cannot be completed at this time as there is no payment methods available for it."
333
+ "Your order cannot be completed at this time as there is no shipping methods available for it. Please make necessary changes in your shipping address.","Your order cannot be completed at this time as there is no shipping methods available for it. Please make necessary changes in your shipping address."
334
+ "Your order has been received.","Your order has been received."
335
+ "Your order number is ","Your order number is "
336
+ "Your recurring payment profiles:","Your recurring payment profiles:"
337
+ "Zip/Postal Code","Zip/Postal Code"
app/locale/en_US/template/email/sales/order_new.html ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject {{var store.getFrontendName()}}: New Order # {{var order.increment_id}} @-->
2
+ <!--@vars
3
+ {"store url=\"\"":"Store Url",
4
+ "var logo_url":"Email Logo Image Url",
5
+ "var logo_alt":"Email Logo Image Alt",
6
+ "htmlescape var=$order.getCustomerName()":"Customer Name",
7
+ "var store.getFrontendName()":"Store Name",
8
+ "store url=\"customer/account/\"":"Customer Account Url",
9
+ "var order.increment_id":"Order Id",
10
+ "var order.getCreatedAtFormated('long')":"Order Created At (datetime)",
11
+ "var order.getBillingAddress().format('html')":"Billing Address",
12
+ "var payment_html":"Payment Details",
13
+ "var order.getShippingAddress().format('html')":"Shipping Address",
14
+ "var order.getShippingDescription()":"Shipping Description",
15
+ "layout handle=\"sales_email_order_items\" order=$order":"Order Items Grid",
16
+ "var order.getEmailCustomerNote()":"Email Order Note"}
17
+ @-->
18
+ <!--@styles
19
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
20
+ @-->
21
+
22
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
23
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
24
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
25
+ <tr>
26
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
27
+ <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
28
+ <!-- [ header starts here] -->
29
+ <tr>
30
+ <td valign="top"><a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a></td>
31
+ </tr>
32
+ <!-- [ middle starts here] -->
33
+ <tr>
34
+ <td valign="top">
35
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;"">Hello, {{htmlescape var=$order.getCustomerName()}}</h1>
36
+ <p style="font-size:12px; line-height:16px; margin:0;">
37
+ Thank you for your order from {{var store.getFrontendName()}}.
38
+ Once your package ships we will send an email with a link to track your order.
39
+ You can check the status of your order by <a href="{{store url="customer/account/"}}" style="color:#1E7EC8;">logging into your account</a>.
40
+ If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}</span> Monday - Friday, 8am - 5pm PST.
41
+ </p>
42
+ <p style="font-size:12px; line-height:16px; margin:0;">Your order confirmation is below. Thank you again for your business.</p>
43
+ </tr>
44
+ <tr>
45
+ <td>
46
+ <h2 style="font-size:18px; font-weight:normal; margin:0;">Your Order #{{var order.increment_id}} <small>(placed on {{var order.getCreatedAtFormated('long')}})</small></h2>
47
+ </td>
48
+ </tr>
49
+ <tr>
50
+ <td>
51
+ <table cellspacing="0" cellpadding="0" border="0" width="650">
52
+ <thead>
53
+ <tr>
54
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Information:</th>
55
+ <th width="10"></th>
56
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Method:</th>
57
+ </tr>
58
+ </thead>
59
+ <tbody>
60
+ <tr>
61
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
62
+ {{var order.getShippingAddress().format('html')}}
63
+ &nbsp;
64
+ </td>
65
+ <td>&nbsp;</td>
66
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
67
+ {{var order.getShippingDescription()}}
68
+ &nbsp;
69
+ </td>
70
+ </tr>
71
+ </tbody>
72
+ </table>
73
+ <br/>
74
+ {{depend order.getIsNotVirtual()}}
75
+ <table cellspacing="0" cellpadding="0" border="0" width="650">
76
+ <thead>
77
+ <tr>
78
+ <!--<th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Billing Information:</th>-->
79
+ <!--<th width="10"></th>-->
80
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Payment Method:</th>
81
+ </tr>
82
+ </thead>
83
+ <tbody>
84
+ <tr>
85
+ <!--<td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">-->
86
+ <!--{{var order.getBillingAddress().format('html')}}-->
87
+ <!--</td>-->
88
+ <!--<td>&nbsp;</td>-->
89
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
90
+ {{var payment_html}}
91
+ </td>
92
+ </tr>
93
+ </tbody>
94
+ </table>
95
+ <br/>
96
+ {{/depend}}
97
+ {{layout handle="sales_email_order_items" order=$order}}
98
+ <p style="font-size:12px; margin:0 0 10px 0">{{var order.getEmailCustomerNote()}}</p>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Thank you, <strong>{{var store.getFrontendName()}}</strong></p></center></td>
103
+ </tr>
104
+ </table>
105
+ </td>
106
+ </tr>
107
+ </table>
108
+ </div>
109
+ </body>
app/locale/en_US/template/email/sales/order_new_guest.html ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject {{var store.getFrontendName()}}: New Order # {{var order.increment_id}} @-->
2
+ <!--@vars
3
+ {"store url=\"\"":"Store Url",
4
+ "var logo_url":"Email Logo Image Url",
5
+ "var logo_alt":"Email Logo Image Alt",
6
+ "htmlescape var=$order.getBillingAddress().getName()":"Guest Customer Name",
7
+ "var store.getFrontendName()":"Store Name",
8
+ "var order.increment_id":"Order Id",
9
+ "var order.getCreatedAtFormated('long')":"Order Created At (datetime)",
10
+ "var order.getBillingAddress().format('html')":"Billing Address",
11
+ "var payment_html":"Payment Details",
12
+ "var order.getShippingAddress().format('html')":"Shipping Address",
13
+ "var order.getShippingDescription()":"Shipping Description",
14
+ "layout handle=\"sales_email_order_items\" order=$order":"Order Items Grid",
15
+ "var order.getEmailCustomerNote()":"Email Order Note"}
16
+ @-->
17
+ <!--@styles
18
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
19
+ @-->
20
+
21
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
22
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
23
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
24
+ <tr>
25
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
26
+ <!-- [ header starts here] -->
27
+ <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
28
+ <tr>
29
+ <td valign="top"><a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a></td>
30
+ </tr>
31
+ <!-- [ middle starts here] -->
32
+ <tr>
33
+ <td valign="top">
34
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Hello, {{htmlescape var=$order.getBillingAddress().getName()}}</h1>
35
+ <p style="font-size:12px; line-height:16px; margin:0 0 10px 0;">
36
+ Thank you for your order from {{var store.getFrontendName()}}.
37
+ Once your package ships we will send an email with a link to track your order.
38
+ If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}</span> Monday - Friday, 8am - 5pm PST.
39
+ </p>
40
+ <p style="font-size:12px; line-height:16px; margin:0;">Your order confirmation is below. Thank you again for your business.</p>
41
+ </td>
42
+ </tr>
43
+ <tr>
44
+ <td>
45
+ <h2 style="font-size:18px; font-weight:normal; margin:0;">Your Order #{{var order.increment_id}} <small>(placed on {{var order.getCreatedAtFormated('long')}})</small></h2>
46
+ </td>
47
+ </tr>
48
+ <tr>
49
+ <td>
50
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
51
+ <thead>
52
+ <tr>
53
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Information:</th>
54
+ <th width="10"></th>
55
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Shipping Method:</th>
56
+ </tr>
57
+ </thead>
58
+ <tbody>
59
+ <tr>
60
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
61
+ {{var order.getShippingAddress().format('html')}}
62
+ &nbsp;
63
+ </td>
64
+ <td>&nbsp;</td>
65
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
66
+ {{var order.getShippingDescription()}}
67
+ &nbsp;
68
+ </td>
69
+ </tr>
70
+ </tbody>
71
+ </table>
72
+ <br/>
73
+ {{depend order.getIsNotVirtual()}}
74
+ <table cellspacing="0" cellpadding="0" border="0" width="650">
75
+ <thead>
76
+ <tr>
77
+ <!--<th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Billing Information:</th>-->
78
+ <!--<th width="10"></th>-->
79
+ <th align="left" width="325" bgcolor="#EAEAEA" style="font-size:13px; padding:5px 9px 6px 9px; line-height:1em;">Payment Method:</th>
80
+ </tr>
81
+ </thead>
82
+ <tbody>
83
+ <tr>
84
+ <!--<td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">-->
85
+ <!--{{var order.getBillingAddress().format('html')}}-->
86
+ <!--</td>-->
87
+ <!--<td>&nbsp;</td>-->
88
+ <td valign="top" style="font-size:12px; padding:7px 9px 9px 9px; border-left:1px solid #EAEAEA; border-bottom:1px solid #EAEAEA; border-right:1px solid #EAEAEA;">
89
+ {{var payment_html}}
90
+ </td>
91
+ </tr>
92
+ </tbody>
93
+ </table>
94
+ <br/>
95
+ {{/depend}}
96
+ {{layout handle="sales_email_order_items" order=$order}}
97
+ <p style="font-size:12px; margin:0 10px 10px 0">{{var order.getEmailCustomerNote()}}</p>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Thank you again, <strong>{{var store.getFrontendName()}}</strong></p></center></td>
102
+ </tr>
103
+ </table>
104
+ </td>
105
+ </tr>
106
+ </table>
107
+ </div>
108
+ </body>
app/locale/zh_CN/Mage_Checkout.csv ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "%s was added to your shopping cart.","%s 已添加到您的购物车。"
2
+ "%s was updated in your shopping cart.","您的购物车中的 %s 已更新。"
3
+ "* Required Fields","*必要字段"
4
+ "Add New Address","添加新地址"
5
+ "Add New Condition","添加新条件"
6
+ "Add coupon code for shopping cart","为购物车添加优惠代码"
7
+ "Add gift messages to shopping cart","添加礼品消息到购物车"
8
+ "Add product to shopping cart","添加产品到购物车"
9
+ "Add product(s) to shopping cart","添加产品到购物车"
10
+ "Add to Cart","添加到购物车"
11
+ "Add to Compare","添加并比较"
12
+ "Add to Wishlist","添加到收藏"
13
+ "Additional Product Info","额外产品信息"
14
+ "Address","地址"
15
+ "Address %s of %s","地址 %s,共 %s 个地址"
16
+ "After Adding a Product Redirect to Shopping Cart","添加产品后重定向至购物车"
17
+ "Allow Guest Checkout","允许来宾结账"
18
+ "Already registered?","已注册?"
19
+ "An error occurred in the process of payment","支付流程发生错误"
20
+ "An error occurred while deleting this condition.","当删除该条件时发生错误。"
21
+ "An error occurred while saving this condition.","当保存该条件时发生错误。"
22
+ "Apply Coupon","应用优惠券"
23
+ "Are you sure you would like to remove this item from the shopping cart?","您确认要从购物车中删除该项目吗?"
24
+ "Back","返回"
25
+ "Back to Billing Information","返回到账单信息"
26
+ "Back to Payment Method","返回到支付方式"
27
+ "Back to Select Addresses","返回到选择地址"
28
+ "Back to Shipping Information","返回到运送信息"
29
+ "Back to Shopping Cart","返回到购物车"
30
+ "Based on your selection, you may be interested in the following items:","根据您的选择,您可能对下列内容感兴趣:"
31
+ "Billing Address","账单地址"
32
+ "Billing Information","账单信息"
33
+ "Billing Information - %s","账单信息 - %s"
34
+ "Cancel Coupon","取消优惠券"
35
+ "Cannot add item to the shopping cart.","无法添加项目到购物车。"
36
+ "Cannot add the item to shopping cart","无法添加该项目到购物车"
37
+ "Cannot add the item to shopping cart.","无法添加该项目到购物车。"
38
+ "Cannot apply the coupon code.","无法应用优惠代码。"
39
+ "Cannot configure product.","无法配置产品。"
40
+ "Cannot open the overview page","无法打开概览页面"
41
+ "Cannot process the item.","无法处理该项目。"
42
+ "Cannot remove the item.","无法移除项目。"
43
+ "Cannot update shopping cart.","无法更新购物车。"
44
+ "Cannot update the item.","无法更新该项目。"
45
+ "Card Verification Number Visual Reference","信用卡验证号码 视觉参考"
46
+ "Cart Product API","购物车产品 API"
47
+ "Cart Subtotal:","购物车小计:"
48
+ "Change","更改"
49
+ "Change Billing Address","更改账单地址"
50
+ "Checkbox Text","复选框文本"
51
+ "Checkout","结账"
52
+ "Checkout Conditions","支付条件"
53
+ "Checkout Method","支付方法"
54
+ "Checkout Options","支付选项"
55
+ "Checkout Progress Wrapper","支付进度封装器"
56
+ "Checkout Section","支付区域"
57
+ "Checkout Terms and Conditions","结账条款和情况"
58
+ "Checkout as Guest","作为来宾结账"
59
+ "Checkout as a Guest or Register","以来宾身份结账或注册"
60
+ "Checkout with Multiple Addresses","按多个地址支付"
61
+ "City","城市"
62
+ "Clear Shopping Cart","清空购物车"
63
+ "Click <a href=""%s"" onclick=""this.target=\'_blank\'"">here to print</a> a copy of your order confirmation.","单击<a href=""%s"">这里来打印</a>您订单确认信息的拷贝。"
64
+ "Click <a href=""%s"">here</a> to continue shopping.","单击<a href=""%s"">这里</a>来继续购物。"
65
+ "Close","关闭"
66
+ "Company","公司"
67
+ "Condition Name","条件名称"
68
+ "Configurable Product Image","可配置产品图片"
69
+ "Configure Cart Item","配置购物车项目"
70
+ "Confirm Password","确认密码"
71
+ "Content","内容"
72
+ "Content Height","内容高度"
73
+ "Content Height (css)","内容高度 (css)"
74
+ "Continue","继续"
75
+ "Continue Shopping","继续购物"
76
+ "Continue to Billing Information","继续以查看账单信息"
77
+ "Continue to Payment Method","继续以查看支付方式"
78
+ "Continue to Review Your Order","继续以查看订单"
79
+ "Continue to Shipping Information","继续以查看运送信息"
80
+ "Country","国家"
81
+ "Coupon code ""%s"" is not valid.","优惠券代码“%s”无效。"
82
+ "Coupon code ""%s"" was applied.","优惠代码“%s”已应用。"
83
+ "Coupon code was canceled.","优惠代码已被取消。"
84
+ "Create Billing Address","创建账单地址"
85
+ "Create Shipping Address","创建运送地址"
86
+ "Create an order from shopping cart","从购物车创建订单"
87
+ "Create shopping cart","创建购物车"
88
+ "Customer Address is not valid.","客户地址无效。"
89
+ "Customer Information","客户信息"
90
+ "Customer's information","客户信息"
91
+ "Data saving problem","数据保存问题"
92
+ "Default Billing","默认账单"
93
+ "Default Shipping","默认运送"
94
+ "Delete Condition","删除条件"
95
+ "Details","详情"
96
+ "Disabled","已禁用"
97
+ "Discount Codes","折扣代码"
98
+ "Display Cart Summary","显示购物车概要"
99
+ "Display Shopping Cart Sidebar","显示购物车侧边栏"
100
+ "Display item quantities","显示项目数量"
101
+ "Display number of items in cart","显示购物车中项目的数量"
102
+ "Display number of items in wishlist","显示愿望列表中项目的数量"
103
+ "Easy access to your order history and status","轻松访问您的订单历史记录和状态"
104
+ "Edit","编辑"
105
+ "Edit Address","编辑地址"
106
+ "Edit Billing Address","编辑账单地址"
107
+ "Edit Condition","编辑条件"
108
+ "Edit Items","编辑项目"
109
+ "Edit Shipping Address","编辑运送地址"
110
+ "Edit Terms and Conditions","编辑条款和条件"
111
+ "Edit Your Cart","编辑您的购物车"
112
+ "Edit item","编辑项目"
113
+ "Edit item parameters","编辑项目参数"
114
+ "Email Address","编辑电子邮件地址"
115
+ "Enable Onepage Checkout","启用单页面结账"
116
+ "Enable Terms and Conditions","启用条款和条件"
117
+ "Enabled","已启用"
118
+ "Enter a New Address","输入新地址"
119
+ "Enter your coupon code if you have one.","如果您有优惠代码,请输入。"
120
+ "Enter your destination to get a shipping estimate.","输入您的目的地来获得预计运送信息。"
121
+ "Estimate Shipping and Tax","预计运费和税费"
122
+ "Excl. Tax","不含税"
123
+ "Fast and easy check out","方便快捷的结账"
124
+ "Fax","传真"
125
+ "Forgot an Item?","忘记某个项目?"
126
+ "Forgot your password?","忘记您的密码?"
127
+ "Get a Quote","获得报价"
128
+ "Get list of available payment methods","获得可用支付方法的列表"
129
+ "Get list of available shipping methods","获得可用运送方式的列表"
130
+ "Get list of products in shopping cart","获得购物车中的产品列表"
131
+ "Get terms and conditions","获取条款和条件"
132
+ "Get total prices for shopping cart","获得购物车中总价格"
133
+ "Gift Message","礼品消息"
134
+ "Grand Total:","总计:"
135
+ "Grouped Product Image","已分组的产品图片"
136
+ "HTML","HTML"
137
+ "ID","ID"
138
+ "Incl. Tax","含税"
139
+ "Invalid checkout type.","无效的结账类型。"
140
+ "Invalid data.","无效数据。"
141
+ "Invalid email address ""%s""","无效的电子邮件地址 ""%s"""
142
+ "Invalid method: %s","无效的方法:%s"
143
+ "Invalid shipping method.","运送方法无效。"
144
+ "Item not found or already ordered","无法找到项目,或项目已被订购"
145
+ "Items","项目"
146
+ "Items After","项目晚于"
147
+ "Items Before","之前的项目"
148
+ "Load customer quote error","载入客户报价错误"
149
+ "Loading next step...","正在载入下一步..."
150
+ "Login","登录"
151
+ "Login/Registration Before","登录/注册早于"
152
+ "Manage Terms and Conditions","管理条款与协议"
153
+ "Maximum Display Recently Added Item(s)","最大显示近期添加的项目"
154
+ "Maximum qty allowed for Shipping to multiple addresses is %s","运送到多个地址所允许的最大数量为 %s"
155
+ "Minimum order amount is %s","最小订购数量为 %s"
156
+ "Move","移动"
157
+ "Move to Wishlist","移动到愿望清单"
158
+ "Multishipping Checkout","多重运送结账"
159
+ "Multishipping Checkout Address (Any) Form","多重运送地址(任何)表单"
160
+ "Multishipping Checkout Billing Address Creation","多重运送账单地址创建"
161
+ "Multishipping Checkout Billing Address Edit Form","多重结账账单地址编辑表单"
162
+ "Multishipping Checkout Billing Address Selection","多重运送结账账单地址选择"
163
+ "Multishipping Checkout Billing Information Step","多重运送账单信息步骤"
164
+ "Multishipping Checkout Customer Address Edit Form","多重运送结账客户地址编辑表单"
165
+ "Multishipping Checkout Overview","多重运送结账概览"
166
+ "Multishipping Checkout Shipping Address Creation","多重运送结账运送地址创建"
167
+ "Multishipping Checkout Shipping Address Edit Form","多重运送结账运送地址编辑表单"
168
+ "Multishipping Checkout Shipping Address Selection","多重运送结账运送地址选择"
169
+ "Multishipping Checkout Shipping Information Step","多重运送结账运送信息步骤"
170
+ "Multishipping Checkout Success","多重运送结账成功"
171
+ "My Cart","我的购物车"
172
+ "My Cart (%s item)","我的购物车(%s 个项目)"
173
+ "My Cart (%s items)","我的购物车(%s 个项目)"
174
+ "My Cart Link","我的购物车链接"
175
+ "New Address","新地址"
176
+ "New Condition","新条件"
177
+ "New Terms and Conditions","新建条款与协议"
178
+ "ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER","提交订单前将显示订购的总数"
179
+ "One Page Checkout","单页面结账"
180
+ "One Page Checkout Failure","单页面结账失败"
181
+ "One Page Checkout Overview","单页面结账概览"
182
+ "One Page Checkout Success","单页面结账成功"
183
+ "One item of products do not have identifier or sku","产品中的一个项目不包含标识或 SKU"
184
+ "One item of products is not belong any of quote item","产品中的一个项目不属于任何报价项目"
185
+ "Order #","订单 #"
186
+ "Order Review","订单总览"
187
+ "Order Success","订购成功"
188
+ "Order place error.","提交订单错误。"
189
+ "Other Items in Your Order","您订单中的其它项目"
190
+ "Overview Items After","项目概览"
191
+ "Password","密码"
192
+ "Payment Failed Email Reciever","支付失败电子邮件接收者"
193
+ "Payment Failed Email Sender","支付失败电子邮件发送者"
194
+ "Payment Failed Emails","支付失败电子邮件"
195
+ "Payment Failed Template","支付失败模板"
196
+ "Payment Information","支付信息"
197
+ "Payment Method","支付方式"
198
+ "Payment Methods After Checkout Button","按下结账按钮后的支付方式"
199
+ "Payment Methods Before Checkout Button","按下结账按钮前的支付方式"
200
+ "Payment method information","支付方式信息"
201
+ "Payment method is not defined","支付方式未定义"
202
+ "Payment methods in shopping cart","购物车中的支付方式"
203
+ "Payment profile # %s: ""%s"".","支付资料 # %s: ""%s""。"
204
+ "Place Order","下订单"
205
+ "Please agree to all Terms and Conditions before placing the order.","请在下订单前同意所有的条款和条件。"
206
+ "Please agree to all Terms and Conditions before placing the orders.","请在下订单前同意所有的条款和条件。"
207
+ "Please agree to all the terms and conditions before placing the order.","请在下订单前同意所有的条款和条件。"
208
+ "Please check billing address information.","请检查账单地址信息。"
209
+ "Please check shipping address information.","请检查运送地址信息。"
210
+ "Please check shipping addresses information.","请检查运送地址信息。"
211
+ "Please choose to register or to checkout as a guest","请选择地区或以来宾身份结账"
212
+ "Please log in below:","请在下面登录:"
213
+ "Please select region, state or province","请选择地区、州,或省"
214
+ "Please select shipping address for applicable items","请为适用项目选择运送地址"
215
+ "Please select shipping methods for all addresses","请为所有地址选择运送方式"
216
+ "Please select valid payment method.","请选择有效的支付方法。"
217
+ "Please specify payment method.","请指定支付方式。"
218
+ "Please specify shipping method.","请指定发货方式。"
219
+ "Please specify shipping methods for all addresses.","请为所有地址制定运送方式。"
220
+ "Price","价格"
221
+ "Proceed to Checkout","进行结账"
222
+ "Product","产品"
223
+ "Product Name","产品名"
224
+ "Products","产品"
225
+ "Qty","数量"
226
+ "Qty:","数量:"
227
+ "Quantity was recalculated from %d to %d","数量已重新计算,从 %d 到 %d"
228
+ "Quote Lifetime (days)","报价生命期(天)"
229
+ "Quote item does not exist.","报价项目不存在。"
230
+ "Quote item is not found.","报价项目未找到。"
231
+ "Recently added item(s)","最近添加的项目"
232
+ "Register","注册"
233
+ "Register and save time!","注册并节约时间!"
234
+ "Register to Create an Account","注册以创建帐户"
235
+ "Register with us for future convenience:","在这里注册以后可以更方便:"
236
+ "Remove Item","删除项目"
237
+ "Remove This Item","删除该内容"
238
+ "Remove coupon code from shopping cart","从购物车中删除优惠代码"
239
+ "Remove item","删除项目"
240
+ "Remove product from shopping cart","从购物车中删除产品"
241
+ "Remove product(s) from shopping cart","从购物车中删除产品"
242
+ "Require Customer To Be Logged In To Checkout","需要顾客登录才能结账"
243
+ "Retrieve information about shopping cart","获取关于购物车的信息"
244
+ "Review Order","查看订单"
245
+ "Review Order - %s","查看订单 - %s"
246
+ "Sales","销售"
247
+ "Save Condition","保存条件"
248
+ "Save in address book","保存到地址簿"
249
+ "See price before order confirmation.","确认订单前显示价格。"
250
+ "Select Address","选择地址"
251
+ "Select Addresses","选择地址"
252
+ "Select Shipping Method","选择运送方式"
253
+ "Select State/Province...","选择州/省..."
254
+ "Select a billing address from your address book or enter a new address.","从您的地址簿选择账单地址,或输入新地址。"
255
+ "Select a shipping address from your address book or enter a new address.","从您的地址簿选择发货地址,或输入新地址。"
256
+ "Send Payment Failed Email Copy Method","发送支付失败电子邮件复制方法"
257
+ "Send Payment Failed Email Copy To","发送支付失败电子邮件拷贝至"
258
+ "Send To","发送至"
259
+ "Separate by "","".","以“,”分隔。"
260
+ "Set customer for shopping cart","设置客户的购物车"
261
+ "Set customer's addresses in shopping cart","设置购物车中客户的地址"
262
+ "Set payment method","设置支付方法"
263
+ "Set shipping method","设置运送方式"
264
+ "Ship to Multiple Addresses","运送到多个地址"
265
+ "Ship to different address","送货到不同地址"
266
+ "Ship to this address","送货到这个地址"
267
+ "Shipping Address","送货地址"
268
+ "Shipping Information","运送信息"
269
+ "Shipping Method","运送方式"
270
+ "Shipping Methods","运送方式"
271
+ "Shipping To","运送至"
272
+ "Shipping information","运送信息"
273
+ "Shipping method has not been selected yet","运送方式尚未被选择"
274
+ "Shipping methods in shopping cart","购物车中的运送方式"
275
+ "Shipping selection is not applicable.","运送选择不适用。"
276
+ "Shopping Cart","购物车"
277
+ "Shopping Cart Form Before","购物车形成以前"
278
+ "Shopping Cart Sidebar","购物车侧边栏"
279
+ "Shopping Cart Sidebar Extra Actions","购物车侧边栏额外操作"
280
+ "Shopping Cart is Empty","购物车为空"
281
+ "Shopping cart ability to set coupon code","购物车设置优惠代码"
282
+ "Show Content as","显示内容为"
283
+ "Some of the requested products are not available in the desired quantity.","部分已请求的产品不符合需求的数量。"
284
+ "Some of the requested products are unavailable.","部分已请求的产品暂无供应。"
285
+ "Some products quantities were recalculated because of quantity increment mismatch","由于数量增量不匹配,部分产品数量已被重新计算"
286
+ "Sorry, guest checkout is not enabled. Please try again or contact store owner.","很抱歉,来宾结账尚未启用。请重试或联系商店店主。"
287
+ "Sorry, guest checkout is not enabled. Please try again or contact the store owner.","对不起,不允许来宾结账。请重试或联系店主。"
288
+ "Sorry, no quotes are available for this order at this time.","抱歉,当前该订单中没有报价可用。"
289
+ "State/Province","州/省"
290
+ "Status","状态"
291
+ "Store View","店铺视图"
292
+ "Street Address","街道地址"
293
+ "Street Address %s","街道地址 %s"
294
+ "Submitting order information...","正在提交订单信息..."
295
+ "Subtotal","小计"
296
+ "Subtotal must exceed minimum order amount","总数必须超出允许订购的最小数量"
297
+ "Telephone","电话"
298
+ "Terms and Conditions","条款和条件"
299
+ "Terms and Conditions Information","条款和条件信息"
300
+ "Terms and conditions","条款和条件"
301
+ "Text","文字"
302
+ "Thank you for your purchase!","感谢您的购买!"
303
+ "The condition has been deleted","条件已被删除"
304
+ "The condition has been saved.","条件已保存。"
305
+ "The onepage checkout is disabled.","单页面结账已被禁用。"
306
+ "The product could not be found.","无法找到产品。"
307
+ "The product does not exist.","产品不存在。"
308
+ "There are <a href=""%s"">%s items</a> in your cart.","您的购物车中有 <a href=""%s"">%s 个项目</a>。"
309
+ "There is <a href=""%s"">1 item</a> in your cart.","您的购物车中有 <a href=""%s"">1 个项目</a>。"
310
+ "There is already a customer registered using this email address. Please login using this email address or enter a different email address to register your account.","已存在使用此电子邮件地址注册的客户。请使用此电子邮件登录或输入不同的电子邮件地址来注册您的账户。"
311
+ "There was an error processing your order. Please contact us or try again later.","处理您的订单时遇到了错误。请联系我们,或稍后再试。"
312
+ "This condition no longer exists.","该条件已不存在。"
313
+ "Total","总数"
314
+ "Total for this address","该地址的总额"
315
+ "Unable to set Payment Method.","无法设置支付方式。"
316
+ "Unit Price","单价"
317
+ "Update Cart","更新购物车"
318
+ "Update Qty &amp; Addresses","更新数量与地址"
319
+ "Update Shopping Cart","更新购物车"
320
+ "Update Total","更新总额"
321
+ "Update product quantities in shopping cart","更新购物车中的产品数量"
322
+ "Update product(s) quantities in shopping cart","更新购物车中的产品数量"
323
+ "Use Billing Address","使用账单地址"
324
+ "VAT Number","VAT 编号"
325
+ "We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.","我们正在处理您的订单,您将很快收到包含订单详情的电子邮件。当订单运送后,您会收到另一封邮件,并可使用邮件中的链接来追踪运送进度。"
326
+ "What's this?","这是什么?"
327
+ "You have no items in your shopping cart.","您的购物车内没有物品。"
328
+ "You will receive an order confirmation email with details of your order and a link to track its progress.","您将会收到一份内含订单详细信息和可查询进展情况链接的确认邮件"
329
+ "Your Checkout Progress","您的结帐流程"
330
+ "Your billing agreement # is: %s.","您的账单编号为: %s"
331
+ "Your order # is: %s.","您的订单编号为: %s"
332
+ "Your order cannot be completed at this time as there is no payment methods available for it.","由于付款方法不可用,现在无法完成您的订单。"
333
+ "Your order cannot be completed at this time as there is no shipping methods available for it. Please make necessary changes in your shipping address.","由于送货方法不可用,现在无法完成您的订单。请更改您的收货地址。"
334
+ "Your order has been received.","我们已经收到您的订单。"
335
+ "Your order number is ","您的订单号是"
336
+ "Your recurring payment profiles:","您的付款档案:"
337
+ "Zip/Postal Code","邮政编码"
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Achang_ChinaCheckout</name>
4
+ <version>0.1.0</version>
5
+ <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>&#x79FB;&#x9664;&#x5E10;&#x5355;&#x5730;&#x5740;</summary>
10
+ <description>&#x79FB;&#x9664;&#x8D26;&#x5355;&#x5730;&#x5740;&#x4F1A;&#x5E2E;&#x52A9;&#x4F60;&#x7B80;&#x5316;&#x8D2D;&#x4E70;&#x6D41;&#x7A0B;&#xFF0C;&#x56E0;&#x4E3A;&#x5728;&#x4E2D;&#x56FD;&#x4E0D;&#x9700;&#x8981;&#x8D26;&#x5355;&#x5730;&#x5740;&#x7684;&#x529F;&#x80FD;.</description>
11
+ <notes>&#x79FB;&#x9664;&#x5E10;&#x5355;&#x5730;&#x5740;</notes>
12
+ <authors><author><name>achang</name><user>achang</user><email>magento@achang.com</email></author></authors>
13
+ <date>2013-10-21</date>
14
+ <time>09:43:31</time>
15
+ <contents><target name="magelocal"><dir name="Achang"><dir name="ChinaCheckout"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Billing.php" hash="efb47a161ecde4f7a231775f1621e125"/></dir><file name="Onepage.php" hash="482974a5aba2924ff82385d21ab151d8"/></dir><dir name="Customer"><dir name="Account"><dir name="Dashboard"><file name="Address.php" hash="f2a00512542985313481454beee33d1c"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="77453261ac36b0d7f72e8c024850b231"/></dir><dir name="etc"><file name="config.xml" hash="283628a8d3b0c6c1e347edae6c917aeb"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Achang_ChinaCheckout.xml" hash="37f489696b00f2ebd3dff88fc3d33dbe"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="c8b00370b5b0009b95908420ffe06f72"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="checkout"><dir name="multishipping"><file name="billing.phtml" hash="afd51819c1dfe08d68f17f64c399f340"/><file name="overview.phtml" hash="1d3ab5618a5e0168b0a4ce07c8938b79"/><file name="shipping.phtml" hash="6462c3cc4928e18848c5de9d305ac598"/><file name="state.phtml" hash="d7aeb2cff8cfd3a39aec15920b7f5ea1"/></dir><dir name="onepage"><file name="progress.phtml" hash="9f52f0c3cd6c1a62a14b3bac0ca345b3"/></dir></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="ba680b3f18d7294c9b2a0af36211a5c9"/></dir></dir><dir name="address"><file name="book.phtml" hash="70bddb52ccd6b0e62f47673e6c4ad83a"/><file name="edit.phtml" hash="3e3d78cd56a2ba2d07df4f05f8b94ac1"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="03e51f5556545fe24c1acf8fe086b1bc"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="info.phtml" hash="a0427c39b81c0175a3a269f551d8a1ec"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="zh_CN"><file name="Mage_Checkout.csv" hash="f7fa44c243b3cf92c9c96fc3006bce76"/></dir><dir name="en_US"><file name="Mage_Checkout.csv" hash="eee63516e1c8c50348a1d33a91434ad4"/><dir name="template"><dir name="email"><dir name="sales"><file name="order_new.html" hash="8a1e87c60c9a23be9db4af68721a273a"/><file name="order_new_guest.html" hash="dff357c94fa350194e443a0ad85fbe4b"/></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>