ak-order-deliverytime - Version 0.2.0

Version Notes

Second Version of Extension
Optimized Code
Bugs fixed

Download this release

Release Info

Developer Anuj
Extension ak-order-deliverytime
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.0 to 0.2.0

Files changed (23) hide show
  1. app/design/frontend/base/default/template/checkout/onepage/agreements.phtml +0 -51
  2. app/design/frontend/base/default/template/checkout/onepage/billing.phtml +0 -216
  3. app/design/frontend/base/default/template/checkout/onepage/failure.phtml +0 -32
  4. app/design/frontend/base/default/template/checkout/onepage/link.phtml +0 -29
  5. app/design/frontend/base/default/template/checkout/onepage/login.phtml +0 -124
  6. app/design/frontend/base/default/template/checkout/onepage/payment.phtml +0 -73
  7. app/design/frontend/base/default/template/checkout/onepage/payment/info.phtml +0 -29
  8. app/design/frontend/base/default/template/checkout/onepage/payment/methods.phtml +0 -73
  9. app/design/frontend/base/default/template/checkout/onepage/progress.phtml +0 -59
  10. app/design/frontend/base/default/template/checkout/onepage/progress/billing.phtml +0 -40
  11. app/design/frontend/base/default/template/checkout/onepage/progress/payment.phtml +0 -41
  12. app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml +0 -44
  13. app/design/frontend/base/default/template/checkout/onepage/progress/shipping_method.phtml +0 -57
  14. app/design/frontend/base/default/template/checkout/onepage/review.phtml +0 -29
  15. app/design/frontend/base/default/template/checkout/onepage/review/button.phtml +0 -27
  16. app/design/frontend/base/default/template/checkout/onepage/review/info.phtml +0 -84
  17. app/design/frontend/base/default/template/checkout/onepage/review/item.phtml +0 -240
  18. app/design/frontend/base/default/template/checkout/onepage/review/totals.phtml +0 -47
  19. app/design/frontend/base/default/template/checkout/onepage/shipping.phtml +0 -156
  20. app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml +0 -46
  21. app/design/frontend/base/default/template/checkout/onepage/shipping_method/additional.phtml +0 -29
  22. app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml +0 -101
  23. package.xml +9 -7
app/design/frontend/base/default/template/checkout/onepage/agreements.phtml DELETED
@@ -1,51 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * @see Mage_Checkout_Block_Agreements
30
- */
31
- ?>
32
-
33
- <?php if (!$this->getAgreements()) return; ?>
34
- <form action="" id="checkout-agreements" onsubmit="return false;">
35
- <ol class="checkout-agreements">
36
- <?php foreach ($this->getAgreements() as $_a): ?>
37
- <li>
38
- <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
39
- <?php if ($_a->getIsHtml()):?>
40
- <?php echo $_a->getContent() ?>
41
- <?php else:?>
42
- <?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
43
- <?php endif; ?>
44
- </div>
45
- <p class="agree">
46
- <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->escapeHtml($_a->getCheckboxText()) ?></label>
47
- </p>
48
- </li>
49
- <?php endforeach ?>
50
- </ol>
51
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/billing.phtml DELETED
@@ -1,216 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <form id="co-billing-form" action="">
28
- <fieldset>
29
- <ul class="form-list">
30
- <?php if ($this->customerHasAddresses()): ?>
31
- <li class="wide">
32
- <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
33
- <div class="input-box">
34
- <?php echo $this->getAddressesHtmlSelect('billing') ?>
35
- </div>
36
- </li>
37
- <?php endif; ?>
38
- <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
39
- <fieldset>
40
- <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
41
- <ul>
42
- <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>
43
- <li class="fields">
44
- <div class="field">
45
- <label for="billing:company"><?php echo $this->__('Company') ?></label>
46
- <div class="input-box">
47
- <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
48
- </div>
49
- </div>
50
- <?php if(!$this->isCustomerLoggedIn()): ?>
51
- <div class="field">
52
- <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
53
- <div class="input-box">
54
- <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text validate-email required-entry" />
55
- </div>
56
- </div>
57
- <?php endif; ?>
58
- </li>
59
- <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
60
- <li class="wide">
61
- <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
62
- <div class="input-box">
63
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
64
- </div>
65
- </li>
66
- <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
67
- <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
68
- <li class="wide">
69
- <div class="input-box">
70
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($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 ?>" />
71
- </div>
72
- </li>
73
- <?php endfor; ?>
74
- <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
75
- <li class="wide">
76
- <label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
77
- <div class="input-box">
78
- <input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
79
- </div>
80
- </li>
81
- <?php endif; ?>
82
- <li class="fields">
83
- <div class="field">
84
- <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
85
- <div class="input-box">
86
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($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" />
87
- </div>
88
- </div>
89
- <div class="field">
90
- <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
91
- <div class="input-box">
92
- <select id="billing:region_id" name="billing[region_id]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
93
- <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
94
- </select>
95
- <script type="text/javascript">
96
- //<![CDATA[
97
- $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
98
- //]]>
99
- </script>
100
- <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
101
- </div>
102
- </div>
103
- </li>
104
- <li class="fields">
105
- <div class="field">
106
- <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
107
- <div class="input-box">
108
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($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') ?>" />
109
- </div>
110
- </div>
111
- <div class="field">
112
- <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
113
- <div class="input-box">
114
- <?php echo $this->getCountryHtmlSelect('billing') ?>
115
- </div>
116
- </div>
117
- </li>
118
- <li class="fields">
119
- <div class="field">
120
- <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
121
- <div class="input-box">
122
- <input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
123
- </div>
124
- </div>
125
- <div class="field">
126
- <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
127
- <div class="input-box">
128
- <input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
129
- </div>
130
- </div>
131
- </li>
132
- <?php if(!$this->isCustomerLoggedIn()): ?>
133
-
134
- <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
135
- <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
136
- <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
137
- <li class="fields">
138
- <?php if ($_dob->isEnabled()): ?>
139
- <div class="field">
140
- <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
141
- </div>
142
- <?php endif; ?>
143
- <?php if ($_gender->isEnabled()): ?>
144
- <div class="field">
145
- <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
146
- </div>
147
- <?php endif ?>
148
- </li>
149
- <?php endif ?>
150
-
151
- <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
152
- <?php if ($_taxvat->isEnabled()): ?>
153
- <li>
154
- <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
155
- </li>
156
- <?php endif ?>
157
-
158
- <li class="fields" id="register-customer-password">
159
- <div class="field">
160
- <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
161
- <div class="input-box">
162
- <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" class="input-text required-entry validate-password" />
163
- </div>
164
- </div>
165
- <div class="field">
166
- <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
167
- <div class="input-box">
168
- <input type="password" name="billing[confirm_password]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm Password')) ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
169
- </div>
170
- </div>
171
- </li>
172
- <?php endif; ?>
173
- <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
174
- <li class="control">
175
- <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($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>
176
- </li>
177
- <?php else:?>
178
- <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
179
- <?php endif; ?>
180
- <?php echo $this->getChildHtml('form.additional.info'); ?>
181
- </ul>
182
- </fieldset>
183
- </li>
184
- <?php /* Extensions placeholder */ ?>
185
- <?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
186
- <?php if ($this->canShip()): ?>
187
- <li class="control">
188
- <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 Mage::helper('core')->quoteEscape($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>
189
- <li class="control">
190
- <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 Mage::helper('core')->quoteEscape($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>
191
- </li>
192
- <?php endif; ?>
193
- </ul>
194
- <?php if (!$this->canShip()): ?>
195
- <input type="hidden" name="billing[use_for_shipping]" value="1" />
196
- <?php endif; ?>
197
- <div class="buttons-set" id="billing-buttons-container">
198
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
199
- <button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
200
- <span class="please-wait" id="billing-please-wait" style="display:none;">
201
- <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
202
- </span>
203
- </div>
204
- </fieldset>
205
- </form>
206
- <script type="text/javascript">
207
- //<![CDATA[
208
- var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
209
- var billingForm = new VarienForm('co-billing-form');
210
-
211
- //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
212
- $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
213
-
214
- var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
215
- //]]>
216
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/failure.phtml DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <div class="page-title">
28
- <h1><?php echo $this->__('An error occurred in the process of payment') ?></h1>
29
- </div>
30
- <?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
31
- <?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
32
- <p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', Mage::helper('core')->quoteEscape($this->getContinueShoppingUrl())) ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/link.phtml DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if ($this->isPossibleOnepageCheckout()):?>
28
- <button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Proceed to Checkout')) ?>" class="button btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
29
- <?php endif?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/login.phtml DELETED
@@ -1,124 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php /* Extensions placeholder */ ?>
28
- <?php echo $this->getChildHtml('checkout.onepage.login.extra')?>
29
- <div class="col2-set">
30
- <?php echo $this->getChildHtml('login_before')?>
31
- <div class="col-1">
32
- <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
33
- <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
34
- <p><?php echo $this->__('Register with us for future convenience:') ?></p>
35
- <?php else: ?>
36
- <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
37
- <?php echo $this->__('Register with us for future convenience:') ?></p>
38
- <ul>
39
- <li><?php echo $this->__('Fast and easy check out') ?></li>
40
- <li><?php echo $this->__('Easy access to your order history and status') ?></li>
41
- </ul>
42
- <?php endif; ?>
43
- <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
44
- <ul class="form-list">
45
- <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
46
- <li class="control">
47
- <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
48
- </li>
49
- <?php endif; ?>
50
- <li class="control">
51
- <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
52
- </li>
53
- </ul>
54
- <h4><?php echo $this->__('Register and save time!') ?></h4>
55
- <p><?php echo $this->__('Register with us for future convenience:') ?></p>
56
- <ul class="ul">
57
- <li><?php echo $this->__('Fast and easy check out') ?></li>
58
- <li><?php echo $this->__('Easy access to your order history and status') ?></li>
59
- </ul>
60
- <?php else: ?>
61
- <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
62
- <?php endif; ?>
63
- </div>
64
- <div class="col-2">
65
- <h3><?php echo $this->__('Login') ?></h3>
66
- <?php echo $this->getMessagesBlock()->toHtml() ?>
67
- <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
68
- <fieldset>
69
- <?php echo $this->getBlockHtml('formkey'); ?>
70
- <h4><?php echo $this->__('Already registered?') ?></h4>
71
- <p><?php echo $this->__('Please log in below:') ?></p>
72
- <ul class="form-list">
73
- <li>
74
- <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
75
- <div class="input-box">
76
- <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
77
- </div>
78
- </li>
79
- <li>
80
- <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
81
- <div class="input-box">
82
- <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
83
- </div>
84
- </li>
85
- <?php echo $this->getChildHtml('form.additional.info'); ?>
86
- </ul>
87
- </fieldset>
88
- </form>
89
- </div>
90
- </div>
91
- <div class="col2-set">
92
- <div class="col-1">
93
- <div class="buttons-set">
94
- <p class="required">&nbsp;</p>
95
- <button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
96
- </div>
97
- </div>
98
- <div class="col-2">
99
- <div class="buttons-set">
100
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
101
- <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
102
- <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
103
- </div>
104
- </div>
105
- </div>
106
- <script type="text/javascript">
107
- //<![CDATA[
108
- var loginForm = new VarienForm('login-form', true);
109
- $('login-email').observe('keypress', bindLoginPost);
110
- $('login-password').observe('keypress', bindLoginPost);
111
- function bindLoginPost(evt){
112
- if (evt.keyCode == Event.KEY_RETURN) {
113
- loginForm.submit();
114
- }
115
- }
116
- function onepageLogin(button)
117
- {
118
- if(loginForm.validator && loginForm.validator.validate()){
119
- button.disabled = true;
120
- loginForm.submit();
121
- }
122
- }
123
- //]]>
124
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/payment.phtml DELETED
@@ -1,73 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <script type="text/javascript">
28
- //<![CDATA[
29
- var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
30
- var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
31
- var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
32
- var lastPrice;
33
- //]]>
34
- </script>
35
- <form action="" id="co-payment-form">
36
- <fieldset>
37
- <?php echo $this->getChildHtml('methods') ?>
38
- </fieldset>
39
- </form>
40
- <div class="tool-tip" id="payment-tool-tip" style="display:none;">
41
- <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a></div>
42
- <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" /></div>
43
- </div>
44
- <div class="buttons-set" id="payment-buttons-container">
45
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
46
- <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
47
- <button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
48
- <span class="please-wait" id="payment-please-wait" style="display:none;">
49
- <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
50
- </span>
51
- </div>
52
- <script type="text/javascript">
53
- //<![CDATA[
54
- function toggleToolTip(event){
55
- if($('payment-tool-tip')){
56
- $('payment-tool-tip').setStyle({
57
- top: (Event.pointerY(event)-560)+'px'//,
58
- //left: (Event.pointerX(event)+100)+'px'
59
- })
60
- $('payment-tool-tip').toggle();
61
- }
62
- Event.stop(event);
63
- }
64
- if($('payment-tool-tip-close')){
65
- Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
66
- }
67
- //]]>
68
- </script>
69
- <script type="text/javascript">
70
- //<![CDATA[
71
- payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
72
- //]]>
73
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/payment/info.phtml DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <dl class="sp-methods" id="checkout-payment-method-load">
28
- <!-- Content dynamically loaded. Content from the methods.phtml is loaded during the ajax call -->
29
- </dl>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/payment/methods.phtml DELETED
@@ -1,73 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * One page checkout payment methods
30
- *
31
- * @var $this Mage_Checkout_Block_Onepage_Payment_Methods
32
- */
33
- ?>
34
-
35
- <?php
36
- $methods = $this->getMethods();
37
- $oneMethod = count($methods) <= 1;
38
- ?>
39
- <?php if (empty($methods)): ?>
40
- <dt>
41
- <?php echo $this->__('No Payment Methods') ?>
42
- </dt>
43
- <?php else:
44
- foreach ($methods as $_method):
45
- $_code = $_method->getCode();
46
- ?>
47
- <dt id="dt_method_<?php echo $_code ?>">
48
- <?php if(!$oneMethod): ?>
49
- <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
50
- <?php else: ?>
51
- <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
52
- <?php $oneMethod = $_code; ?>
53
- <?php endif; ?>
54
- <label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
55
- </dt>
56
- <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
57
- <dd id="dd_method_<?php echo $_code ?>">
58
- <?php echo $html; ?>
59
- </dd>
60
- <?php endif; ?>
61
- <?php endforeach;
62
- endif;
63
- ?>
64
- <?php echo $this->getChildChildHtml('additional'); ?>
65
- <script type="text/javascript">
66
- //<![CDATA[
67
- <?php echo $this->getChildChildHtml('scripts'); ?>
68
- payment.init();
69
- <?php if (is_string($oneMethod)): ?>
70
- payment.switchMethod('<?php echo $oneMethod ?>');
71
- <?php endif; ?>
72
- //]]>
73
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/progress.phtml DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <div class="block block-progress opc-block-progress">
28
- <div class="block-title">
29
- <strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
30
- </div>
31
- <div class="block-content">
32
- <dl>
33
- <?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
34
- <div id="billing-progress-opcheckout">
35
- <?php echo $this->getChildHtml('billing.progress') ?>
36
- </div>
37
- <?php endif; ?>
38
-
39
- <?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
40
- <div id="shipping-progress-opcheckout">
41
- <?php echo $this->getChildHtml('shipping.progress') ?>
42
- </div>
43
- <?php endif; ?>
44
-
45
- <?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
46
- <div id="shipping_method-progress-opcheckout">
47
- <?php echo $this->getChildHtml('shippingmethod.progress') ?>
48
- </div>
49
- <?php endif; ?>
50
-
51
- <?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
52
- <div id="payment-progress-opcheckout">
53
- <?php echo $this->getChildHtml('payment.progress') ?>
54
- </div>
55
- <?php endif; ?>
56
- </dl>
57
- </div>
58
- </div>
59
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/progress/billing.phtml DELETED
@@ -1,40 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if ($this->getCheckout()->getStepData('billing', 'complete')): ?>
28
- <dt class="complete">
29
- <?php echo $this->__('Billing Address') ?><span class="changelink"> <span class="separator">|</span> <a
30
- href="#billing"
31
- onclick="checkout.changeSection('opc-billing'); return false;"><?php echo $this->__('Change') ?></a></span>
32
- </dt>
33
- <dd class="complete">
34
- <address><?php echo $this->getBilling()->format('html') ?></address>
35
- </dd>
36
- <?php else: ?>
37
- <dt>
38
- <?php echo $this->__('Billing Address') ?>
39
- </dt>
40
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/progress/payment.phtml DELETED
@@ -1,41 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if ($this->getCheckout()->getStepData('payment', 'complete')): ?>
28
- <dt class="complete">
29
- <?php echo $this->__('Payment Method') ?><span class="changelink"> <span class="separator">|</span> <a
30
- href="#payment"
31
- onclick="checkout.changeSection('opc-payment'); return false;"><?php echo $this->__('Change') ?></a></span>
32
- </dt>
33
- <dd class="complete">
34
- <?php echo $this->getPaymentHtml() ?>
35
- </dd>
36
- <?php else: ?>
37
- <dt>
38
- <?php echo $this->__('Payment Method') ?>
39
- </dt>
40
- <?php endif; ?>
41
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml DELETED
@@ -1,44 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
28
- <?php $completeClass = $this->getCheckout()->getStepData('shipping', 'complete') ? 'complete' : ''; ?>
29
- <dt class="<?php echo $completeClass ?>">
30
- <?php echo $this->__('Shipping Address') ?> <span class="changelink"><span class="separator">|</span> <a
31
- href="#payment"
32
- onclick="checkout.changeSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a></span>
33
- </dt>
34
- <dd class="<?php echo $completeClass ?>">
35
- <?php if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
36
- <address><?php echo $this->getShipping()->format('html') ?></address>
37
- <?php endif; ?>
38
- </dd>
39
- <?php else: ?>
40
- <dt>
41
- <?php echo $this->__('Shipping Address') ?>
42
- </dt>
43
- <?php endif; ?>
44
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/progress/shipping_method.phtml DELETED
@@ -1,57 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if ($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
28
- <dt class="complete">
29
- <?php echo $this->__('Shipping Method') ?> <span class="changelink"><span class="separator">|</span> <a
30
- href="#shipping_method"
31
- onclick="checkout.changeSection('opc-shipping_method'); return false;"><?php echo $this->__('Change') ?></a></span>
32
- </dt>
33
- <dd class="complete">
34
- <?php if ($this->getShippingMethod()): ?>
35
- <?php echo $this->getShippingDescription() ?>
36
-
37
- <?php $_excl = $this->getShippingPriceExclTax(); ?>
38
- <?php $_incl = $this->getShippingPriceInclTax(); ?>
39
- <?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
40
- <?php echo $_incl; ?>
41
- <?php else: ?>
42
- <?php echo $_excl; ?>
43
- <?php endif; ?>
44
- <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
45
- (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
46
- <?php endif; ?>
47
-
48
- <?php else: ?>
49
- <?php echo $this->__('Shipping method has not been selected yet') ?>
50
- <?php endif; ?>
51
- </dd>
52
- <?php else: ?>
53
- <dt>
54
- <?php echo $this->__('Shipping Method') ?>
55
- </dt>
56
- <?php endif; ?>
57
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/review.phtml DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <div class="order-review" id="checkout-review-load">
28
- <!-- Content loaded dynamically -->
29
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/review/button.phtml DELETED
@@ -1,27 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Place Order')) ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/review/info.phtml DELETED
@@ -1,84 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php echo $this->getChildHtml('items_before'); ?>
28
- <div id="checkout-review-table-wrapper">
29
- <table class="data-table" id="checkout-review-table">
30
- <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
31
- <col />
32
- <col width="1" />
33
- <col width="1" />
34
- <col width="1" />
35
- <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
36
- <col width="1" />
37
- <col width="1" />
38
- <?php endif; ?>
39
- <thead>
40
- <tr>
41
- <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
42
- <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
43
- <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
44
- <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
45
- </tr>
46
- <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
47
- <tr>
48
- <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
49
- <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
50
- <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
51
- <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
52
- </tr>
53
- <?php endif; ?>
54
- </thead>
55
- <?php echo $this->getChildHtml('totals'); ?>
56
- <tbody>
57
- <?php foreach($this->getItems() as $_item): ?>
58
- <?php echo $this->getItemHtml($_item)?>
59
- <?php endforeach ?>
60
- </tbody>
61
- </table>
62
- </div>
63
- <?php echo $this->getChildHtml('items_after'); ?>
64
- <script type="text/javascript">
65
- //<![CDATA[
66
- decorateTable('checkout-review-table');
67
- truncateOptions();
68
- //]]>
69
- </script>
70
- <div id="checkout-review-submit">
71
- <?php echo $this->getChildHtml('agreements') ?>
72
- <div class="buttons-set" id="review-buttons-container">
73
- <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
74
- <?php echo $this->getChildHtml('button') ?>
75
- <span class="please-wait" id="review-please-wait" style="display:none;">
76
- <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
77
- </span>
78
- </div>
79
- <script type="text/javascript">
80
- //<![CDATA[
81
- review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
82
- //]]>
83
- </script>
84
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/review/item.phtml DELETED
@@ -1,240 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php $_item = $this->getItem()?>
28
- <tr>
29
- <td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
30
- <?php if ($_options = $this->getOptionList()):?>
31
- <dl class="item-options">
32
- <?php foreach ($_options as $_option) : ?>
33
- <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
34
- <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
35
- <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
36
- <?php if (isset($_formatedOptionValue['full_view'])): ?>
37
- <div class="truncated_full_value">
38
- <dl class="item-options">
39
- <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
40
- <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
41
- </dl>
42
- </div>
43
- <?php endif; ?>
44
- </dd>
45
- <?php endforeach; ?>
46
- </dl>
47
- <?php endif;?>
48
- <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
49
- <?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
50
- <?php endif;?>
51
- </td>
52
- <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
- <td class="a-right">
54
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
55
- <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
56
- <?php else: ?>
57
- <span class="cart-price">
58
- <?php endif; ?>
59
-
60
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
61
- <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
62
- <?php else: ?>
63
- <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
64
- <?php endif; ?>
65
-
66
- </span>
67
-
68
-
69
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
70
-
71
- <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
72
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
73
- <small>
74
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
75
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
76
- <?php endforeach; ?>
77
- </small>
78
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
79
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
80
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
81
- <?php endforeach; ?>
82
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
83
- <small>
84
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
85
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
86
- <?php endforeach; ?>
87
- </small>
88
- <?php endif; ?>
89
- </div>
90
-
91
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
92
- <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
93
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
94
- </div>
95
- <?php endif; ?>
96
- <?php endif; ?>
97
- </td>
98
- <?php endif; ?>
99
- <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
100
- <td>
101
- <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
102
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
103
- <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
104
- <?php else: ?>
105
- <span class="cart-price">
106
- <?php endif; ?>
107
-
108
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
109
- <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
110
- <?php else: ?>
111
- <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
112
- <?php endif; ?>
113
-
114
- </span>
115
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
116
-
117
- <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
118
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
- <small>
120
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
121
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
122
- <?php endforeach; ?>
123
- </small>
124
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
125
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
126
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
127
- <?php endforeach; ?>
128
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
129
- <small>
130
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
131
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
132
- <?php endforeach; ?>
133
- </small>
134
- <?php endif; ?>
135
- </div>
136
-
137
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
138
- <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
139
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
140
- </div>
141
- <?php endif; ?>
142
- <?php endif; ?>
143
- </td>
144
- <?php endif; ?>
145
- <td class="a-center"><?php echo $_item->getQty() ?></td>
146
- <!-- sub total starts here -->
147
- <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
148
- <td class="a-right">
149
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
150
- <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
151
- <?php else: ?>
152
- <span class="cart-price">
153
- <?php endif; ?>
154
-
155
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
156
- <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
157
- <?php else: ?>
158
- <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
159
- <?php endif; ?>
160
-
161
- </span>
162
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
163
-
164
- <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
165
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
166
- <small>
167
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
168
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
169
- <?php endforeach; ?>
170
- </small>
171
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
172
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
173
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
174
- <?php endforeach; ?>
175
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
176
- <small>
177
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
178
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
179
- <?php endforeach; ?>
180
- </small>
181
- <?php endif; ?>
182
- </div>
183
-
184
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
185
- <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
186
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
187
- </div>
188
- <?php endif; ?>
189
- <?php endif; ?>
190
- </td>
191
- <?php endif; ?>
192
- <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
193
- <td>
194
- <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
195
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
196
- <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
197
- <?php else: ?>
198
- <span class="cart-price">
199
- <?php endif; ?>
200
-
201
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
202
- <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
203
- <?php else: ?>
204
- <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
205
- <?php endif; ?>
206
-
207
- </span>
208
-
209
-
210
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
211
-
212
- <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
213
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
214
- <small>
215
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
216
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
217
- <?php endforeach; ?>
218
- </small>
219
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
220
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
221
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
222
- <?php endforeach; ?>
223
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
224
- <small>
225
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
226
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
227
- <?php endforeach; ?>
228
- </small>
229
- <?php endif; ?>
230
- </div>
231
-
232
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
233
- <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
234
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
235
- </div>
236
- <?php endif; ?>
237
- <?php endif; ?>
238
- </td>
239
- <?php endif; ?>
240
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/review/totals.phtml DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
-
27
- /**
28
- * @see Mage_Checkout_Block_Cart_Totals
29
- */
30
- ?>
31
- <?php if ($this->getTotals()): ?>
32
- <tfoot>
33
- <?php $_colspan = $this->helper('tax')->displayCartBothPrices() ? 5 : 3; ?>
34
- <?php echo $this->renderTotals(null, $_colspan); ?>
35
- <?php echo $this->renderTotals('footer', $_colspan); ?>
36
- <?php if ($this->needDisplayBaseGrandtotal()):?>
37
- <tr>
38
- <td class="a-right" colspan="<?php echo $_colspan; ?>">
39
- <small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
40
- </td>
41
- <td class="a-right">
42
- <small><?php echo $this->displayBaseGrandtotal() ?></small>
43
- </td>
44
- </tr>
45
- <?php endif?>
46
- </tfoot>
47
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/shipping.phtml DELETED
@@ -1,156 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <form action="" id="co-shipping-form">
28
- <ul class="form-list">
29
- <?php if ($this->customerHasAddresses()): ?>
30
- <li class="wide">
31
- <label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
32
- <div class="input-box">
33
- <?php echo $this->getAddressesHtmlSelect('shipping') ?>
34
- </div>
35
- </li>
36
- <?php endif ?>
37
- <li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
38
- <fieldset>
39
- <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
40
- <ul>
41
- <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
42
- <li class="fields">
43
- <div class="fields">
44
- <label for="shipping:company"><?php echo $this->__('Company') ?></label>
45
- <div class="input-box">
46
- <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
47
- </div>
48
- </div>
49
- </li>
50
- <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
51
- <li class="wide">
52
- <label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
53
- <div class="input-box">
54
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
55
- </div>
56
- </li>
57
- <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
58
- <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
59
- <li class="wide">
60
- <div class="input-box">
61
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
62
- </div>
63
- </li>
64
- <?php endfor; ?>
65
- <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
66
- <li class="wide">
67
- <label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
68
- <div class="input-box">
69
- <input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
70
- </div>
71
- </li>
72
- <?php endif; ?>
73
- <li class="fields">
74
- <div class="field">
75
- <label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
76
- <div class="input-box">
77
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
78
- </div>
79
- </div>
80
- <div class="field">
81
- <label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
82
- <div class="input-box">
83
- <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
84
- <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
85
- </select>
86
- <script type="text/javascript">
87
- //<![CDATA[
88
- $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
89
- //]]>
90
- </script>
91
- <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
92
- </div>
93
- </div>
94
- </li>
95
- <li class="fields">
96
- <div class="field">
97
- <label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
98
- <div class="input-box">
99
- <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
100
- </div>
101
- </div>
102
- <div class="field">
103
- <label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
104
- <div class="input-box">
105
- <?php echo $this->getCountryHtmlSelect('shipping') ?>
106
- </div>
107
- </div>
108
- </li>
109
- <li class="fields">
110
- <div class="field">
111
- <label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
112
- <div class="input-box">
113
- <input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
114
- </div>
115
- </div>
116
- <div class="field">
117
- <label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
118
- <div class="input-box">
119
- <input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
120
- </div>
121
- </div>
122
- </li>
123
- <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
124
- <li class="control">
125
- <input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
126
- <?php else:?>
127
- <li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
128
- <?php endif;?>
129
- </ul>
130
- </fieldset>
131
- </li>
132
- <li class="control">
133
- <input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
134
- </li>
135
- </ul>
136
- <div class="buttons-set" id="shipping-buttons-container">
137
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
138
- <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
139
- <button type="button" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
140
- <span id="shipping-please-wait" class="please-wait" style="display:none;">
141
- <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
142
- </span>
143
- </div>
144
- </form>
145
- <script type="text/javascript">
146
- //<![CDATA[
147
- var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
148
- '<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
149
- var shippingForm = new VarienForm('co-shipping-form');
150
- shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
151
- //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Select State/Province...')) ?>');
152
- $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
153
-
154
- var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
155
- //]]>
156
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <form id="co-shipping-method-form" action="">
28
- <div id="checkout-shipping-method-load">
29
- <!-- Content loaded dynamically -->
30
- </div>
31
- <script type="text/javascript">
32
- //<![CDATA[
33
- var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
34
- //]]>
35
- </script>
36
- <div id="onepage-checkout-shipping-method-additional-load">
37
- <?php echo $this->getChildHtml('additional') ?>
38
- </div>
39
- <div class="buttons-set" id="shipping-method-buttons-container">
40
- <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
41
- <button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
42
- <span id="shipping-method-please-wait" class="please-wait" style="display:none;">
43
- <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
44
- </span>
45
- </div>
46
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/shipping_method/additional.phtml DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php if (!$this->getQuote()->isVirtual()): ?>
28
- <?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
29
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml DELETED
@@ -1,101 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.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.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.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_Onepage_Shipping_Method_Available */ ?>
28
- <?php $_shippingRateGroups = $this->getShippingRates(); ?>
29
- <?php if (!$_shippingRateGroups): ?>
30
- <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
31
- <?php else: ?>
32
- <dl class="sp-methods">
33
- <?php $shippingCodePrice = array(); ?>
34
- <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
35
- <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
36
- <dd>
37
- <ul>
38
- <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
39
- <?php $shippingCodePrice[] = "'".$_rate->getCode()."':".(float)$_rate->getPrice(); ?>
40
- <li>
41
- <?php if ($_rate->getErrorMessage()): ?>
42
- <ul class="messages"><li class="error-msg"><ul><li><?php echo $this->escapeHtml($_rate->getErrorMessage()) ?></li></ul></li></ul>
43
- <?php else: ?>
44
- <?php if ($_sole) : ?>
45
- <span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
46
- <?php else: ?>
47
- <input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
48
-
49
- <?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
50
- <script type="text/javascript">
51
- //<![CDATA[
52
- lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
53
- //]]>
54
- </script>
55
- <?php endif; ?>
56
-
57
- <?php endif; ?>
58
- <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
59
- <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
60
- <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
61
- <?php echo $_excl; ?>
62
- <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
63
- (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
64
- <?php endif; ?>
65
- </label>
66
- <?php endif ?>
67
- </li>
68
- <?php endforeach; ?>
69
- </ul>
70
- </dd>
71
- <?php endforeach; ?>
72
- </dl>
73
- <script type="text/javascript">
74
- //<![CDATA[
75
- <?php if (!empty($shippingCodePrice)): ?>
76
- var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
77
- <?php endif; ?>
78
-
79
- $$('input[type="radio"][name="shipping_method"]').each(function(el){
80
- Event.observe(el, 'click', function(){
81
- if (el.checked == true) {
82
- var getShippingCode = el.getValue();
83
- <?php if (!empty($shippingCodePrice)): ?>
84
- var newPrice = shippingCodePrice[getShippingCode];
85
- if (!lastPrice) {
86
- lastPrice = newPrice;
87
- quoteBaseGrandTotal += newPrice;
88
- }
89
- if (newPrice != lastPrice) {
90
- quoteBaseGrandTotal += (newPrice-lastPrice);
91
- lastPrice = newPrice;
92
- }
93
- <?php endif; ?>
94
- checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
95
- return false;
96
- }
97
- });
98
- });
99
- //]]>
100
- </script>
101
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,18 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ak-order-deliverytime</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>This Extension allows user to Select Order Delivery Time slot</summary>
10
- <description>This Extension allows user to Select Order Delivery Time slot</description>
11
- <notes>This is the version of extension</notes>
 
 
12
  <authors><author><name>Anuj</name><user>anuj</user><email>farshwal.anujkumar11@gmail.com</email></author></authors>
13
  <date>2015-08-02</date>
14
- <time>08:09:51</time>
15
- <contents><target name="magecommunity"><dir name="AK"><dir name="Deliverytime"><dir name="Block"><dir name="Adminhtml"><dir name="Deliverytime"><dir name="Edit"><file name="Form.php" hash="5ace59a153c3621fbedc2c5f7854a70b"/><dir name="Tab"><file name="Form.php" hash="1c25653986ec142ddb19db706801ad54"/></dir><file name="Tabs.php" hash="1b65416653e5f84216242c9eafccfb83"/></dir><file name="Edit.php" hash="361c5b6b5c614320eba39eca4dd81bc3"/><file name="Grid.php" hash="1984f06cac4574c9db157bc76ecee2ef"/></dir><file name="Deliverytime.php" hash="f20ef348fefdf101ca8fe17438780bd8"/></dir><dir name="Onepage"><file name="Deliverytime.php" hash="3c8d5fafb498fded55c78acdedae1aba"/></dir><file name="Onepage.php" hash="d7450e65a2ea1e1a5007969d902d05df"/><dir name="Order"><file name="Info.php" hash="c2aeecac3c77c423ec1e2bf8f98de2ce"/></dir></dir><dir name="Helper"><file name="Data.php" hash="33ec6b37b0268508fea52cc09b246cea"/></dir><dir name="Model"><file name="Deliverytime.php" hash="c09c24e313885a50a8a35bc3c810b885"/><dir name="Mysql4"><dir name="Deliverytime"><file name="Collection.php" hash="3661876ce4e7426cc41273e17191b7c9"/></dir><file name="Deliverytime.php" hash="36812a4731046111b8e1ca8aec6d0e9a"/><dir name="Timeslot"><file name="Collection.php" hash="2139832e3b6bafdc0013eb606205a1ed"/></dir><file name="Timeslot.php" hash="9356903fd7c8e9811c414a170becdaa6"/></dir><dir name="Observer"><file name="Timeslot.php" hash="07b153b43f80abef3f75d0882d73ba3e"/></dir><file name="Observer.php" hash="0b4a1f819be3b235c8aeae36d171f3b6"/><file name="Timeslot.php" hash="1c8fdd97d26da9617c0103dfb8fe7f55"/><dir name="Type"><file name="Onepage.php" hash="2913cd6707a004437ec4b1511bb3e0ce"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeliverytimeController.php" hash="26917093d1030e2d20e91ec53b3391a6"/></dir><file name="OnepageController.php" hash="83c0a7f13f1b80d2bce7942a1622aa10"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8ed611390b9a5fd103c884c1a7b9708d"/><file name="config.xml" hash="7f18a4496bc0bc3d23d3a759f69d0856"/><file name="system.xml" hash="11f9501f74d5118ce7e0cef8a327bf9b"/></dir><dir name="sql"><dir name="deliverytime_setup"><file name="mysql4-install-0.1.0.php" hash="94ce157ebc97d9d8b42d46f464ea211b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverytime.xml" hash="ebd97284b9084c239e17d709b4238ade"/></dir><dir name="template"><dir name="deliverytime"><file name="info.phtml" hash="de2d5ea83bb2f0498529c06c2b636345"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="deliverytime.xml" hash="f1338c59574b577d7bbb95d4dc364ba1"/></dir><dir name="template"><dir name="checkout"><dir name="onepage"><file name="agreements.phtml" hash="fd159b75e3886a8c1211dc082f6038a9"/><file name="billing.phtml" hash="5f955d2d5aa91620fe4cbac3a798575e"/><file name="deliverytime.phtml" hash="0be63a68791717acc19b2f2b4085b04f"/><file name="failure.phtml" hash="1479ba21592e4872ebb6b84ab63e55c3"/><file name="link.phtml" hash="c8e11b2f9699d95754533144e802a1da"/><file name="login.phtml" hash="4df4b62a55137e6ac3a2e6bbdf02883b"/><dir name="payment"><file name="info.phtml" hash="26bb640843ee3fb6e72b4f2739f0a111"/><file name="methods.phtml" hash="8f877bd055dc782c60fb4972c603115d"/></dir><file name="payment.phtml" hash="1dbcbfd24e0166b212514926e1953629"/><dir name="progress"><file name="billing.phtml" hash="c06e12741addacd560a19ccd7ca905ba"/><file name="payment.phtml" hash="9721d97eeba66f9a770fef5e5611e1d3"/><file name="shipping.phtml" hash="da10e274a474b9077991ccd73b438107"/><file name="shipping_method.phtml" hash="da72538919498704eb7c843702daface"/></dir><file name="progress.phtml" hash="c94a75e0c3a07cef70f8509a8f76d230"/><dir name="review"><file name="button.phtml" hash="aa355d166b5e2ef41a530cd38ad7bfa1"/><file name="info.phtml" hash="dbd0bfb07cb05938aea57a2d81ad4d46"/><file name="item.phtml" hash="6d3fd9e7e0fe9e83c2e9b17d683ce741"/><file name="totals.phtml" hash="eb054bae49687e421d0d7a99ad1395e1"/></dir><file name="review.phtml" hash="d2494b8faac5833e747a5d329ee4fab7"/><file name="shipping.phtml" hash="b3f76dbbec793a164adbf4a8049c15b2"/><dir name="shipping_method"><file name="additional.phtml" hash="5b40c047594e6bc64493bd0c9f070606"/><file name="available.phtml" hash="38c7b5af800735a273ed4300f6259700"/></dir><file name="shipping_method.phtml" hash="f709b5ab2b82acfea0379814ef0a0f8d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AK_Deliverytime.xml" hash="80878efefcc642356866c6ce7ab69e04"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="deliverytime"><file name="checkout.css" hash="9a587bbabcece7ec2a38cdb6593630dc"/><file name="jquery.min.js" hash="3aca71161761a81fc3c08613f52f26f0"/><file name="timeslot.js" hash="441dacb6e7368be1fc5f11789b35f6e6"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="timepicker"><dir name="Default"><file name="sprite.png" hash="d7b7517105d8a711497bf685b0287765"/></dir><file name="init.js" hash="d504045a6ea6a8ca1227e77bff4781a8"/><file name="jquery.min.js" hash="3aca71161761a81fc3c08613f52f26f0"/><file name="kendo.all.min.js" hash="5ae63a4c68a0bca05e41cd1c7aafee89"/><file name="kendo.common.min.css" hash="c3cc80c317a96a4393e668fd423342ab"/><file name="kendo.dataviz.default.min.css" hash="cfec0625dde1068345ebae74b69bd0cc"/><file name="kendo.dataviz.min.css" hash="f26f96e5c0d8fffa3401eac9d65d87d9"/><file name="kendo.default.min.css" hash="56a26ee08df42db1cc173f288f421bf6"/></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.9.2.0</max></package><extension><name>gd</name><min>2.0.28</min><max>3.0</max></extension></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ak-order-deliverytime</name>
4
+ <version>0.2.0</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>This extension allows user to choose a timeslot for delivery</summary>
10
+ <description>With the help of this extension any user can choose its timeslot for the order delivery.</description>
11
+ <notes>Second Version of Extension&#xD;
12
+ Optimized Code&#xD;
13
+ Bugs fixed</notes>
14
  <authors><author><name>Anuj</name><user>anuj</user><email>farshwal.anujkumar11@gmail.com</email></author></authors>
15
  <date>2015-08-02</date>
16
+ <time>16:01:29</time>
17
+ <contents><target name="magecommunity"><dir name="AK"><dir name="Deliverytime"><dir name="Block"><dir name="Adminhtml"><dir name="Deliverytime"><dir name="Edit"><file name="Form.php" hash="5ace59a153c3621fbedc2c5f7854a70b"/><dir name="Tab"><file name="Form.php" hash="1c25653986ec142ddb19db706801ad54"/></dir><file name="Tabs.php" hash="1b65416653e5f84216242c9eafccfb83"/></dir><file name="Edit.php" hash="361c5b6b5c614320eba39eca4dd81bc3"/><file name="Grid.php" hash="1984f06cac4574c9db157bc76ecee2ef"/></dir><file name="Deliverytime.php" hash="f20ef348fefdf101ca8fe17438780bd8"/></dir><dir name="Onepage"><file name="Deliverytime.php" hash="3c8d5fafb498fded55c78acdedae1aba"/></dir><file name="Onepage.php" hash="d7450e65a2ea1e1a5007969d902d05df"/><dir name="Order"><file name="Info.php" hash="c2aeecac3c77c423ec1e2bf8f98de2ce"/></dir></dir><dir name="Helper"><file name="Data.php" hash="33ec6b37b0268508fea52cc09b246cea"/></dir><dir name="Model"><file name="Deliverytime.php" hash="c09c24e313885a50a8a35bc3c810b885"/><dir name="Mysql4"><dir name="Deliverytime"><file name="Collection.php" hash="3661876ce4e7426cc41273e17191b7c9"/></dir><file name="Deliverytime.php" hash="36812a4731046111b8e1ca8aec6d0e9a"/><dir name="Timeslot"><file name="Collection.php" hash="2139832e3b6bafdc0013eb606205a1ed"/></dir><file name="Timeslot.php" hash="9356903fd7c8e9811c414a170becdaa6"/></dir><dir name="Observer"><file name="Timeslot.php" hash="07b153b43f80abef3f75d0882d73ba3e"/></dir><file name="Observer.php" hash="0b4a1f819be3b235c8aeae36d171f3b6"/><file name="Timeslot.php" hash="1c8fdd97d26da9617c0103dfb8fe7f55"/><dir name="Type"><file name="Onepage.php" hash="2913cd6707a004437ec4b1511bb3e0ce"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeliverytimeController.php" hash="26917093d1030e2d20e91ec53b3391a6"/></dir><file name="OnepageController.php" hash="83c0a7f13f1b80d2bce7942a1622aa10"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8ed611390b9a5fd103c884c1a7b9708d"/><file name="config.xml" hash="7f18a4496bc0bc3d23d3a759f69d0856"/><file name="system.xml" hash="11f9501f74d5118ce7e0cef8a327bf9b"/></dir><dir name="sql"><dir name="deliverytime_setup"><file name="mysql4-install-0.1.0.php" hash="94ce157ebc97d9d8b42d46f464ea211b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverytime.xml" hash="ebd97284b9084c239e17d709b4238ade"/></dir><dir name="template"><dir name="deliverytime"><file name="info.phtml" hash="de2d5ea83bb2f0498529c06c2b636345"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="deliverytime.xml" hash="f1338c59574b577d7bbb95d4dc364ba1"/></dir><dir name="template"><dir name="checkout"><dir name="onepage"><file name="deliverytime.phtml" hash="0be63a68791717acc19b2f2b4085b04f"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="deliverytime"><file name="checkout.css" hash="9a587bbabcece7ec2a38cdb6593630dc"/><file name="jquery.min.js" hash="3aca71161761a81fc3c08613f52f26f0"/><file name="timeslot.js" hash="441dacb6e7368be1fc5f11789b35f6e6"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="timepicker"><dir name="Default"><file name="sprite.png" hash="d7b7517105d8a711497bf685b0287765"/></dir><file name="init.js" hash="d504045a6ea6a8ca1227e77bff4781a8"/><file name="jquery.min.js" hash="3aca71161761a81fc3c08613f52f26f0"/><file name="kendo.all.min.js" hash="5ae63a4c68a0bca05e41cd1c7aafee89"/><file name="kendo.common.min.css" hash="c3cc80c317a96a4393e668fd423342ab"/><file name="kendo.dataviz.default.min.css" hash="cfec0625dde1068345ebae74b69bd0cc"/><file name="kendo.dataviz.min.css" hash="f26f96e5c0d8fffa3401eac9d65d87d9"/><file name="kendo.default.min.css" hash="56a26ee08df42db1cc173f288f421bf6"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AK_Deliverytime.xml" hash="80878efefcc642356866c6ce7ab69e04"/></dir></target></contents>
18
  <compatible/>
19
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.5.0.0</min><max>1.9.2.0</max></package><extension><name>gd</name><min>2.0.28</min><max>3.0</max></extension></required></dependencies>
20
  </package>