ELQNjCNN4uvCsESd - Version 1.0.0

Version Notes

Magento compitible extension.

Download this release

Release Info

Developer Ravi patel
Extension ELQNjCNN4uvCsESd
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Parin/CheckoutReviewProductImage/Block/About.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Parin_CheckoutReviewProductImage_Block_About extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
3
+ {
4
+
5
+ /**
6
+ * Render fieldset html
7
+ *
8
+ * @param Varien_Data_Form_Element_Abstract $element
9
+ * @return string
10
+ */
11
+ public function render(Varien_Data_Form_Element_Abstract $element)
12
+ {
13
+ $logopath = 'https://cmsblogheart.files.wordpress.com/2014/06/rvpatel.png';
14
+ $html = <<<HTML
15
+ <div style="background:url('$logopath') no-repeat scroll 14px 14px #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px 5px 20px 164px;">
16
+ <p>
17
+ <strong>FREE MAGENTO EXTENSIONS & CUSTOMIZATION</strong><br />
18
+ <a href="http://www.linkedin.com/in/ravippatel" target="_blank">Ravipatel</a> You can find For Magento theme Customization.<br />
19
+ </p>
20
+ <p>
21
+ My Blog Hear <a href="http://cmsblogheart.wordpress.com/" target="_blank">CMS Blog Heart</a><br />
22
+ Should you have any questions email at <a href="mailto:ravipatelb07272@gmail.com">ravipatelb07272@gmail.com</a>
23
+ <br/>
24
+ </p>
25
+ </div>
26
+ HTML;
27
+ return $html;
28
+ }
29
+ }
app/code/community/Parin/CheckoutReviewProductImage/Helper/Data.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class Parin_CheckoutReviewProductImage_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ public function moduleActive(){
5
+ return (bool) Mage::getStoreConfigFlag('checkoutreviewproductimage/general/enabled');
6
+ }
7
+ }
app/code/community/Parin/CheckoutReviewProductImage/etc/config.xml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Parin_CheckoutReviewProductImage>
5
+ <version>0.1.0</version>
6
+ </Parin_CheckoutReviewProductImage>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <checkoutreviewproductimage>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Parin_CheckoutReviewProductImage</module>
14
+ <frontName>checkoutreviewproductimage</frontName>
15
+ </args>
16
+ </checkoutreviewproductimage>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <checkoutreviewproductimage>
21
+ <file>checkoutreviewproductimage.xml</file>
22
+ </checkoutreviewproductimage>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+
27
+ <global>
28
+ <resources>
29
+ <checkoutreviewproductimage_setup>
30
+ <setup>
31
+ <module>Parin_CheckoutReviewProductImage</module>
32
+ </setup>
33
+ <connection>
34
+ <use>core_setup</use>
35
+ </connection>
36
+ </checkoutreviewproductimage_setup>
37
+ <checkoutreviewproductimage_write>
38
+ <connection>
39
+ <use>core_write</use>
40
+ </connection>
41
+ </checkoutreviewproductimage_write>
42
+ <checkoutreviewproductimage_read>
43
+ <connection>
44
+ <use>core_read</use>
45
+ </connection>
46
+ </checkoutreviewproductimage_read>
47
+ </resources>
48
+ <blocks>
49
+
50
+ <checkoutreviewproductimage>
51
+ <class>Parin_CheckoutReviewProductImage_Block</class>
52
+ </checkoutreviewproductimage>
53
+ </blocks>
54
+ <helpers>
55
+ <checkoutreviewproductimage>
56
+ <class>Parin_CheckoutReviewProductImage_Helper</class>
57
+ </checkoutreviewproductimage>
58
+ </helpers>
59
+
60
+ </global>
61
+
62
+ <default>
63
+ <checkoutreviewproductimage>
64
+ <general>
65
+ <enabled>1</enabled>
66
+ </general>
67
+ </checkoutreviewproductimage>
68
+ </default>
69
+ <adminhtml>
70
+ <acl>
71
+ <resources>
72
+ <admin>
73
+ <children>
74
+ <system>
75
+ <children>
76
+ <config>
77
+ <children>
78
+ <checkoutreviewproductimage translate="title" module="checkoutreviewproductimage">
79
+ <title>Checkout Review Image</title>
80
+ </checkoutreviewproductimage>
81
+ </children>
82
+ </config>
83
+ </children>
84
+ </system>
85
+ </children>
86
+ </admin>
87
+ </resources>
88
+ </acl>
89
+ </adminhtml>
90
+ </config>
app/code/community/Parin/CheckoutReviewProductImage/etc/system.xml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <parin_extensions>
5
+ <label>Parin Web Solutions</label>
6
+ <sort_order>195</sort_order>
7
+ </parin_extensions>
8
+ </tabs>
9
+ <sections>
10
+ <checkoutreviewproductimage translate="label" >
11
+ <label>Checkout Review Product Image</label>
12
+ <tab>parin_extensions</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>90</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <about translate="label">
20
+ <label>Developer</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <info translate="label">
28
+ <frontend_model>checkoutreviewproductimage/about</frontend_model>
29
+ <sort_order>1</sort_order>
30
+ <show_in_default>1</show_in_default>
31
+ <show_in_website>1</show_in_website>
32
+ <show_in_store>1</show_in_store>
33
+ </info>
34
+ </fields>
35
+ </about>
36
+ <general translate="label">
37
+ <label>Setting</label>
38
+ <frontend_type>text</frontend_type>
39
+ <sort_order>1</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ <fields>
44
+ <enabled translate="label">
45
+ <label>Enabled</label>
46
+ <frontend_type>select</frontend_type>
47
+ <source_model>adminhtml/system_config_source_yesno</source_model>
48
+ <sort_order>1</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ </enabled>
53
+ </fields>
54
+ </general>
55
+
56
+ </groups>
57
+
58
+ </checkoutreviewproductimage>
59
+ </sections>
60
+ </config>
app/design/frontend/default/default/layout/checkoutreviewproductimage.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <checkout_onepage_review translate="label">
4
+ <label>One Page Checkout Overview</label>
5
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
6
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkoutreviewproductimage/checkout/onepage/review/item.phtml</template></action>
7
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkoutreviewproductimage/checkout/onepage/review/item.phtml</template></action>
8
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkoutreviewproductimage/checkout/onepage/review/item.phtml</template></action>
9
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
10
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
11
+ <label>Items Before</label>
12
+ </block>
13
+ <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
14
+ <label>Items After</label>
15
+ </block>
16
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
17
+ <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
18
+ </block>
19
+ </checkout_onepage_review>
20
+ </layout>
app/design/frontend/default/default/template/checkoutreviewproductimage/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem()?>
28
+ <tr>
29
+ <td>
30
+ <h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
31
+ <?php if(Mage::helper('checkoutreviewproductimage')->moduleActive()): ?>
32
+ <?php if ($this->hasProductUrl()):?>
33
+ <a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>">
34
+ <?php endif;?>
35
+ <img src="<?php echo $this->getProductThumbnail()->resize(120,120); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
36
+ <?php if ($this->hasProductUrl()):?>
37
+ </a>
38
+ <?php endif;?>
39
+ <?php endif;?>
40
+
41
+
42
+ <?php if ($_options = $this->getOptionList()):?>
43
+ <dl class="item-options">
44
+ <?php foreach ($_options as $_option) : ?>
45
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
46
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
47
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
48
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
49
+ <div class="truncated_full_value">
50
+ <dl class="item-options">
51
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
52
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
53
+ </dl>
54
+ </div>
55
+ <?php endif; ?>
56
+ </dd>
57
+ <?php endforeach; ?>
58
+ </dl>
59
+ <?php endif;?>
60
+ <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
61
+ <?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
62
+ <?php endif;?>
63
+ </td>
64
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
65
+ <td class="a-right">
66
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
67
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
68
+ <?php else: ?>
69
+ <span class="cart-price">
70
+ <?php endif; ?>
71
+
72
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
73
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
74
+ <?php else: ?>
75
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
76
+ <?php endif; ?>
77
+
78
+ </span>
79
+
80
+
81
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
82
+
83
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
85
+ <small>
86
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
87
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
88
+ <?php endforeach; ?>
89
+ </small>
90
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
91
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
92
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
93
+ <?php endforeach; ?>
94
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
95
+ <small>
96
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
97
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
98
+ <?php endforeach; ?>
99
+ </small>
100
+ <?php endif; ?>
101
+ </div>
102
+
103
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
104
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
105
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
106
+ </div>
107
+ <?php endif; ?>
108
+ <?php endif; ?>
109
+ </td>
110
+ <?php endif; ?>
111
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
112
+ <td>
113
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
115
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
116
+ <?php else: ?>
117
+ <span class="cart-price">
118
+ <?php endif; ?>
119
+
120
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
121
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
122
+ <?php else: ?>
123
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
124
+ <?php endif; ?>
125
+
126
+ </span>
127
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
128
+
129
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
130
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
131
+ <small>
132
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
133
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
134
+ <?php endforeach; ?>
135
+ </small>
136
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
137
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
138
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
139
+ <?php endforeach; ?>
140
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
141
+ <small>
142
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
143
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
144
+ <?php endforeach; ?>
145
+ </small>
146
+ <?php endif; ?>
147
+ </div>
148
+
149
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
150
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
151
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
152
+ </div>
153
+ <?php endif; ?>
154
+ <?php endif; ?>
155
+ </td>
156
+ <?php endif; ?>
157
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
158
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
159
+ <td class="a-right">
160
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
161
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
162
+ <?php else: ?>
163
+ <span class="cart-price">
164
+ <?php endif; ?>
165
+
166
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
167
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
168
+ <?php else: ?>
169
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
170
+ <?php endif; ?>
171
+
172
+ </span>
173
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
174
+
175
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
176
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
177
+ <small>
178
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
179
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
180
+ <?php endforeach; ?>
181
+ </small>
182
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
183
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
184
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
185
+ <?php endforeach; ?>
186
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
187
+ <small>
188
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
189
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
190
+ <?php endforeach; ?>
191
+ </small>
192
+ <?php endif; ?>
193
+ </div>
194
+
195
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
196
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
197
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
198
+ </div>
199
+ <?php endif; ?>
200
+ <?php endif; ?>
201
+ </td>
202
+ <?php endif; ?>
203
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
204
+ <td>
205
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
206
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
207
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
208
+ <?php else: ?>
209
+ <span class="cart-price">
210
+ <?php endif; ?>
211
+
212
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
213
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
214
+ <?php else: ?>
215
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
216
+ <?php endif; ?>
217
+
218
+ </span>
219
+
220
+
221
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
222
+
223
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
224
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
225
+ <small>
226
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
227
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
228
+ <?php endforeach; ?>
229
+ </small>
230
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
231
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
232
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
233
+ <?php endforeach; ?>
234
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
235
+ <small>
236
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
237
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
238
+ <?php endforeach; ?>
239
+ </small>
240
+ <?php endif; ?>
241
+ </div>
242
+
243
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
244
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
245
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
246
+ </div>
247
+ <?php endif; ?>
248
+ <?php endif; ?>
249
+ </td>
250
+ <?php endif; ?>
251
+ </tr>
app/etc/modules/Parin_CheckoutReviewProductImage.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Parin_CheckoutReviewProductImage>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Parin_CheckoutReviewProductImage>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>ELQNjCNN4uvCsESd</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="www.opensource.org/licenses/gpl-license.php">GNU General Public License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This extension allows user to check product images on order review section of magento checkout.</summary>
10
+ <description>This extension enables user to check product images on the checkout process order review section.</description>
11
+ <notes>Magento compitible extension.</notes>
12
+ <authors><author><name>Ravi patel</name><user>rvpatel</user><email>ravipatelb07272@gmail.com</email></author></authors>
13
+ <date>2014-06-13</date>
14
+ <time>06:28:12</time>
15
+ <contents><target name="magecommunity"><dir name="Parin"><dir name="CheckoutReviewProductImage"><dir name="Block"><file name="About.php" hash="8f029ed5e06ea8b91d31650d29fdfa70"/></dir><dir name="Helper"><file name="Data.php" hash="bf2f9eba53fe98c51d105f08e92d701f"/></dir><dir name="etc"><file name="config.xml" hash="6ab064f190d14f4f33b6e2d2bfa7dd31"/><file name="system.xml" hash="9fbb513efba46a4d9bb2aad1fb747c59"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="checkoutreviewproductimage"><dir name="checkout"><dir name="onepage"><dir name="review"><file name="item.phtml" hash="424553c39a787ee73e78fbc3145302c0"/></dir></dir></dir></dir></dir><dir name="layout"><file name="checkoutreviewproductimage.xml" hash="8f48b0124585b5957bc3e786c23fa6d0"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Parin_CheckoutReviewProductImage.xml" hash="db7a62be9754fb28dad96a68ccde2be0"/></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>