Version Notes
free
Download this release
Release Info
Developer | YoungJun |
Extension | Esellers_Ipay |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- app/design/frontend/base/default/template/ipay/available.phtml +117 -71
- app/design/frontend/base/default/template/ipay/billing.phtml +218 -156
- app/design/frontend/base/default/template/ipay/button.phtml +42 -23
- app/design/frontend/base/default/template/ipay/cart.phtml +437 -241
- app/design/frontend/base/default/template/ipay/footer.phtml +34 -19
- app/design/frontend/base/default/template/ipay/info.phtml +83 -54
- app/design/frontend/base/default/template/ipay/ipay.phtml +35 -18
- app/design/frontend/base/default/template/ipay/ipayInfo.phtml +86 -62
- app/design/frontend/base/default/template/ipay/ipayInfo_.phtml +86 -60
- app/design/frontend/base/default/template/ipay/ipayservice.phtml +6 -11
- app/design/frontend/base/default/template/ipay/item.phtml +238 -261
- app/design/frontend/base/default/template/ipay/links.phtml +42 -29
- app/design/frontend/base/default/template/ipay/methods.phtml +81 -45
- app/design/frontend/base/default/template/ipay/overview.phtml +256 -151
- app/design/frontend/base/default/template/ipay/progress.phtml +116 -54
- app/design/frontend/base/default/template/ipay/success.phtml +75 -64
- app/design/frontend/base/default/template/ipay/totals.phtml +40 -17
- package.xml +3 -3
app/design/frontend/base/default/template/ipay/available.phtml
CHANGED
@@ -1,72 +1,118 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php /** @var $this Mage_Checkout_Block_Onepage_Shipping_Method_Available */ ?>
|
28 |
+
<?php
|
29 |
+
$locale = Mage::app()->getLocale()->getLocaleCode();
|
30 |
+
?>
|
31 |
+
<?php $_shippingRateGroups = $this->getShippingRates(); ?>
|
32 |
+
<?php if (!$_shippingRateGroups): ?>
|
33 |
+
<p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
|
34 |
+
<?php else: ?>
|
35 |
+
<dl class="sp-methods">
|
36 |
+
<?php $shippingCodePrice = array(); ?>
|
37 |
+
<?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
38 |
+
<?php if($code=="ipay" && (Mage::getStoreConfig('payment/ipay/active')!=1) ):?>
|
39 |
+
<?php continue;?>
|
40 |
+
<?php endif?>
|
41 |
+
|
42 |
+
<?php if($code=="ipay" && $locale!="ko_KR" ):?>
|
43 |
+
<?php continue;?>
|
44 |
+
<?php endif?>
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
49 |
+
<dd>
|
50 |
+
<ul>
|
51 |
+
<?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
|
52 |
+
<?php $shippingCodePrice[] = "'".$_rate->getCode()."':".(float)$_rate->getPrice(); ?>
|
53 |
+
<li>
|
54 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
55 |
+
<ul class="messages"><li class="error-msg"><ul><li><?php echo $this->escapeHtml($_rate->getErrorMessage()) ?></li></ul></li></ul>
|
56 |
+
<?php else: ?>
|
57 |
+
<?php if ($_sole) : ?>
|
58 |
+
<span class="no-display"><input name="shipping_method" type="radio" checked value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
|
59 |
+
<?php else: ?>
|
60 |
+
<input name="shipping_method" type="radio" checked value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
|
61 |
+
|
62 |
+
<?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
|
66 |
+
//]]>
|
67 |
+
</script>
|
68 |
+
<?php endif; ?>
|
69 |
+
|
70 |
+
<?php endif; ?>
|
71 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
72 |
+
<?php if($_rate->getCode()!="ipay_ipay"):?>
|
73 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
74 |
+
<?php endif?>
|
75 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
76 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
77 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
78 |
+
<?php endif; ?>
|
79 |
+
</label>
|
80 |
+
<?php endif ?>
|
81 |
+
</li>
|
82 |
+
<?php endforeach; ?>
|
83 |
+
</ul>
|
84 |
+
</dd>
|
85 |
+
|
86 |
+
|
87 |
+
<?php endforeach; ?>
|
88 |
+
|
89 |
+
</dl>
|
90 |
+
<script type="text/javascript">
|
91 |
+
//<![CDATA[
|
92 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
93 |
+
var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
|
94 |
+
<?php endif; ?>
|
95 |
+
|
96 |
+
$$('input[type="radio"][name="shipping_method"]').each(function(el){
|
97 |
+
Event.observe(el, 'click', function(){
|
98 |
+
if (el.checked == true) {
|
99 |
+
var getShippingCode = el.getValue();
|
100 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
101 |
+
var newPrice = shippingCodePrice[getShippingCode];
|
102 |
+
if (!lastPrice) {
|
103 |
+
lastPrice = newPrice;
|
104 |
+
quoteBaseGrandTotal += newPrice;
|
105 |
+
}
|
106 |
+
if (newPrice != lastPrice) {
|
107 |
+
quoteBaseGrandTotal += (newPrice-lastPrice);
|
108 |
+
lastPrice = newPrice;
|
109 |
+
}
|
110 |
+
<?php endif; ?>
|
111 |
+
checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
112 |
+
return false;
|
113 |
+
}
|
114 |
+
});
|
115 |
+
});
|
116 |
+
//]]>
|
117 |
+
</script>
|
118 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/ipay/billing.phtml
CHANGED
@@ -1,157 +1,219 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $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 $this->__('Loading next step...') ?>" title="<?php echo $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>
|
217 |
+
<?php
|
218 |
+
echo "ipay:".$ipay;
|
219 |
+
?>
|
app/design/frontend/base/default/template/ipay/button.phtml
CHANGED
@@ -1,24 +1,43 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
AqLBSEPVVO4gHaj0bvVC1DHrJqBHKjtPe+3o3IoaapJlAyPD/PIqlt0pEECYXPcsDpKArvkUiBc2
|
21 |
-
+ftrmDbPM6R3x0+dFWV34INHJDrLEHJ7mlyJSV9d849pz2l2K1DA/snhKOeaNIpREdE9hTIBzg9n
|
22 |
-
IU0rBlV6iMi2J5hEzc+vq0amUT9+I36U/qcFkU+LFsAg7PrNNMZm/ofHbwGOeAUgrMVjANi+gBOn
|
23 |
-
xDDAxYGqXZzGiQUBnkI/D7V4HKmFI944s4xSvQPItmhtuyK4yaD3g/6+ApAcpz8iZqIyHFHDA76w
|
24 |
-
UQ3hXkGCe0RkAmiT6qF3HR/bfBTEsHRIdYr+HwxSri5R
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
$_helper = $this->helper('ipay/active');
|
27 |
?>
|
28 |
+
<?php
|
29 |
+
$paymethod = $_REQUEST["payment"];
|
30 |
+
|
31 |
+
if(Mage::getStoreConfig("payment/ipay/active") && $paymethod["method"]== "ipay"):
|
32 |
+
?>
|
33 |
+
<a href="#" onclick="showLoader('<?php echo Mage::getStoreConfig("web/unsecure/base_url")?>index.php/ipay/payment','ipay','width=500 height=500 scrollbars=yes')" ><img src="http://pics.auction.co.kr/ipay/btn/btn_ipay02.png" alt="<?php echo $this->__('IPay payment')?>" /></a>
|
34 |
+
<?php
|
35 |
+
else:
|
36 |
+
?>
|
37 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
38 |
+
<?php
|
39 |
+
endif;
|
40 |
+
?>
|
41 |
+
|
42 |
+
|
43 |
+
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/cart.phtml
CHANGED
@@ -1,242 +1,438 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
|
28 |
+
|
29 |
+
<?php
|
30 |
+
class auctionSession
|
31 |
+
{
|
32 |
+
private $serverUrl;
|
33 |
+
private $soapAuction;
|
34 |
+
|
35 |
+
public function __construct($serverUrl, $soapAuction)
|
36 |
+
{
|
37 |
+
$this->serverUrl = $serverUrl;
|
38 |
+
$this->soapAuction = $soapAuction;
|
39 |
+
}
|
40 |
+
|
41 |
+
/** sendHttpRequest
|
42 |
+
Sends a HTTP request to the server for this session
|
43 |
+
Input: $requestBody
|
44 |
+
Output: The HTTP Response as a String
|
45 |
+
*/
|
46 |
+
public function sendHttpRequest($requestBody)
|
47 |
+
{
|
48 |
+
//build auction headers using variables passed via constructor
|
49 |
+
$headers = $this->buildAuctionHeaders(strlen($requestBody));
|
50 |
+
|
51 |
+
//initialise a CURL session
|
52 |
+
$connection = curl_init();
|
53 |
+
|
54 |
+
|
55 |
+
//set the server we are using (could be Sandbox or Production server)
|
56 |
+
curl_setopt($connection, CURLOPT_URL, $this->serverUrl);
|
57 |
+
|
58 |
+
//stop CURL from verifying the peer's certificate
|
59 |
+
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
|
60 |
+
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
|
61 |
+
|
62 |
+
//set the headers using the array of headers
|
63 |
+
curl_setopt($connection, CURLOPT_HTTPHEADER, $headers);
|
64 |
+
|
65 |
+
//set method as POST
|
66 |
+
curl_setopt($connection, CURLOPT_POST, 1);
|
67 |
+
|
68 |
+
//set the XML body of the request
|
69 |
+
curl_setopt($connection, CURLOPT_POSTFIELDS, $requestBody);
|
70 |
+
|
71 |
+
//set it to return the transfer as a string from curl_exec
|
72 |
+
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
|
73 |
+
|
74 |
+
//Send the Request
|
75 |
+
$response = curl_exec($connection);
|
76 |
+
|
77 |
+
//close the connection
|
78 |
+
curl_close($connection);
|
79 |
+
|
80 |
+
//return the response
|
81 |
+
return $response;
|
82 |
+
}
|
83 |
+
|
84 |
+
private function buildAuctionHeaders($requestBodyLength)
|
85 |
+
{
|
86 |
+
$headers = array (
|
87 |
+
"Content-Type: text/xml; charset=utf-8",
|
88 |
+
"Content-Length: $requestBodyLength",
|
89 |
+
"SOAPAction: $this->soapAuction"
|
90 |
+
);
|
91 |
+
|
92 |
+
return $headers;
|
93 |
+
}
|
94 |
+
}
|
95 |
+
?>
|
96 |
+
<?php
|
97 |
+
|
98 |
+
/*
|
99 |
+
* requestCartNo
|
100 |
+
* 상품정보를 전달하고 발급된 카트번호를 요청합니다.
|
101 |
+
* http://www.auction.co.kr/IpayService/Ipay/InsertIpayOrder
|
102 |
+
* 서비스 문의시에 Request SOAP과 Response SOAP을 보내주시면 됩니다.
|
103 |
+
* 옥션 API 개발자 커뮤니티 : http://api.auction.co.kr/developer
|
104 |
+
*/
|
105 |
+
class requestCartNo
|
106 |
+
{
|
107 |
+
private $serverUrl = "https://api.auction.co.kr/ArcheSystem/IpayService.asmx"; //실제 운영 서버 주소
|
108 |
+
private $action = "http://www.auction.co.kr/IpayService/Ipay/InsertIpayOrder";
|
109 |
+
private $ticket;
|
110 |
+
|
111 |
+
|
112 |
+
public function __construct($ticket){
|
113 |
+
$this->ticket = $ticket;
|
114 |
+
}
|
115 |
+
|
116 |
+
|
117 |
+
/*** 서비스를 실행(호출)한다.*/
|
118 |
+
public function doService($orderQuery){
|
119 |
+
|
120 |
+
// Set Request SOAP Message
|
121 |
+
$requestXmlBody = '<?xml version="1.0" encoding="utf-8"?> ';
|
122 |
+
$requestXmlBody .= '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> ';
|
123 |
+
$requestXmlBody .= ' <soap:Header> ';
|
124 |
+
$requestXmlBody .= ' <EncryptedTicket xmlns="http://www.auction.co.kr/Security"> ';
|
125 |
+
$requestXmlBody .= ' <Value>' . $this->ticket . '</Value> ';
|
126 |
+
$requestXmlBody .= ' </EncryptedTicket> ';
|
127 |
+
$requestXmlBody .= ' </soap:Header> ';
|
128 |
+
$requestXmlBody .= ' <soap:Body> ';
|
129 |
+
$requestXmlBody .= ' <InsertIpayOrder xmlns="http://www.auction.co.kr/IpayService/Ipay">';
|
130 |
+
$requestXmlBody .= $orderQuery;
|
131 |
+
$requestXmlBody .= '</InsertIpayOrder> ';
|
132 |
+
$requestXmlBody .= '</soap:Body> ';
|
133 |
+
$requestXmlBody .= '</soap:Envelope> ';
|
134 |
+
|
135 |
+
|
136 |
+
$requestXmlBody = str_replace("&", "&", $requestXmlBody);
|
137 |
+
|
138 |
+
|
139 |
+
// Load the XML Document to Print Request SOAP
|
140 |
+
$requestDoc = new DomDocument();
|
141 |
+
$requestDoc->loadXML($requestXmlBody);
|
142 |
+
|
143 |
+
// Print Request SOAP
|
144 |
+
//echo "<PRE>";
|
145 |
+
//echo "<STRONG>* REQUEST SOAP</STRONG><BR>";
|
146 |
+
//echo htmlentities ($requestDoc->saveXML());
|
147 |
+
//echo "</PRE>";
|
148 |
+
|
149 |
+
|
150 |
+
//Create a new auction session with all details pulled in from included auctionSession.php
|
151 |
+
$session = new auctionSession($this->serverUrl, $this->action);
|
152 |
+
|
153 |
+
//echo $requestXmlBody;
|
154 |
+
//send the request and get response
|
155 |
+
$responseXml = $session->sendHttpRequest($requestXmlBody);
|
156 |
+
//echo "<BR>".$responseXml;
|
157 |
+
// Process Response
|
158 |
+
return $this->processResponse ($responseXml);
|
159 |
+
}
|
160 |
+
|
161 |
+
/**
|
162 |
+
* Request SOAP Message를 서버에 요청하고 받아온 Response SOAP Message를 가지고 처리한다.
|
163 |
+
* $responseXml : Response SOAP Message
|
164 |
+
*/
|
165 |
+
private function processResponse($responseXml){
|
166 |
+
|
167 |
+
if(stristr($responseXml, 'HTTP 404') || $responseXml == '') {
|
168 |
+
die('<P>$responseXml Error sending request');
|
169 |
+
} else {
|
170 |
+
//Xml string is parsed and creates a DOM Document object
|
171 |
+
$responseDoc = new DomDocument();
|
172 |
+
$responseDoc->loadXML($responseXml);
|
173 |
+
|
174 |
+
|
175 |
+
|
176 |
+
// Print Response SOAP
|
177 |
+
//echo "<PRE>";
|
178 |
+
//echo "<STRONG>* RESPONSE SOAP</STRONG><BR>";
|
179 |
+
//echo "<BR>".iconv("UTF-8", "EUC-KR", urldecode (htmlentities ($responseDoc->saveXML(), ENT_NOQUOTES, "UTF-8")) );
|
180 |
+
//echo "</PRE>";
|
181 |
+
|
182 |
+
|
183 |
+
// Error
|
184 |
+
$eleFaultcode = $responseDoc->getElementsByTagName('faultcode')->item(0);
|
185 |
+
$eleFaultstring = $responseDoc->getElementsByTagName('faultstring')->item(0);
|
186 |
+
$eleResult = $responseDoc->getElementsByTagName('InsertIpayOrderResult')->item(0);
|
187 |
+
|
188 |
+
if ((empty($eleFaultcode)) && (!empty($eleResult)))
|
189 |
+
{
|
190 |
+
return $eleResult->firstChild->nodeValue;
|
191 |
+
}
|
192 |
+
else{
|
193 |
+
$this->processError($eleFaultcode, $eleFaultstring);
|
194 |
+
}
|
195 |
+
}
|
196 |
+
return "";
|
197 |
+
}
|
198 |
+
|
199 |
+
|
200 |
+
/**
|
201 |
+
* 에러 처리를 한다.
|
202 |
+
* $eleFaultcode : 오류 코드 메시지
|
203 |
+
* $eleFaultstring : 오류 메시지
|
204 |
+
*/
|
205 |
+
private function processError($eleFaultcode, $eleFaultstring){
|
206 |
+
if ($eleFaultcode != null) echo "faultcode : ".iconv("UTF-8", "EUC-KR", urldecode (htmlentities ($eleFaultcode->nodeValue, ENT_NOQUOTES, "UTF-8")))."<BR>";
|
207 |
+
if ($eleFaultstring != null) echo "faultstring : ".iconv("UTF-8", "EUC-KR", urldecode (htmlentities ($eleFaultstring->nodeValue, ENT_NOQUOTES, "UTF-8")))."<BR>";
|
208 |
+
}
|
209 |
+
}
|
210 |
+
?>
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
<?php
|
215 |
+
/**
|
216 |
+
* Shopping cart template
|
217 |
+
*
|
218 |
+
* @see Mage_Checkout_Block_Cart
|
219 |
+
*/
|
220 |
+
?>
|
221 |
+
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
<div class="cart">
|
226 |
+
<div class="page-title title-buttons">
|
227 |
+
<?php if(!$this->hasError()): ?>
|
228 |
+
<ul class="checkout-types">
|
229 |
+
<?php foreach ($this->getMethods('top_methods') as $method): ?>
|
230 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
231 |
+
<li><?php echo $methodHtml; ?></li>
|
232 |
+
<?php endif; ?>
|
233 |
+
<?php endforeach; ?>
|
234 |
+
</ul>
|
235 |
+
<?php endif; ?>
|
236 |
+
</div>
|
237 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
238 |
+
<?php echo $this->getChildHtml('form_before') ?>
|
239 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
240 |
+
<fieldset>
|
241 |
+
<table id="shopping-cart-table" class="data-table cart-table">
|
242 |
+
<col width="1" />
|
243 |
+
<col />
|
244 |
+
<col width="1" />
|
245 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
246 |
+
<col width="1" />
|
247 |
+
<?php endif ?>
|
248 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
249 |
+
<col width="1" />
|
250 |
+
<?php endif; ?>
|
251 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
252 |
+
<col width="1" />
|
253 |
+
<?php endif; ?>
|
254 |
+
<col width="1" />
|
255 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
256 |
+
<col width="1" />
|
257 |
+
<?php endif; ?>
|
258 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
259 |
+
<col width="1" />
|
260 |
+
<?php endif; ?>
|
261 |
+
<col width="1" />
|
262 |
+
|
263 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
264 |
+
<thead>
|
265 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
266 |
+
<tr>
|
267 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
268 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
269 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
270 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
271 |
+
</tr>
|
272 |
+
<?php endif; ?>
|
273 |
+
</thead>
|
274 |
+
<tbody>
|
275 |
+
|
276 |
+
|
277 |
+
|
278 |
+
<?php
|
279 |
+
|
280 |
+
$itemsQuery = "<ITEMS>";
|
281 |
+
|
282 |
+
|
283 |
+
/*
|
284 |
+
' 상품셋팅정보 작성
|
285 |
+
*/
|
286 |
+
/*
|
287 |
+
$ticket = API 인증티켓;
|
288 |
+
$price = 상품가격;
|
289 |
+
$sellerid = 이용자 아이디
|
290 |
+
*/
|
291 |
+
|
292 |
+
$quote = Mage::getSingleton('checkout/cart')->getQuote();
|
293 |
+
$totals = $quote->getTotals();
|
294 |
+
|
295 |
+
$address = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getData();
|
296 |
+
|
297 |
+
$method = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod();
|
298 |
+
$shipfee = Ceil(Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount());
|
299 |
+
|
300 |
+
//$shipfee = Mage::getStoreConfig("carriers/ipay/handling_fee");
|
301 |
+
|
302 |
+
$paymethod = Mage::getStoreConfig("payment/ipay/ipay_payment_method");
|
303 |
+
$ticket = Mage::getStoreConfig("payment/ipay/certification");
|
304 |
+
$sellerid = Mage::getStoreConfig("payment/ipay/auctionid");
|
305 |
+
if($title=="ipay_ipay")
|
306 |
+
$shiptype=2;
|
307 |
+
else if($title=="freeshipping_freeshipping")
|
308 |
+
$shiptype=1;
|
309 |
+
else
|
310 |
+
$shiptype=3;
|
311 |
+
|
312 |
+
if($ticket != "" && $sellerid !="" ){
|
313 |
+
if($shiptype==1 || $shiptype==2)
|
314 |
+
$shipfee=0;
|
315 |
+
|
316 |
+
$price=0;
|
317 |
+
|
318 |
+
foreach($this->getItems() as $_item){
|
319 |
+
$optionValue="";
|
320 |
+
$this->getItemHtml($_item);
|
321 |
+
$renderer = $this->getItemRenderer($_item->getProductType());
|
322 |
+
if ($_options = $renderer->getOptionList()){
|
323 |
+
foreach ($_options as $_option){
|
324 |
+
$_formatedOptionValue = $renderer->getFormatedOptionValue($_option);
|
325 |
+
$optionValue .= $renderer->htmlEscape($_option['label']);
|
326 |
+
$optionValue .= "(".$_formatedOptionValue['value'].")";
|
327 |
+
|
328 |
+
if (isset($_formatedOptionValue['full_view'])){
|
329 |
+
$optionValue .= $_option['label'] ;
|
330 |
+
$optionValue .= $_formatedOptionValue['full_view'];
|
331 |
+
}
|
332 |
+
}
|
333 |
+
}
|
334 |
+
|
335 |
+
$sum += ((int)$_item->getCalculationPrice())*$_item->getQty();
|
336 |
+
$price = Mage::getModel('directory/currency')->formatTxt($sum,array('display' => Zend_Currency::NO_SYMBOL,'precision'=>0));
|
337 |
+
$item_price = Mage::getModel('directory/currency')->formatTxt(((int)$_item->getCalculationPrice()),array('display' => Zend_Currency::NO_SYMBOL, 'precision' => 0));
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
|
342 |
+
$itemName = str_replace("'","",$_item->getProduct()->getName());
|
343 |
+
$itemName = str_replace("\"","",$_item->getProduct()->getName());
|
344 |
+
|
345 |
+
$itemName = $_item->getProduct()->getName();
|
346 |
+
$itemName = preg_replace("/[ #\&\+\-%@=\/\\\:;,\.'\"\^`~\_|\!\?\*$#<>()\[\]\{\}]/i", "", $_item->getProduct()->getName());
|
347 |
+
|
348 |
+
$itemsQuery = $itemsQuery
|
349 |
+
. "<IpayServiceItems item_name=" . "\""."$itemName"."\""
|
350 |
+
. " ipay_itemno=" . "'".$_item->getProduct()->getId()."'"
|
351 |
+
. " item_option_name=" . "''"
|
352 |
+
. " item_price='" . str_replace(",","",$item_price) . "'"
|
353 |
+
. " order_qty='". $_item->getQty() ."'"
|
354 |
+
. " item_url=" . "'".Mage::getStoreConfig("web/unsecure/base_url")."'"
|
355 |
+
. " partner_code='ESELLERS'"
|
356 |
+
. " thumbnail_url=" . "'".Mage::getBaseUrl('media')."catalog/product".Mage::getModel('catalog/product')->load($_item->getProductId())->getThumbnail()."'" . "/> ";
|
357 |
+
}
|
358 |
+
echo $itemQuery;
|
359 |
+
}else{
|
360 |
+
echo "<script>alert('There is no certified key or auction id');window.close()</script>";
|
361 |
+
}
|
362 |
+
?>
|
363 |
+
</tbody>
|
364 |
+
</table>
|
365 |
+
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
366 |
+
</fieldset>
|
367 |
+
</form>
|
368 |
+
|
369 |
+
</div>
|
370 |
+
|
371 |
+
|
372 |
+
|
373 |
+
<?php
|
374 |
+
if($totals["discount"]){
|
375 |
+
$discount = (-1)*str_replace(",","",$totals["discount"]->getValue());
|
376 |
+
$discount_str="discount_price='$discount'";
|
377 |
+
}else{
|
378 |
+
$discount =0;
|
379 |
+
$discount_str="";
|
380 |
+
}
|
381 |
+
|
382 |
+
$price = str_replace(",","",$price) + $shipfee ;
|
383 |
+
$customerAddressId = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling();
|
384 |
+
$customer = Mage::getSingleton('customer/session');
|
385 |
+
$customerData = Mage::getModel('customer/customer')->load($customer->getId())->getData();
|
386 |
+
|
387 |
+
$buyer_name=$customerData["lastname"]." ". $customerData["firstname"];
|
388 |
+
$buyer_email=$customerData["email"];
|
389 |
+
$buyer_tel_no= $address["telephone"];
|
390 |
+
//$buyer_tel_no="010-3013-8872";
|
391 |
+
//echo $buyer_email;
|
392 |
+
|
393 |
+
/* 상품정보 xml 셋팅 */
|
394 |
+
$address_required=Mage::getStoreConfig("payment/ipay/address_required");
|
395 |
+
|
396 |
+
$address_required_flag="true";
|
397 |
+
if($address_required==0)
|
398 |
+
$address_required_flag="false";
|
399 |
+
else
|
400 |
+
$address_required_flag="true";
|
401 |
+
|
402 |
+
$orderQuery = "<ORDER payment_rule='$paymethod' pay_price='$price' shipping_price='$shipfee' $discount_str shipping_type='$shiptype' back_url='www.url.co.kr' service_url='www.url.com/receiveXml.asp' redirect_url='".Mage::getStoreConfig("web/unsecure/base_url")."ipay/payment/review' move_to_redirect_url='true' buyer_name='$buyer_name' buyer_email='$buyer_email' buyer_tel_no='$buyer_tel_no' is_address_required='$address_required_flag'/>";
|
403 |
+
|
404 |
+
$orderQuery = $orderQuery . $itemsQuery . "</ITEMS>";
|
405 |
+
echo $orderQuery;
|
406 |
+
$requestCartNo = new requestCartNo ($ticket);
|
407 |
+
|
408 |
+
//echo "resultCode:".$requestCartNo."<BR>";
|
409 |
+
$requestResult = $requestCartNo->doService($orderQuery); // 서비스를 호출하고 새 카트번호를 가져온다
|
410 |
+
|
411 |
+
?>
|
412 |
+
<html>
|
413 |
+
<body>
|
414 |
+
<form name="frm" method="get" action="https://ssl.auction.co.kr/ipay/IpayStdOrder.aspx">
|
415 |
+
<input type="hidden" name="cartnos" value="<?php echo $requestResult ?>">
|
416 |
+
<input type="hidden" name="sellerid" value="<?php echo $sellerid ?>">
|
417 |
+
<input type="hidden" name="price" value="<?php echo $price ?>">
|
418 |
+
<p align=center>
|
419 |
+
<img name=:myImg src="loading.gif" style="border:0"/><br />
|
420 |
+
|
421 |
+
<b>Please Wait a Minute...</b>
|
422 |
+
</p>
|
423 |
+
</form>
|
424 |
+
<br /><br /><br /><br />
|
425 |
+
</body>
|
426 |
+
<script>
|
427 |
+
document.frm.submit();
|
428 |
+
</script>
|
429 |
+
</html>
|
430 |
+
|
431 |
+
|
432 |
+
<?php
|
433 |
+
function debug($data){
|
434 |
+
print "<div style='background:#000000;color:#00ff00;padding:10px;text-align:left'><xmp style=\"font:8pt 'Courier New'\">";
|
435 |
+
print_r($data);
|
436 |
+
print "</xmp></div>";
|
437 |
+
}
|
438 |
+
?>
|
app/design/frontend/base/default/template/ipay/footer.phtml
CHANGED
@@ -1,19 +1,34 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="footer-container">
|
29 |
+
<div class="footer">
|
30 |
+
<?php echo $this->getChildHtml() ?>
|
31 |
+
<p class="bugs"><?php echo $this->__('H1elp Us to1 Keep Magento Healthy') ?> - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'"><strong><?php echo $this->__('Report All Bugs') ?></strong></a> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?></p>
|
32 |
+
<address><?php echo $this->getCopyright() ?></address>
|
33 |
+
</div>
|
34 |
+
</div>
|
app/design/frontend/base/default/template/ipay/info.phtml
CHANGED
@@ -1,55 +1,84 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php 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 $this->__('Submitting order information...') ?>" title="<?php echo $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/ipay/ipay.phtml
CHANGED
@@ -1,19 +1,36 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
fv8Dw6LzFSy8fUm6NFz4tQAhmX+XsH9RR6vwPeeSn70H15zjYQ9QscQX6s++FcxAtxenBUbTKe14
|
9 |
-
Qec5wrHOIzRmAt/MK2ibvi/VJPGwPzNgVYQJPtqapUmEk2K4J1kEsTH4nKMKHy3dMXaunyxYPK4U
|
10 |
-
nyipK0cins9lTCWorSEP1hq3W4j/GhRasjOPNJACrcURVSP6xfCLiOjzLHnXq6bIdYDMdyL153Cs
|
11 |
-
HmnyhcKeRTBYW7MnOih3mmN8IvZk+SJHAQNjsLblvJvMUyYmRyHk8pxrJbJosQDDm42vlAG5zXwv
|
12 |
-
me+hLa5tMBXsW2/bVx40lEwN42khWftisj1b/U6QfgQkM/aurdtjDkba7F72C6MYA8birRm6v+6P
|
13 |
-
82zgq/4b8oyrbPEkZ3Q4+15/so4r5sDpLGujx3Y7PbPbi7ZRUTop0WeQYyrqcoTWVjQ7krZLWYl+
|
14 |
-
7eOU46wMwbBKQaBoU6WSnIjJJrjPxJOUOOacFj4/ZE8DKPoSdvQbaK0rCBS/P19TLdS+NS8VlIAn
|
15 |
-
4fGau3tybDYiPyJTUk26ev6xTp7w8oUIRAO1EwXa5v6616Bwe4TnkGw2C2liIl3caOT+0taqRtkN
|
16 |
-
Dsa4xv62KqQSUG7RqXMGVbX7yo4Dx/qbQSuM9Z9usvIugGqFAq8C3Bqsp/xRWENdzPc8FpHU/Bhp
|
17 |
-
hw8/VpupInjIJ8J59E1uNPiYgIvQ9/V6zYF9lDyixEefazv3DxE8ykJq01lJFMg7pB1FBo5DQZjv
|
18 |
-
DvzvXxf9Frmt1ayfPaXKunfE5R4Z1Y1bjgkEZ3NsV4dly+as34F0GyMucj/+p2HQKKpONyQJlzGh
|
19 |
-
Gky=
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* esellers LLC.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://esellers.co.kr/esellers-LICENSE-COMMUNITY.txt
|
11 |
+
*
|
12 |
+
/***************************************
|
13 |
+
* MAGENTO EDITION USAGE NOTICE *
|
14 |
+
*****************************************/
|
15 |
+
/* This package designed for Magento COMMUNITY edition
|
16 |
+
* esellers does not guarantee correct work of this extension
|
17 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* esellers does not provide extension support in case of
|
19 |
+
* incorrect edition usage.
|
20 |
+
/***************************************
|
21 |
+
* DISCLAIMER *
|
22 |
+
*****************************************/
|
23 |
+
/* Do not edit or add to this file if you wish to upgrade Magento to newer
|
24 |
+
* versions in the future.
|
25 |
+
*****************************************************
|
26 |
+
* @category Esellers
|
27 |
+
* @package Esellers_Ipay
|
28 |
+
* @copyright Copyright (c) 2010 - 2011 esellers LLC. (http://www.belvg.com)
|
29 |
+
* @license http://esellers.co.kr/esellers-LICENSE-COMMUNITY.txt
|
30 |
+
*/
|
31 |
+
$_helper = $this->helper('ipay/active');
|
32 |
?>
|
33 |
+
|
34 |
+
<button type="button" title="<?php echo $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>
|
35 |
+
|
36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/ipayInfo.phtml
CHANGED
@@ -1,63 +1,87 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
include "ipaySession.php";
|
29 |
+
### 배열/클래스 출력 함수
|
30 |
+
if (!function_exists('debug')) {
|
31 |
+
function debug($data){
|
32 |
+
print "<div style='background:#000000;color:#00ff00;padding:10px;text-align:left'><xmp style=\"font:8pt 'Courier New'\">";
|
33 |
+
print_r($data);
|
34 |
+
print "</xmp></div>";
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
$payNo = $_REQUEST["ipayno"];
|
40 |
+
|
41 |
+
|
42 |
+
$ticket = Mage::getStoreConfig("payment/ipay/certification");
|
43 |
+
|
44 |
+
$auctionid = Mage::getStoreConfig("payment/ipay/auctionid");
|
45 |
+
|
46 |
+
$requestOrderNo = new requestOrderNo ($ticket,$auctionid);
|
47 |
+
|
48 |
+
$array = $requestOrderNo->getPayInfo($ticket,$payNo);
|
49 |
+
$result = $array["soap:Envelope"]["soap:Body"]["GetIpayAccountNumbResponse"]["GetIpayAccountNumbResult_attr"];
|
50 |
+
$payment = Mage::getModel("ipay/ipay");
|
51 |
+
|
52 |
+
$write = Mage::getSingleton("core/resource")->getConnection("core_write");
|
53 |
+
$session = Mage::getSingleton("checkout/session")->getQuote()->getId();
|
54 |
+
|
55 |
+
$query = "insert into ipay (auction_order_no, ipay_cart_no, orderdate, paydate,payprice,payment_type,auction_pay_no,quote_id,auction_item_no) ";
|
56 |
+
$query.= " values (:OrderNo, :IpayCartNo, :InsDate, :PayDate, :PayPrice, :PaymentType, :PayNo,'$session',:ItemNos)";
|
57 |
+
|
58 |
+
$result2 = array("OrderNo"=> $result["AuctionOrderNos"],
|
59 |
+
"IpayCartNo"=>$result["IpayCartNo"],
|
60 |
+
"InsDate"=>$result["InsDate"],
|
61 |
+
"PayDate"=>$result["PayDate"],
|
62 |
+
"PayPrice"=>$result["PayPrice"],
|
63 |
+
"PaymentType"=>$result["PaymentType"],
|
64 |
+
"PayNo"=>$result["PayNo"],
|
65 |
+
"ItemNos"=>$result["ItemNos"]);
|
66 |
+
$write->query($query, $result2);
|
67 |
+
|
68 |
+
|
69 |
+
$data=array("domain"=>Mage::getStoreConfig("web/unsecure/base_url"),"cost"=>$result["PayPrice"],"shipfee"=>$result["ShippingPrice"],"orderno"=>$result["AuctionOrderNos"]);
|
70 |
+
$s=serialize($data);
|
71 |
+
?>
|
72 |
+
|
73 |
+
<iframe name="ifr" id="ifr" src='http://sales.magentokorea.co.kr/payment.php?data=<?php echo $s?>' width="0"></iframe>
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
<div id="checkout-review-submit">
|
78 |
+
<script type="text/javascript">
|
79 |
+
//<![CDATA[
|
80 |
+
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/orderno/$result[OrderNo]") ?>', $('checkout-agreements'));
|
81 |
+
//]]>
|
82 |
+
</script>
|
83 |
+
</div>
|
84 |
+
<script>
|
85 |
+
opener.review.save();
|
86 |
+
window.close();
|
87 |
+
</script>
|
app/design/frontend/base/default/template/ipay/ipayInfo_.phtml
CHANGED
@@ -1,61 +1,87 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
include "ipaySession.php";
|
29 |
+
### 배열/클래스 출력 함수
|
30 |
+
if (!function_exists('debug')) {
|
31 |
+
function debug($data){
|
32 |
+
print "<div style='background:#000000;color:#00ff00;padding:10px;text-align:left'><xmp style=\"font:8pt 'Courier New'\">";
|
33 |
+
print_r($data);
|
34 |
+
print "</xmp></div>";
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
$payNo = $_REQUEST["ipayno"];
|
40 |
+
|
41 |
+
|
42 |
+
$ticket = Mage::getStoreConfig("payment/ipay/certification");
|
43 |
+
|
44 |
+
$auctionid = Mage::getStoreConfig("payment/ipay/auctionid");
|
45 |
+
|
46 |
+
$requestOrderNo = new requestOrderNo ($ticket,$auctionid);
|
47 |
+
|
48 |
+
$array = $requestOrderNo->getPayInfo($ticket,$payNo);
|
49 |
+
$result = $array["soap:Envelope"]["soap:Body"]["GetIpayAccountNumbResponse"]["GetIpayAccountNumbResult_attr"];
|
50 |
+
$payment = Mage::getModel("ipay/ipay");
|
51 |
+
|
52 |
+
$write = Mage::getSingleton("core/resource")->getConnection("core_write");
|
53 |
+
$session = Mage::getSingleton("checkout/session")->getQuote()->getId();
|
54 |
+
|
55 |
+
$query = "insert into ipay (auction_order_no, ipay_cart_no, orderdate, paydate,payprice,payment_type,auction_pay_no,quote_id,auction_item_no) ";
|
56 |
+
$query.= " values (:OrderNo, :IpayCartNo, :InsDate, :PayDate, :PayPrice, :PaymentType, :PayNo,'$session',:ItemNos)";
|
57 |
+
|
58 |
+
$result2 = array("OrderNo"=> $result["AuctionOrderNos"],
|
59 |
+
"IpayCartNo"=>$result["IpayCartNo"],
|
60 |
+
"InsDate"=>$result["InsDate"],
|
61 |
+
"PayDate"=>$result["PayDate"],
|
62 |
+
"PayPrice"=>$result["PayPrice"],
|
63 |
+
"PaymentType"=>$result["PaymentType"],
|
64 |
+
"PayNo"=>$result["PayNo"],
|
65 |
+
"ItemNos"=>$result["ItemNos"]);
|
66 |
+
$write->query($query, $result2);
|
67 |
+
|
68 |
+
|
69 |
+
$data=array("domain"=>Mage::getStoreConfig("web/unsecure/base_url"),"cost"=>$result["PayPrice"],"shipfee"=>$result["ShippingPrice"],"orderno"=>$result["AuctionOrderNos"]);
|
70 |
+
$s=serialize($data);
|
71 |
+
?>
|
72 |
+
|
73 |
+
<iframe name="ifr" id="ifr" src='http://sales.magentokorea.co.kr/payment.php?data=<?php echo $s?>' width="0"></iframe>
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
<div id="checkout-review-submit">
|
78 |
+
<script type="text/javascript">
|
79 |
+
//<![CDATA[
|
80 |
+
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl("checkout/onepage/success/orderno/$result[OrderNo]") ?>', $('checkout-agreements'));
|
81 |
+
//]]>
|
82 |
+
</script>
|
83 |
+
</div>
|
84 |
+
<script>
|
85 |
+
opener.review.save();
|
86 |
+
window.close();
|
87 |
+
</script>
|
app/design/frontend/base/default/template/ipay/ipayservice.phtml
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
AxnYQnXPVnoqqb9E1ghOX0xcnVVQlBEMWOSh8JGlz72rVCCEW0wFtb+CfFFilGZ+ZtpXv9fnMGmS
|
8 |
-
+rvkG1aQH0YDgWSO4/9S97xS77Tp4udxvgNdeOYrw5EO27oNe3ddy82z9VddGJdBteHcx/921uu8
|
9 |
-
zUEQ6mp5J3ysLPvFt572rka2lLD4pMF9rXU4L7OYrEMZsNiEy/N3754Dl8aRjWa5T6eXr0hZm9Oi
|
10 |
-
L4mzjwWLcPs1iG6o1iT6V0R8TIxA8FF67paH4G6+8q/7taJPazWNlZkf1FklRyj49CSjqBRDEOxf
|
11 |
-
zOJzw7Kidg8BayPLt4E7ZxMfM7hE
|
1 |
+
<?php echo $this->getChildHtml('content') ?>
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/item.phtml
CHANGED
@@ -1,262 +1,239 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
QrK3HshQmuuCUlP92bnA2vJyKQP//QpAoVBqTkstL/jaSKQdbo0f2qFUcZiz+bZ32wQLEV+bdN/d
|
218 |
-
Z+ifnnUzY6s749fwlvIEm/oFEswnMAIFfkmASv9XMj7tXfA8zdTQu15hBypkhCsEgvEsQ5FmvyZe
|
219 |
-
Dj0DQYwM+vh1p22nkCqjGJYrGGNrHq5c/I8aA32fwEsJsS9uyLeca8hgqo9DX3axK70FVwvAuOqL
|
220 |
-
LAgGQ0rQ7G8h2PHQIg6IbEsEmgCZnH9bMbDmPyAGcHF1vCAW3VRHBOuS2x2GJKcxIyCde4y/uqpm
|
221 |
-
xl3/dynvRRAkPN+oAWWp+GcQyW8p1/n4Y9Hzwrhoxp4bc1Pm97a5f8fE7t6+nnf1PzcxHIlBI2Ox
|
222 |
-
EACMKvCixFiRC9y4cFU50TKhR0DP0m4BTM0JwszUPElWllf0QhcXTFbD+F4QOrB1TjIM/vugwdAE
|
223 |
-
gGqccGxNE5jg2tSFmeMBeZ4ZBsg13Hg/GB4iMF9Vf5HYCBcTOh275J3d2k2nqF3mpisrzQJvUjd2
|
224 |
-
+lKss7nemEfsNRihf5Yb+jgZCN6JTWO2Lzc3luiHN8apBk2nymJcQBxCLijl0T3IkxHhIIiK0UWx
|
225 |
-
Q3DgTcJDt1T9RIJp5zyomHiLD8+4xlg9v0HPjSGfYQE0/IZ5PLvC864jIRTgbOW3whd7npxgTYkz
|
226 |
-
ou5ejwhiWpWK88hCkyGOq3ZXsjd3B5TLC23FNw769XuPjAJrjOGjfAaRxSWn/sBTl2mEwbL4Qm3/
|
227 |
-
/8So7yRivDvZtuJ01xESwYVsyu57jn7QUDCScaXZfV3BC1atGml+xNEyVNQshgjh0G8VEH+LmFKm
|
228 |
-
IMBrghZWpII5XXZJ7ktO56VGbcNeq5SY5uTTGlfEDC+E7qi1FvgdsAXni+0A2+nESKS1ZBMcrSfj
|
229 |
-
5oFwOJIGOqSmul1xBcL+EAjWm8Jhdb9qrhK+676BjwY+rwyl7Be8XUhUd5jwId1yHvxTmL9eZtaJ
|
230 |
-
iegYImp7s0xNnuyhqBIj3kONWFAIpJ+BKlcXhZ/S1LoU62qSDGRb6vF4sPwV+2p6aPprhgln4YTh
|
231 |
-
O6tZnVg08hzrex1/SWc4baUM65g9+/YaNM578V/lejvnw0qS27SeN/QMrpydR/9is2pbzIynuVwQ
|
232 |
-
8WEkQ58S5BmKQ/mK/BZszYL7koS7hfvl9axC5LyAtycV7chJoHlI9jdKwD0pDvYomIywT9v7b6oX
|
233 |
-
zsx2QKpKHanP8sf6mJ4mYVamyJeGXWr4SAv30Ma22RkfuKWEhNIQhkaWITvGniC98qJduBVZ1VK8
|
234 |
-
1/lqycaZf3t1JlhLr+gKMmUZqrPIBM+WIHzmftBxDPdQLu4JrS+//XvFpCNS1EfSKQveopCsWKKL
|
235 |
-
FycS3iF/4kDH7rbRvX/45VZJpYax1vl7mZ05yd3Ny7bYgYL8TrL9MaVGVpriT0LCsD9M3SooRp0g
|
236 |
-
T6nddtLuOJXsWE+3vPsX1IZP+On+WZ3d5UMt85b1yDbdgZ00mP8124FyGFXsUKTYdiEqT7QQbsL9
|
237 |
-
43Dov9Avnx64+IfdnNwBIzsHZAlE6rJqSFItTMADhhNuLxcMhtTvCW6L8dk3Ik5JG068PDxEtSWS
|
238 |
-
RFeLYjOHYlK/8llJMu+DdyIiSqsPQDiPr4JqpUlv4PxA9gpU9bXUO6j24f/tyCnB128gnS30gYe+
|
239 |
-
75jKCxg+1Fzn0hY0MqGuf8mITYSNFIAKvteKa0tFMYdXvikuDcIG6hP4c2hKBNlVbDaNJsZ9xKf5
|
240 |
-
QH5ITkv8kJ3wxxsq/+X365dIGmnqAzX4rhSxE9jhfbd//aSit/PoCru/UM5dn3I6dtp/TqyQM5vd
|
241 |
-
pbteE1HPDQ/KJmgHq/LTrE5Bc5RFdwIqDoLMXW5yFyVGVzg4dFK3U0u+BrlSeNI4hlFmQajZxQzn
|
242 |
-
eyxUVnDclxDB3Q1nEitlTLEr59tp7cCt7AuStbA57H61IU21tanzvnrEt5qDOHKIPCEKLtsjckzQ
|
243 |
-
Qit/RHq4oqP2GVSB8X5bUqMcMORjbSO/maeJdF8w549p1RkT6GT48Mslm8aQ4ZGTxu5poAS/OjaF
|
244 |
-
kCOm60xKq7HDkO4KM02LluATD6rYceFSFR56HH7jK7RZiq46x3eItWJcOYKeSPE5Su8TZvnfBG8W
|
245 |
-
hzHoRrVDe/9DeNM9/GNwc6RUu2MFL7rps7UvmKvjBI3uvNshRuTo21L9o5EKWBaotJPlc+w4dVLr
|
246 |
-
o7FCk7ukVH3PGGx3NH4wb9pdlBGlECLMUHgW6UGfwl02IecF1bAdNPv39LOB4hC9Tyk1U9zKV+fM
|
247 |
-
iQs1wNBXnDhupu9r8dXCCiOzDlRU8I5n4pwom2NuYa1+cDuEvrEVX+nMyVQhntN3PHObpgbLPABp
|
248 |
-
WgeTB4+xZMYD1UL1qtW7Rn1GThXF17RTLjr6qXTHGBxlXIRid9xZuZWH8/cmGc6zd/k5hwn/kJAF
|
249 |
-
ju/UNETLrcY1C1ZLgInsKVkrwBiZwvySQ2GmJTORMuaS4lno/xi9WAdgzRtIcdAJmoLAHc2RX1yH
|
250 |
-
j6FzQzgPSL6vT8STTn1A8y7tNKl6EUw/n6aiOc9aJzbkMfVfX7zXWjZY4MsOnMEwGvOMvOoRreb+
|
251 |
-
t+bcK5m3Mjkovk3Tc6QVoFFqEpzoGnbpUwhyxmlPkB7pqO+/j+0fLJzsbEokjT+mnNQ9+QU3IxZx
|
252 |
-
cdyTIcRaDOmeQzad07Jz84xJ95IJQDTcEt1bGNvrwFilWYE223uq2rtbvQCxsS4/7y07wwYBcxMf
|
253 |
-
mWNglbODV0J1H4vG0cUdWr5k7uvlu8mjyv6Mwp/m4uKcUduPo3xUFqTpmyWiSSQL5g5pdUXJySWz
|
254 |
-
AwAFs78LC2h/TGp8RwbpQGTixXFG6xF+2/CWGl3ryx9dM/HFI1qtWCvi1IKU05BU/+L3TMnCobsT
|
255 |
-
T1ZMFQJ2Fj7kQg7UQbOjKkWhZMtqLTfM5uLxN0lDMq+2FOBtlKS1YVtzueC8H62q1Dv53dbGR6gq
|
256 |
-
2qdRKZJoqvR8oqMtUe7H8K/NEyQBhJxpKTXTSTU1kxmmLlVW8CjJOvZs6RFpiM2FHTKAoUDMGCRP
|
257 |
-
5cBZL1RCLmWd5/jZ3yoR1Fm01CrcVufDG/ycB+VKKH5fZM+9L/SXLgHNbL27Y77+kxXctlOeg1zl
|
258 |
-
fy/u4eU3cKlWHd3SQkPDSWGYftxhCCPxCsKVNFZvA6R2P7zULTVcVGajiosCHysxDQSj6kEvAMl9
|
259 |
-
Z5NWtsSfs2bEjW+jn5WuWviPjB49G5zJ4ShdRqc76i4207F+vHbLdUfUCiPLxm4l+zQOC8H2l06z
|
260 |
-
5/PNxAvuV28TbAYc8VMxy+bt/NH21zdPNejVeD1UzcMhLR0nPnJbTKG6xIb4v240tPNY8sorM6hM
|
261 |
-
XAtNIz5SHUQD1Y4VYh6zGhG6tGQbMDFw+5MGmfSSNV9gpGOnzxg4JIAFo6icLhVJaK+giApKJDHI
|
262 |
-
hODwOnUgChYm2ltvRX4eKUQlU7WSuJ4J7QyBCMnp
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php $_item = $this->getItem()?>
|
28 |
+
<tr>
|
29 |
+
<td><h3 class="product-name"><?php echo $this->htmlEscape($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->htmlEscape($_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->htmlEscape($_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_incl_tax'],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_incl_tax'],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+$_item->getWeeeTaxAppliedAmount()); ?>
|
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'],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+$_item->getWeeeTaxAppliedAmount()); ?></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 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
147 |
+
<td class="a-right">
|
148 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
149 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
150 |
+
<?php else: ?>
|
151 |
+
<span class="cart-price">
|
152 |
+
<?php endif; ?>
|
153 |
+
|
154 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
155 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
156 |
+
<?php else: ?>
|
157 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
158 |
+
<?php endif; ?>
|
159 |
+
|
160 |
+
</span>
|
161 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
162 |
+
|
163 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
164 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
165 |
+
<small>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
167 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
168 |
+
<?php endforeach; ?>
|
169 |
+
</small>
|
170 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
172 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
173 |
+
<?php endforeach; ?>
|
174 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
175 |
+
<small>
|
176 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
177 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
178 |
+
<?php endforeach; ?>
|
179 |
+
</small>
|
180 |
+
<?php endif; ?>
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
184 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
185 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
186 |
+
</div>
|
187 |
+
<?php endif; ?>
|
188 |
+
<?php endif; ?>
|
189 |
+
</td>
|
190 |
+
<?php endif; ?>
|
191 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
192 |
+
<td>
|
193 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
194 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
195 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
196 |
+
<?php else: ?>
|
197 |
+
<span class="cart-price">
|
198 |
+
<?php endif; ?>
|
199 |
+
|
200 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
201 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
202 |
+
<?php else: ?>
|
203 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
|
206 |
+
</span>
|
207 |
+
|
208 |
+
|
209 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
210 |
+
|
211 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
212 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
213 |
+
<small>
|
214 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
215 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
216 |
+
<?php endforeach; ?>
|
217 |
+
</small>
|
218 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
219 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
220 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
221 |
+
<?php endforeach; ?>
|
222 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
223 |
+
<small>
|
224 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
225 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
226 |
+
<?php endforeach; ?>
|
227 |
+
</small>
|
228 |
+
<?php endif; ?>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
232 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
233 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
234 |
+
</div>
|
235 |
+
<?php endif; ?>
|
236 |
+
<?php endif; ?>
|
237 |
+
</td>
|
238 |
+
<?php endif; ?>
|
239 |
+
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/links.phtml
CHANGED
@@ -1,30 +1,43 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
IMW5tZtzhBvncJw01s58d0yKUjsAxRF/Y5jyIvJCEjMgQvZygWhhrEuwtyHq/q6IXyMkjV/PdpU0
|
22 |
-
Zf890t//EVkAGP+X90F1dGSnZ2lujvSjdrZ8pV0d+7EMvhnz5od4CvKseY/wKYe/XMJzFH5jxtJh
|
23 |
-
OetLwnfzpoFePRUpC+SILkwxSevad8JflaXIDQlnw/6PhUAx+hzF0N1+uaCpcyOZWnlGvHux0HLV
|
24 |
-
UROj+YNmMixeLzPljIHm8LUd3tZCw0Tzy50BONeI+N5L3U4bBqjIdpKW5X8vMH7GsQrJRnAHphsz
|
25 |
-
Q6kfepyvURjO4bfXdA9Zl8+ycyi9gOyoqb1txTjHtTJJib0r+XSXmWWCnss7G7bxIfN4kShHcWtr
|
26 |
-
4I791VekEQ6JyMO3rqYtQUyowA3qrIBFlLfo6+otmLlJO8z0zk6Q6hvP1ZNUaIgnw42TjY5tMNiL
|
27 |
-
oZXnzXGOWGHEpuxp9IZWwhns13Dpsc+ut+H8ICAUyOaJzPRDQ3h2i3PiDGfoPSX9Zn8SFixG38Ud
|
28 |
-
cbbSPMmP7AndYgLTsW/cXUBchjBRaRzveRTvLXOsmr4kE/D/lZgj6BFiaJXmJeT4Jkkzsgcl3dN4
|
29 |
-
tnxu11i6De1aT0MEtvH6MPGPPJxgeWQufzwUBjR15oM/0FF22pRZFRQTozaTvZKf+Bvzw0FMj5Xx
|
30 |
-
HqEAABDQ5k6UISQAAiU0EG8x7zjlz9hK9APMSCix
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Template_Links
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_links = $this->getLinks(); ?>
|
33 |
+
<?php if(count($_links)>0): ?>
|
34 |
+
<ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
|
35 |
+
<?php foreach($_links as $_link): ?>
|
36 |
+
<?php if ($_link instanceof Mage_Core_Block_Abstract):?>
|
37 |
+
<?php echo $_link->toHtml() ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
|
40 |
+
<?php endif;?>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</ul>
|
43 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/methods.phtml
CHANGED
@@ -1,46 +1,82 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* One page checkout payment methods
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Onepage_Payment_Methods
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<dl class="sp-methods" id="checkout-payment-method-load">
|
35 |
+
<?php
|
36 |
+
$methods = $this->getMethods();
|
37 |
+
$oneMethod = count($methods) <= 1;
|
38 |
+
|
39 |
+
$ticket = Mage::getStoreConfig("payment/ipay/certification");
|
40 |
+
$sellerid = Mage::getStoreConfig("payment/ipay/auctionid");
|
41 |
+
|
42 |
+
$locale = Mage::app()->getLocale()->getLocaleCode();
|
43 |
+
?>
|
44 |
+
<?php
|
45 |
+
foreach ($methods as $_method):
|
46 |
+
$_code = $_method->getCode();
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
?>
|
53 |
+
<dt>
|
54 |
+
<?php if($_code=="ipay" && ($ticket=="" || $sellerid=="") ): continue; endif?>
|
55 |
+
<?php if($_code=="ipay" && $locale!="ko_KR" ): continue; endif?>
|
56 |
+
<?php if(!$oneMethod): ?>
|
57 |
+
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
|
58 |
+
<?php else: ?>
|
59 |
+
<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>
|
60 |
+
<?php $oneMethod = $_code; ?>
|
61 |
+
<?php endif; ?>
|
62 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
63 |
+
</dt>
|
64 |
+
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
65 |
+
<dd>
|
66 |
+
<?php echo $html; ?>
|
67 |
+
</dd>
|
68 |
+
|
69 |
+
|
70 |
+
<?php endif; ?>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</dl>
|
73 |
+
<?php echo $this->getChildChildHtml('additional'); ?>
|
74 |
+
<script type="text/javascript">
|
75 |
+
//<![CDATA[
|
76 |
+
<?php echo $this->getChildChildHtml('scripts'); ?>
|
77 |
+
payment.init();
|
78 |
+
<?php if (is_string($oneMethod)): ?>
|
79 |
+
payment.switchMethod('<?php echo $oneMethod ?>');
|
80 |
+
<?php endif; ?>
|
81 |
+
//]]>
|
82 |
+
</script>
|
app/design/frontend/base/default/template/ipay/overview.phtml
CHANGED
@@ -1,152 +1,257 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<?php /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
|
28 |
+
<div class="multiple-checkout">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
|
34 |
+
<div class="col2-set">
|
35 |
+
<h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
|
36 |
+
<div class="col-1">
|
37 |
+
<div class="box">
|
38 |
+
<?php $_address=$this->getBillingAddress() ?>
|
39 |
+
<div class="box-title">
|
40 |
+
<h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
41 |
+
</div>
|
42 |
+
<div class="box-content">
|
43 |
+
<address>
|
44 |
+
<?php echo $_address->format('html') ?>
|
45 |
+
</address>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<div class="col-2">
|
50 |
+
<div class="box">
|
51 |
+
<div class="box-title">
|
52 |
+
<h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
|
53 |
+
</div>
|
54 |
+
<div class="box-content">
|
55 |
+
<input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
|
56 |
+
<input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
|
57 |
+
<?php echo $this->getPaymentHtml() ?>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
63 |
+
<div class="col2-set">
|
64 |
+
<h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
|
65 |
+
<?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
|
66 |
+
<h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
|
67 |
+
<div class="col-1 col-narrow">
|
68 |
+
<div class="box">
|
69 |
+
<div class="box-title">
|
70 |
+
<h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
|
71 |
+
</div>
|
72 |
+
<div class="box-content">
|
73 |
+
<address>
|
74 |
+
<?php echo $_address->format('html') ?>
|
75 |
+
</address>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="box">
|
79 |
+
<div class="box-title">
|
80 |
+
<h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
|
81 |
+
</div>
|
82 |
+
<div class="box-content">
|
83 |
+
<?php if($_rate=$this->getShippingAddressRate($_address)): ?>
|
84 |
+
<p>
|
85 |
+
<?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
86 |
+
<?php $_excl = $this->getShippingPriceExclTax($_address); ?>
|
87 |
+
<?php $_incl = $this->getShippingPriceInclTax($_address); ?>
|
88 |
+
<?php echo $_excl; ?>
|
89 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
90 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
91 |
+
<?php endif; ?>
|
92 |
+
</p>
|
93 |
+
<?php endif; ?>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<div class="col-2 col-wide">
|
98 |
+
<h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
|
99 |
+
<table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
|
100 |
+
<col />
|
101 |
+
<col width="1" />
|
102 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
103 |
+
<col width="1" />
|
104 |
+
<?php endif; ?>
|
105 |
+
<col width="1" />
|
106 |
+
<col width="1" />
|
107 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
108 |
+
<col width="1" />
|
109 |
+
<?php endif; ?>
|
110 |
+
<thead>
|
111 |
+
<tr>
|
112 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
113 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
114 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
115 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
116 |
+
</tr>
|
117 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
118 |
+
<tr>
|
119 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
120 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
121 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
122 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
123 |
+
</tr>
|
124 |
+
<?php endif; ?>
|
125 |
+
</thead>
|
126 |
+
<tfoot>
|
127 |
+
<?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
|
128 |
+
</tfoot>
|
129 |
+
<tbody>
|
130 |
+
<?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
|
131 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
</tbody>
|
134 |
+
</table>
|
135 |
+
<script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
|
136 |
+
</div>
|
137 |
+
<?php if($this->getShippingAddressCount()!=$_index+1): ?>
|
138 |
+
<div class="divider"></div>
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
</div>
|
142 |
+
<?php if ($this->getQuote()->hasVirtualItems()): ?>
|
143 |
+
<div class="col2-set">
|
144 |
+
<h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
|
145 |
+
<div class="col-1 col-narrow"></div>
|
146 |
+
<div class="col-2 col-wide">
|
147 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
148 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
149 |
+
<table class="data-table" id="virtual-overview-table">
|
150 |
+
<col />
|
151 |
+
<col width="1" />
|
152 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
153 |
+
<col width="1" />
|
154 |
+
<?php endif; ?>
|
155 |
+
<col width="1" />
|
156 |
+
<col width="1" />
|
157 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
158 |
+
<col width="70" />
|
159 |
+
<?php endif; ?>
|
160 |
+
<thead>
|
161 |
+
<tr>
|
162 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
163 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
164 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
165 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
166 |
+
</tr>
|
167 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
168 |
+
<tr>
|
169 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
170 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
171 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
172 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
173 |
+
</tr>
|
174 |
+
<?php endif; ?>
|
175 |
+
</thead>
|
176 |
+
<tfoot>
|
177 |
+
<?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
|
178 |
+
</tfoot>
|
179 |
+
<tbody>
|
180 |
+
<?php foreach ($this->getVirtualItems() as $_item): ?>
|
181 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
182 |
+
<?php endforeach; ?>
|
183 |
+
</tbody>
|
184 |
+
</table>
|
185 |
+
<script type="text/javascript">decorateTable('virtual-overview-table')</script>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
<?php endif; ?>
|
189 |
+
|
190 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
191 |
+
|
192 |
+
<div id="checkout-review-submit">
|
193 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
194 |
+
<div class="place-order">
|
195 |
+
<div class="grand-total">
|
196 |
+
<div class="inner">
|
197 |
+
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
198 |
+
<div id="review-buttons-container">
|
199 |
+
|
200 |
+
<?php
|
201 |
+
$paymethod = $_REQUEST["payment"];
|
202 |
+
|
203 |
+
if(Mage::getStoreConfig("payment/ipay/active") && $paymethod["method"]== "ipay"):
|
204 |
+
?>
|
205 |
+
<a href="#" onclick="popWin('<?php echo Mage::getStoreConfig("web/unsecure/base_url")?>index.php/ipay/payment','ipay','width=500 height=500 scrollbars=yes')" ><img src="http://pics.auction.co.kr/ipay/btn/btn_ipay02.png" alt="<?php echo $this->__('IPay payment')?>" /></a>
|
206 |
+
<?php
|
207 |
+
else:
|
208 |
+
?>
|
209 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
210 |
+
<?php
|
211 |
+
endif;
|
212 |
+
?>
|
213 |
+
|
214 |
+
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
219 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
220 |
+
</span>
|
221 |
+
</div>
|
222 |
+
</div>
|
223 |
+
<div class="buttons-set">
|
224 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
225 |
+
</div>
|
226 |
+
</form>
|
227 |
+
<script type="text/javascript">
|
228 |
+
//<![CDATA[
|
229 |
+
var submitted = false;
|
230 |
+
|
231 |
+
function showLoader()
|
232 |
+
{
|
233 |
+
if (submitted) {
|
234 |
+
return false;
|
235 |
+
}
|
236 |
+
if ($('checkout-agreements')) {
|
237 |
+
var checkboxes = $$('#checkout-agreements input');
|
238 |
+
for (var i=0, l=checkboxes.length; i<l; i++) {
|
239 |
+
if (!checkboxes[i].checked) {
|
240 |
+
alert("<?php echo $this->__('Please222 agree to all Terms and Conditions before placing the orders.')?>");
|
241 |
+
return false;
|
242 |
+
}
|
243 |
+
}
|
244 |
+
}
|
245 |
+
|
246 |
+
submitted = true;
|
247 |
+
var step='review';
|
248 |
+
Element.show(step+'-please-wait');
|
249 |
+
$(step+'-buttons-container').setStyle({opacity:.5});
|
250 |
+
$(step+'-buttons-container').descendants().each(function(s) {
|
251 |
+
s.disabled = true;
|
252 |
+
});
|
253 |
+
return true;
|
254 |
+
}
|
255 |
+
//]]>
|
256 |
+
</script>
|
257 |
+
</div>
|
app/design/frontend/base/default/template/ipay/progress.phtml
CHANGED
@@ -1,55 +1,117 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Checkout_Block_Onepage_Progress */
|
27 |
?>
|
28 |
+
<div class="block block-progress opc-block-progress">
|
29 |
+
<div class="block-title">
|
30 |
+
<strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
|
31 |
+
</div>
|
32 |
+
<div class="block-content">
|
33 |
+
<dl>
|
34 |
+
<?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
|
35 |
+
<?php if ($this->isStepComplete('billing')): ?>
|
36 |
+
<dt class="complete">
|
37 |
+
<?php echo $this->__('Billing Address') ?> <span class="separator">|</span>
|
38 |
+
<a href="#billing" onclick="checkout.gotoSection('billing'); return false;"><?php echo $this->__('Change') ?></a>
|
39 |
+
</dt>
|
40 |
+
<dd class="complete">
|
41 |
+
<address><?php echo $this->getBilling()->format('html') ?></address>
|
42 |
+
</dd>
|
43 |
+
<?php else: ?>
|
44 |
+
<dt>
|
45 |
+
<?php echo $this->__('Billing Address') ?>
|
46 |
+
</dt>
|
47 |
+
<?php endif; ?>
|
48 |
+
<?php endif; ?>
|
49 |
+
|
50 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
|
51 |
+
<?php if ($this->isStepComplete('shipping')): ?>
|
52 |
+
<dt class="complete">
|
53 |
+
<?php echo $this->__('Shipping Address') ?> <span class="separator">|</span>
|
54 |
+
<a href="#payment" onclick="checkout.gotoSection('shipping');return false;"><?php echo $this->__('Change') ?></a>
|
55 |
+
</dt>
|
56 |
+
<dd class="complete">
|
57 |
+
<address><?php echo $this->getShipping()->format('html') ?></address>
|
58 |
+
</dd>
|
59 |
+
<?php else: ?>
|
60 |
+
<dt>
|
61 |
+
<?php echo $this->__('Shipping Address') ?>
|
62 |
+
</dt>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php endif; ?>
|
65 |
+
|
66 |
+
<?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
|
67 |
+
<?php if ($this->isStepComplete('shipping_method')): ?>
|
68 |
+
<dt class="complete">
|
69 |
+
<?php echo $this->__('Shipping Method') ?> <span class="separator">|</span>
|
70 |
+
<a href="#shipping_method" onclick="checkout.gotoSection('shipping_method'); return false;"><?php echo $this->__('Change') ?></a>
|
71 |
+
</dt>
|
72 |
+
<dd class="complete">
|
73 |
+
<?php if ($this->getShippingMethod()): ?>
|
74 |
+
<?php echo $this->escapeHtml($this->getShippingDescription()) ?>
|
75 |
+
|
76 |
+
|
77 |
+
<?php $_excl = $this->getShippingPriceExclTax(); ?>
|
78 |
+
<?php $_incl = $this->getShippingPriceInclTax(); ?>
|
79 |
+
|
80 |
+
<?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
|
81 |
+
<?php echo $_incl; ?>
|
82 |
+
<?php else: ?>
|
83 |
+
<?php echo $_excl; ?>
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
86 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
<?php else: ?>
|
90 |
+
<?php echo $this->__('Shipping method has not been selected yet') ?>
|
91 |
+
<?php endif; ?>
|
92 |
+
</dd>
|
93 |
+
<?php else: ?>
|
94 |
+
<dt>
|
95 |
+
<?php echo $this->__('Shipping Method') ?>
|
96 |
+
</dt>
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php endif; ?>
|
99 |
+
|
100 |
+
<?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
|
101 |
+
<?php if ($this->isStepComplete('payment')): ?>
|
102 |
+
<dt class="complete">
|
103 |
+
<?php echo $this->__('Payment Method') ?> <span class="separator">|</span>
|
104 |
+
<a href="#payment" onclick="checkout.gotoSection('payment'); return false;"><?php echo $this->__('Change') ?></a>
|
105 |
+
</dt>
|
106 |
+
<dd class="complete">
|
107 |
+
<?php echo $this->getPaymentHtml() ?>
|
108 |
+
</dd>
|
109 |
+
<?php else: ?>
|
110 |
+
<dt>
|
111 |
+
<?php echo $this->__('Payment Method') ?>
|
112 |
+
</dt>
|
113 |
+
<?php endif; ?>
|
114 |
+
<?php endif; ?>
|
115 |
+
</dl>
|
116 |
+
</div>
|
117 |
+
</div>
|
app/design/frontend/base/default/template/ipay/success.phtml
CHANGED
@@ -1,65 +1,76 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
K7h/BTzErs5NBRuz8ct1b9TpwV+D6mi4TjOuchGaxKbeiug9uex2gLgoiHvzBqpvmPuQ+T3Ewg5H
|
55 |
-
zQuZo0KWTJ3r7/FcH5RmG1LEmi3+y6jUbZh1LuVsLSQ2m6A3qYcNsn2R5xXJ5X3i3MOGZbC1oVm1
|
56 |
-
OrxZLcTvshwblDpACEYPmexp4OOgcfNOzwkrT1Qey6cWSJjQIJ2hIk/ZdNExC164shgwsYK9t5zY
|
57 |
-
DjIT6Mfotm9MgWoyWU7OYTRMWRRZEyrHHGhFvHvY1CZE3qS6BN0cTM4/nllHHbt/V8AAjIl+Q0TJ
|
58 |
-
RItpqiedfeK8aFSrXXY2iL9CYToQIERsSWyDSfm27pkwgCMtqjI4RhEpYTR1NxmArl1QKaAUxc4Q
|
59 |
-
3Ox62Ixwtn5p2O9hwQ7jmtm7ykH8mL/MWps33Atf6Reurm81veBANSAI/eb1zoZkWmJ3zG2CK/rv
|
60 |
-
vp4By1WJIFF647QnCO1fSaAXiJDkmr4hP5MfxAFekezS3XYnYSagq4cc/kWacvDl6zyxA/jJDIkC
|
61 |
-
u49TTJMq77ZvgN48m2gZ7GwUsNuxFzpoxBXUzC+6xqednru+VmunrxDZnEpP/l/gPC6phI93F+pb
|
62 |
-
YOEeHPP5HbZ9Iyv9EgS1YuGDGIJ17IRSWXp/TnGFaDt2ZZ5saSAyvnOum9t1idh5SkjN8QqD4rgW
|
63 |
-
5Sd7TrsZunk2bV0FqskFu6y69WUe1SZbZE1LGFuosVCisMkNAiM1pqD0kS1dQ92/MT+wtMpt7NUP
|
64 |
-
P0+U2/Rav7dWB8gYrMiktzlE/zwwg2X6ZKsKtqIbPNoxC/cGlrH+VUUO4XsyxW76mTezZnEA1LS7
|
65 |
-
lmgvKRwA0rDx9f2d2Skv/8hjzMMJa+pzcR1BMCuZ
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Your order has been received.') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
|
32 |
+
|
33 |
+
<?php if ($this->getOrderId()):?>
|
34 |
+
<?php if(Mage::getStoreConfig("payment/ipay/active")==1):?>
|
35 |
+
<?php
|
36 |
+
$write = Mage::getSingleton("core/resource")->getConnection("core_write");
|
37 |
+
$tableName = $write->getTableName("ipay");
|
38 |
+
$quote_id = Mage::getSingleton("checkout/session")->getLastQuoteId();
|
39 |
+
$order_id= $this->getOrderId();
|
40 |
+
$query = "update $tableName set order_id=:order_id where quote_id=:quote_id";
|
41 |
+
$array = array("order_id"=>$order_id, "quote_id"=>$quote_id);
|
42 |
+
$write->query($query, $array);
|
43 |
+
?>
|
44 |
+
|
45 |
+
<?php endif;?>
|
46 |
+
<?php if ($this->getCanViewOrder()) :?>
|
47 |
+
<p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
|
48 |
+
<?php else :?>
|
49 |
+
<p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
|
50 |
+
<?php endif;?>
|
51 |
+
<p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
|
52 |
+
<?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
|
53 |
+
<p>
|
54 |
+
<?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
|
55 |
+
<?php echo $this->getChildHtml() ?>
|
56 |
+
</p>
|
57 |
+
<?php endif;?>
|
58 |
+
<?php endif;?>
|
59 |
+
|
60 |
+
<?php if ($this->getAgreementRefId()): ?>
|
61 |
+
<p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
|
62 |
+
<?php endif;?>
|
63 |
+
|
64 |
+
<?php if ($profiles = $this->getRecurringProfiles()):?>
|
65 |
+
<p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
|
66 |
+
<ul class="disc">
|
67 |
+
<?php foreach($profiles as $profile):?>
|
68 |
+
<?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
|
69 |
+
<li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
|
70 |
+
<?php endforeach;?>
|
71 |
+
</ul>
|
72 |
+
<?php endif;?>
|
73 |
+
|
74 |
+
<div class="buttons-set">
|
75 |
+
<button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
76 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/ipay/totals.phtml
CHANGED
@@ -1,18 +1,41 @@
|
|
1 |
-
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
?>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
HY+ni0NRRza4m9wPn/GdWLD9pD5FOhfZikcsrp6w3mgfS70eGG8wqia+7iOnl4WV0L9vLoIjEneb
|
16 |
-
XK7uZKwSp1YWkk6ycyUmPkupREjDw9kUdDqDmu9X9LmLxaOkriK4fdVW6PrPWZ8Z4q/7FR10mbUz
|
17 |
-
dzkCpSFXx/egYsoVcy0vhFJ1FK38K2pLYrQSC041MVcI2Kh1ykj23qwSfmQoNjkmfCSEynHEgUb5
|
18 |
-
ZV3R5BtfRVRg6/pxJf9oY2KQCyRPXBMP7enAfnaTRUe=
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
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 |
+
|
35 |
+
<?php echo $this->renderTotals(null, $_colspan); ?>
|
36 |
+
<?php echo $this->renderTotals('footer', $_colspan); ?>
|
37 |
+
|
38 |
+
<?php if ($this->needDisplayBaseGrandtotal()):?>
|
39 |
+
<?php endif?>
|
40 |
+
</tfoot>
|
41 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Esellers_Ipay</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>free</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>free</notes>
|
12 |
<authors><author><name>YoungJun</name><user>djsmqhaskf</user><email>gwgw123@esellers.co.kr</email></author></authors>
|
13 |
<date>2014-04-16</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Esellers"><dir name="Aboutep"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldep.php" hash="dc899e430a9947525cae4887bd9962f5"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="329f662857915c58185fae50c8470ba8"/></dir><dir name="Model"><file name="Createep.php" hash="29220813414cd7ef08d8a318a22c253e"/></dir><dir name="controllers"><file name="EpController.php" hash="a8e6a365629cca1ce841f6036ef70565"/></dir><dir name="etc"><file name="adminhtml.xml" hash="52945238ca397da4a882949e5c32345d"/><file name="config.xml" hash="11dfd3de4dd7541918f8a846493c2684"/><file name="system.xml" hash="9c806e40fb2fd24e5eed4a9f3a80e3cf"/></dir></dir><dir name="Ipay"><dir name="Block"><dir name="Cart"><file name="Onepage.php" hash="75feb0b93fc47b548f2b02c628b6a5e8"/></dir><file name="Logo.php" hash="9b5db42fce62779b0a247d7cd6744b3b"/><dir name="Onepage"><dir name="Review"><file name="Info.php" hash="b2e1ea800a76d97c4e9a4a16fa03afc0"/></dir></dir><dir name="Sales"><dir name="Order"><file name="View.php" hash="425e1b18a8e56993624b056ee061d196"/></dir></dir></dir><dir name="Helper"><file name="Active.php" hash="7408945524deb3ad8c86ef9fc699b9d9"/><file name="Data.php" hash="70658a702bc0819983caf57fbca27f07"/></dir><dir name="Model"><dir name="Carrier"><file name="ShippingMethod.php" hash="46fa125dcbcb9687fd703a18c38021ae"/></dir><file name="Ipay.php" hash="0518adddf60dcf34d8a3b3381b0ad61c"/><dir name="Mysql4"><file name="Setup.php" hash="53f40275bb93ac22b87782a340416d21"/><file name="ipay.php" hash="4b9487ba9f98db81bc67419d2929f262"/></dir><file name="Observer.php" hash="f49f13f5106a7e0d69c8d9dcceca6734"/><file name="PaymentMethod.php" hash="82b92bfd72c33f68cd562a8d5db6e5fb"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="36ec6dc7646091070ffaab0d5e5733c0"/><file name="Company.php" hash="defee1c6dcb61d6b5bb8092f816d8a4b"/><file name="Escrow.php" hash="a8a0752c02c78f90c3d3bca7db0c89ef"/><file name="Font.php" hash="fa38b9e1cdd682f6ee4995d9cdfdfb4f"/><file name="Layout.php" hash="300ada2497ce69446e02fbd95d721182"/><file name="Paymethod.php" hash="39a18bc37871d35ebe03f2c13e053b46"/><file name="Roundoff.php" hash="6a4e2735aa4ea3e24f1a5b193e35419c"/><file name="Shiptype.php" hash="36a1664abbd89270acd7574b5a69a31d"/></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="52241ba1fcef1675d5f4eb6669a7d839"/><dir name="Sales"><dir name="Order"><file name="ShipmentController.php" hash="f28f46febe2bb7bee1746fc16613ff04"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="78d1c3e1d2b6196532d6b668a084e743"/><file name="config.xml" hash="d0f968d6a092ada66df0aa99345605b0"/><file name="system.xml" hash="8381aa83ec1bc2ed3b817d7583dccc26"/></dir><dir name="sql"><dir name="ipay_setup"><file name="mysql4-upgrade-1.0.0-1.1.0.php" hash="2b463831d3f18ffff86e51de814ca236"/></dir></dir></dir><dir name="Naverep"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldep.php" hash="5a60c5b48cab0271daf90aa539ff6355"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="daa5ceebfe626f670cccb1145bcf6012"/></dir><dir name="Model"><file name="Createep.php" hash="f9177f0f991192fb849e926994220552"/><file name="Createep_.php" hash="64202da46481d2d773388b3479834ee4"/><file name="Createep__.php" hash="f9177f0f991192fb849e926994220552"/><dir name="System"><dir name="Config"><dir name="Source"><file name="EPUrl.php" hash="2f75faa18870129105849f6338986671"/></dir></dir></dir></dir><dir name="controllers"><file name="EpController.php" hash="9fd0f233f295fb8c5decf4fb386baf44"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1cd2af9f259f073338708c3bdb2951de"/><file name="config.xml" hash="a2fb0980cd160cc19e68a15682653723"/><file name="system.xml" hash="ac7a1b95f86e52a5fce021c6994c612e"/></dir></dir><dir name="Salesgrid"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="3270a0d799ff11e4d945902e1cd27438"/></dir><file name="Order.php" hash="350b8089237ec31e52f21515b3443ec0"/></dir></dir><dir name="controllers"><dir name="Sales"><file name="OrderController.php" hash="c1724502bf916c851db3024275c3fb88"/></dir></dir><dir name="etc"><file name="config.xml" hash="79d514e12c6f4f9c681de6ca502c3660"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Shipment"><dir name="Create"><file name="Tracking.php" hash="3f49892bfdc7deb366438ee39d52cacc"/></dir><dir name="View"><file name="Tracking.php" hash="7e8268953f78c298840c964164e88eb1"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir><dir name="controllers"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Shipment"><dir name="Create"><file name="Tracking.php" hash="6464e01af2fbef56e03a0fdf4c713efc"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><dir name="Order"><file name="ShipmentController.php" hash="2f10e988915b23d9013a63a89b3a52c0"/></dir><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir></dir><dir name="Directory"><dir name="Model"><file name="Currency.php" hash="730260cb7e27203c3fd4acb3b6e21bdc"/><file name="Currency.php.bak" hash="9dbd4340253bba57b43a0c3e351c45ea"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="ipay.xml" hash="925bf8e3d1c2f980aca10cba3744c4cf"/></dir><dir name="template"><dir name="ipay"><file name="billing.phtml" hash="689c8fe61ebe7b678b418b2b3417bc64"/><file name="logo.phtml" hash="c65810cec9ef03ca55d15e3f58ba28e1"/><file name="top.links.phtml" hash="73b47a0161b7ba80dbbbab3565e17934"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="ipay"><file name="available.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.17</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Esellers_Ipay</name>
|
4 |
+
<version>1.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>free</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>free</notes>
|
12 |
<authors><author><name>YoungJun</name><user>djsmqhaskf</user><email>gwgw123@esellers.co.kr</email></author></authors>
|
13 |
<date>2014-04-16</date>
|
14 |
+
<time>07:08:25</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Esellers"><dir name="Aboutep"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldep.php" hash="dc899e430a9947525cae4887bd9962f5"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="329f662857915c58185fae50c8470ba8"/></dir><dir name="Model"><file name="Createep.php" hash="29220813414cd7ef08d8a318a22c253e"/></dir><dir name="controllers"><file name="EpController.php" hash="a8e6a365629cca1ce841f6036ef70565"/></dir><dir name="etc"><file name="adminhtml.xml" hash="52945238ca397da4a882949e5c32345d"/><file name="config.xml" hash="11dfd3de4dd7541918f8a846493c2684"/><file name="system.xml" hash="9c806e40fb2fd24e5eed4a9f3a80e3cf"/></dir></dir><dir name="Ipay"><dir name="Block"><dir name="Cart"><file name="Onepage.php" hash="75feb0b93fc47b548f2b02c628b6a5e8"/></dir><file name="Logo.php" hash="9b5db42fce62779b0a247d7cd6744b3b"/><dir name="Onepage"><dir name="Review"><file name="Info.php" hash="b2e1ea800a76d97c4e9a4a16fa03afc0"/></dir></dir><dir name="Sales"><dir name="Order"><file name="View.php" hash="425e1b18a8e56993624b056ee061d196"/></dir></dir></dir><dir name="Helper"><file name="Active.php" hash="7408945524deb3ad8c86ef9fc699b9d9"/><file name="Data.php" hash="70658a702bc0819983caf57fbca27f07"/></dir><dir name="Model"><dir name="Carrier"><file name="ShippingMethod.php" hash="46fa125dcbcb9687fd703a18c38021ae"/></dir><file name="Ipay.php" hash="0518adddf60dcf34d8a3b3381b0ad61c"/><dir name="Mysql4"><file name="Setup.php" hash="53f40275bb93ac22b87782a340416d21"/><file name="ipay.php" hash="4b9487ba9f98db81bc67419d2929f262"/></dir><file name="Observer.php" hash="f49f13f5106a7e0d69c8d9dcceca6734"/><file name="PaymentMethod.php" hash="82b92bfd72c33f68cd562a8d5db6e5fb"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="36ec6dc7646091070ffaab0d5e5733c0"/><file name="Company.php" hash="defee1c6dcb61d6b5bb8092f816d8a4b"/><file name="Escrow.php" hash="a8a0752c02c78f90c3d3bca7db0c89ef"/><file name="Font.php" hash="fa38b9e1cdd682f6ee4995d9cdfdfb4f"/><file name="Layout.php" hash="300ada2497ce69446e02fbd95d721182"/><file name="Paymethod.php" hash="39a18bc37871d35ebe03f2c13e053b46"/><file name="Roundoff.php" hash="6a4e2735aa4ea3e24f1a5b193e35419c"/><file name="Shiptype.php" hash="36a1664abbd89270acd7574b5a69a31d"/></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="52241ba1fcef1675d5f4eb6669a7d839"/><dir name="Sales"><dir name="Order"><file name="ShipmentController.php" hash="f28f46febe2bb7bee1746fc16613ff04"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="78d1c3e1d2b6196532d6b668a084e743"/><file name="config.xml" hash="d0f968d6a092ada66df0aa99345605b0"/><file name="system.xml" hash="8381aa83ec1bc2ed3b817d7583dccc26"/></dir><dir name="sql"><dir name="ipay_setup"><file name="mysql4-upgrade-1.0.0-1.1.0.php" hash="2b463831d3f18ffff86e51de814ca236"/></dir></dir></dir><dir name="Naverep"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldep.php" hash="5a60c5b48cab0271daf90aa539ff6355"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="daa5ceebfe626f670cccb1145bcf6012"/></dir><dir name="Model"><file name="Createep.php" hash="f9177f0f991192fb849e926994220552"/><file name="Createep_.php" hash="64202da46481d2d773388b3479834ee4"/><file name="Createep__.php" hash="f9177f0f991192fb849e926994220552"/><dir name="System"><dir name="Config"><dir name="Source"><file name="EPUrl.php" hash="2f75faa18870129105849f6338986671"/></dir></dir></dir></dir><dir name="controllers"><file name="EpController.php" hash="9fd0f233f295fb8c5decf4fb386baf44"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1cd2af9f259f073338708c3bdb2951de"/><file name="config.xml" hash="a2fb0980cd160cc19e68a15682653723"/><file name="system.xml" hash="ac7a1b95f86e52a5fce021c6994c612e"/></dir></dir><dir name="Salesgrid"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="3270a0d799ff11e4d945902e1cd27438"/></dir><file name="Order.php" hash="350b8089237ec31e52f21515b3443ec0"/></dir></dir><dir name="controllers"><dir name="Sales"><file name="OrderController.php" hash="c1724502bf916c851db3024275c3fb88"/></dir></dir><dir name="etc"><file name="config.xml" hash="79d514e12c6f4f9c681de6ca502c3660"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Shipment"><dir name="Create"><file name="Tracking.php" hash="3f49892bfdc7deb366438ee39d52cacc"/></dir><dir name="View"><file name="Tracking.php" hash="7e8268953f78c298840c964164e88eb1"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir><dir name="controllers"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Shipment"><dir name="Create"><file name="Tracking.php" hash="6464e01af2fbef56e03a0fdf4c713efc"/></dir></dir></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3a9f7511ab3293d150446abb784293c0"/><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir><dir name="Report"><file name="Abstract.php" hash="1487bd48071aa04462cef8eb3846ec92"/></dir><dir name="Sales"><file name="Creditmemo.php" hash="29af0fa650ce1d5f0b67b0b135f166c4"/><file name="Invoice.php" hash="11e0efb6b9b68e425dbaac298cdd7fc0"/><dir name="Order"><file name="ShipmentController.php" hash="2f10e988915b23d9013a63a89b3a52c0"/></dir><file name="Shipment.php" hash="828706cbba092a90a960034882acfcdd"/></dir></dir></dir><dir name="Directory"><dir name="Model"><file name="Currency.php" hash="730260cb7e27203c3fd4acb3b6e21bdc"/><file name="Currency.php.bak" hash="9dbd4340253bba57b43a0c3e351c45ea"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="ipay.xml" hash="925bf8e3d1c2f980aca10cba3744c4cf"/></dir><dir name="template"><dir name="ipay"><file name="billing.phtml" hash="689c8fe61ebe7b678b418b2b3417bc64"/><file name="logo.phtml" hash="c65810cec9ef03ca55d15e3f58ba28e1"/><file name="top.links.phtml" hash="73b47a0161b7ba80dbbbab3565e17934"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="ipay"><file name="available.phtml" hash="dac53560b0a780d2a4984fdb4e367ccf"/><file name="billing.phtml" hash="c0d8c4f5caf58269b3820653aeb51a53"/><file name="button.phtml" hash="07ce34798eb8d6aebfb28d7e2f3051bc"/><file name="cart.phtml" hash="2c01accd7333209370bfe8091c8d3bf1"/><file name="cart.phtml_" hash="15206ebc30dadf0ed4ed77cdbd96be3e"/><file name="cart.phtml_today" hash="28a06e86069b189af782c2fccfb7d675"/><file name="footer.phtml" hash="4e00de45ed62d5c5f0d10c7598e63e36"/><file name="info.phtml" hash="3ef124a4847f34e7c0a3c07a9eb3e4df"/><file name="ipay.phtml" hash="2f687c72bb8c2f1eeb7448e0c8021294"/><file name="ipayInfo.phtml" hash="ed0525df2774bbded675bae516ccd2bc"/><file name="ipayInfo_.phtml" hash="610a9a9f7dc977bb9a58e2708b882e3f"/><file name="ipayservice.phtml" hash="59b32a9c047cd346498cf95367b9d097"/><file name="item.phtml" hash="c53b269b2ea75656a3fd954aff903af9"/><file name="links.phtml" hash="8ac82b00dd7537826a45285556981dd1"/><file name="methods.phtml" hash="e4d0be7673dad6fbff80485fa856075f"/><file name="overview.phtml" hash="405eeb254a94ca03b3b5329e6f648329"/><file name="progress.phtml" hash="9688498805514f9fa54886186054f827"/><file name="success.phtml" hash="2ee08ff89765949f507a4af0f37a7b58"/><file name="totals.phtml" hash="03dafd3b85776b5f2b1c94164a09502d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ipay"><file name="form.phtml" hash="0f07faa1db31c364219bd291c73a628a"/><file name="info.phtml" hash="eb88cc4791e80946d558104c52df2f8a"/><file name="items.phtml" hash="951b39d61782185c36f1324bc61f8903"/></dir></dir><dir name="layout"><file name="ipay.xml" hash="1e76d74fc3bd0dfd06ef82833876e28a"/></dir></dir></dir></dir></target><target name="magelib"><dir name="."><file name="class.ipay.php" hash="e66adfe6a431eb46dbde772956785bc5"/><file name="ipaySession.php" hash="67b9a599e1b08dae44a169d12c28556c"/><file name="func.xml.php" hash="5e98214b51cc726d2fd02c07b3c46a41"/><file name="nusoap.php" hash="1e221272df95ee844d734f4bf16f2b61"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><dir name="ipay"><file name="logo_ipay01.gif" hash="4f337860e439935409220dce962520c7"/><file name="logo_ipay02.gif" hash="ce81aa12bd35a6b85ef19b53652b0b4a"/><file name="sbtn_ipay.gif" hash="b897e2be2fcc53a4496eb21768560f0e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Esellers_Ipay.xml" hash="a660002a41e1052bb03d54e4cc862bfc"/></dir></target><target name="mage"><dir name="js"><dir name="esellers"><file name="ipay.js" hash="360c3ef0e7f4dcd8ec798909f0a570f7"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.17</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|