Ifuturz_Notforsale - Version 0.2.0

Version Notes

Fixed template file issue

Download this release

Release Info

Developer Iverve
Extension Ifuturz_Notforsale
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.0 to 0.2.0

app/design/frontend/base/default/template/notforsale/item/default.phtml ADDED
@@ -0,0 +1,641 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Ifuturz_Notforsale
4
+ */
5
+ ?>
6
+ <style type="text/css">
7
+ .shiprestric{ color:#F00; }
8
+ </style>
9
+ <?php
10
+ $_item = $this->getItem();
11
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
12
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
13
+ ?>
14
+ <?php //start code by ifuturz ?>
15
+ <?php
16
+ $productload = Mage::getModel('catalog/product')->load($_item->getProduct()->getId());
17
+ $optionvalues = $productload->getAttributeText('not_for_sale_to');
18
+ $state = implode(", ",$optionvalues);
19
+ if(count($state) > 0)
20
+ {
21
+ $state = $state;
22
+ }
23
+ else if($optionvalues != ''){
24
+ $state = $optionvalues;
25
+ }
26
+ ?>
27
+ <?php //end code by ifuturz ?>
28
+ <?php if (version_compare(Mage::getVersion(), '1.9', '<')):?>
29
+ <tr>
30
+ <td><?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?>
31
+ </td>
32
+ <td>
33
+ <h2 class="product-name">
34
+ <?php if ($this->hasProductUrl()):?>
35
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
36
+ <?php else: ?>
37
+ <?php echo $this->escapeHtml($this->getProductName()) ?>
38
+ <?php endif; ?>
39
+ </h2>
40
+ <?php //start code by ifuturz ?>
41
+ <?php if($productload->getNot_for_sale_to() && $state != '' && $optionvalues != ''):?>
42
+ <div class="shiprestric">
43
+ <b><?php echo $this->__('Not for Sale To State: ')?></b>
44
+ <span><?php echo "" .$state ?></span>
45
+ </div>
46
+ <?php endif;?>
47
+ <?php //end code by ifuturz ?>
48
+ <?php if ($_options = $this->getOptionList()):?>
49
+ <dl class="item-options">
50
+ <?php foreach ($_options as $_option) : ?>
51
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
52
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
53
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
54
+ <?php //start code by ifuturz ?>
55
+ <?php if(isset($_option['pid'])): ?>
56
+ <?php $productload = Mage::getModel('catalog/product')->load($_option['pid']);
57
+ $optionvalues = $productload->getAttributeText('not_for_sale_to');
58
+ $state = implode(", ",$optionvalues);
59
+ if(count($state) > 0)
60
+ {
61
+ $state = $state;
62
+ }
63
+ else if($optionvalues != '')
64
+ {
65
+ $state = $optionvalues;
66
+ }
67
+ ?>
68
+ <?php if($productload->getNot_for_sale_to() && $state != '' && $optionvalues != ''):?>
69
+ <div class="shiprestric">
70
+ <b><?php echo $this->__('Not for Sale To State: ')?></b>
71
+ <span><?php echo "" .$state ?></span>
72
+ </div>
73
+ <?php endif;?>
74
+ <?php endif;?>
75
+
76
+ <?php //end code by ifuturz ?>
77
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
78
+ <div class="truncated_full_value">
79
+ <dl class="item-options">
80
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
81
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
82
+ </dl>
83
+ </div>
84
+ <?php endif; ?>
85
+ </dd>
86
+ <?php endforeach; ?>
87
+ </dl>
88
+ <?php endif;?>
89
+ <?php if ($messages = $this->getMessages()): ?>
90
+ <?php foreach ($messages as $message): ?>
91
+ <p class="item-msg <?php echo $message['type'] ?>">* <?php echo $this->escapeHtml($message['text']) ?></p>
92
+ <?php endforeach; ?>
93
+ <?php endif; ?>
94
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
95
+ <?php if ($addInfoBlock): ?>
96
+ <?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
97
+ <?php endif;?>
98
+ </td>
99
+ <td class="a-center">
100
+ <?php if ($isVisibleProduct): ?>
101
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
102
+ <?php endif ?>
103
+ </td>
104
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
105
+ <td class="a-center">
106
+ <?php if ($isVisibleProduct): ?>
107
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move'); ?></a>
108
+ <?php endif ?>
109
+ </td>
110
+ <?php endif ?>
111
+
112
+ <?php if ($canApplyMsrp): ?>
113
+ <td class="a-right"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
114
+ <span class="cart-price">
115
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
116
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
117
+ <a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
118
+ <script type="text/javascript">
119
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
120
+ </script>
121
+ </span>
122
+ </td>
123
+ <?php else: ?>
124
+
125
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
126
+ <td class="a-right">
127
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
128
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
129
+ <?php else: ?>
130
+ <span class="cart-price">
131
+ <?php endif; ?>
132
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
133
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
134
+ <?php else: ?>
135
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
136
+ <?php endif; ?>
137
+
138
+ </span>
139
+
140
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
141
+
142
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
143
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
144
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
145
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
146
+ <?php endforeach; ?>
147
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
148
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
149
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
150
+ <?php endforeach; ?>
151
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
152
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
153
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
154
+ <?php endforeach; ?>
155
+ <?php endif; ?>
156
+ </div>
157
+
158
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
159
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
160
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
161
+ </div>
162
+ <?php endif; ?>
163
+ <?php endif; ?>
164
+ </td>
165
+ <?php endif; ?><!-- inclusive price starts here -->
166
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
167
+ <td>
168
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
169
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
170
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
171
+ <?php else: ?>
172
+ <span class="cart-price">
173
+ <?php endif; ?>
174
+
175
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
176
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
177
+ <?php else: ?>
178
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
179
+ <?php endif; ?>
180
+
181
+ </span>
182
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
183
+
184
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
185
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
186
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
187
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
188
+ <?php endforeach; ?>
189
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
190
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
191
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
192
+ <?php endforeach; ?>
193
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
194
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
195
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
196
+ <?php endforeach; ?>
197
+ <?php endif; ?>
198
+ </div>
199
+
200
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
201
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
202
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
203
+ </div>
204
+ <?php endif; ?>
205
+ <?php endif; ?>
206
+ </td>
207
+ <?php endif; ?>
208
+ <?php endif; ?>
209
+ <td class="a-center">
210
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
211
+ </td>
212
+
213
+ <!--Sub total starts here -->
214
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
215
+ <td class="a-right">
216
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
217
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
218
+ <?php else: ?>
219
+ <span class="cart-price">
220
+ <?php endif; ?>
221
+
222
+ <?php if ($canApplyMsrp): ?>
223
+ <span class="cart-msrp-subtotal">--</span>
224
+ <?php else: ?>
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
226
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
227
+ <?php else: ?>
228
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
229
+ <?php endif; ?>
230
+ <?php endif; ?>
231
+
232
+ </span>
233
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
234
+
235
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
236
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
237
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
238
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
239
+ <?php endforeach; ?>
240
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
241
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
242
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
243
+ <?php endforeach; ?>
244
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
245
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
246
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
247
+ <?php endforeach; ?>
248
+ <?php endif; ?>
249
+ </div>
250
+
251
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
252
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
253
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
254
+ </div>
255
+ <?php endif; ?>
256
+ <?php endif; ?>
257
+ </td>
258
+ <?php endif; ?>
259
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
260
+ <td>
261
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
262
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
263
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
264
+ <?php else: ?>
265
+ <span class="cart-price">
266
+ <?php endif; ?>
267
+
268
+ <?php if ($canApplyMsrp): ?>
269
+ <span class="cart-msrp-subtotal">--</span>
270
+ <?php else: ?>
271
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
272
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
273
+ <?php else: ?>
274
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
275
+ <?php endif; ?>
276
+ <?php endif; ?>
277
+
278
+ </span>
279
+
280
+
281
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
282
+
283
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
284
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
285
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
286
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
287
+ <?php endforeach; ?>
288
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
289
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
290
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
291
+ <?php endforeach; ?>
292
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
293
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
294
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
295
+ <?php endforeach; ?>
296
+ <?php endif; ?>
297
+ </div>
298
+
299
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
300
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
301
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
302
+ </div>
303
+ <?php endif; ?>
304
+ <?php endif; ?>
305
+ </td>
306
+ <?php endif; ?>
307
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
308
+ </tr>
309
+ <?php else:?><?php //else of version check ?>
310
+ <tr>
311
+ <td class="product-cart-image">
312
+ <?php if ($this->hasProductUrl()):?>
313
+ <a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image">
314
+ <?php endif;?>
315
+ <img src="<?php echo $this->getProductThumbnail()->resize(180); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
316
+ <?php if ($this->hasProductUrl()):?>
317
+ </a>
318
+ <?php endif;?>
319
+
320
+ <ul class="cart-links">
321
+ <?php if ($isVisibleProduct): ?>
322
+ <li>
323
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
324
+ </li>
325
+ <?php endif ?>
326
+
327
+ <?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
328
+ <li>
329
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
330
+ </li>
331
+ <?php endif ?>
332
+ </ul>
333
+ </td>
334
+
335
+ <td class="product-cart-info">
336
+
337
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
338
+
339
+ <h2 class="product-name">
340
+ <?php if ($this->hasProductUrl()):?>
341
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
342
+ <?php else: ?>
343
+ <?php echo $this->escapeHtml($this->getProductName()) ?>
344
+ <?php endif; ?>
345
+ </h2>
346
+ <div class="product-cart-sku">
347
+ <span class="label"><?php echo $this->__('SKU'); ?>:</span> <?php echo $this->escapeHtml($_item->getSku()); ?>
348
+ </div>
349
+
350
+ <?php //start code by ifuturz ?>
351
+ <?php if($productload->getNot_for_sale_to() && $state != '' && $optionvalues != ''):?>
352
+ <div class="shiprestric">
353
+ <b><?php echo $this->__('Not for Sale To State: ')?></b>
354
+ <span><?php echo "" .$state ?></span>
355
+ </div>
356
+ <?php endif;?>
357
+ <?php //end code by ifuturz ?>
358
+
359
+ <?php if ($_options = $this->getOptionList()):?>
360
+ <dl class="item-options">
361
+ <?php foreach ($_options as $_option) : ?>
362
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
363
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
364
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
365
+ <?php //echo "<pre>"; print_r($_option); ?>
366
+ <?php //start code by ifuturz ?>
367
+ <?php if(isset($_option['pid'])): ?>
368
+ <?php $productload = Mage::getModel('catalog/product')->load($_option['pid']);
369
+ $optionvalues = $productload->getAttributeText('not_for_sale_to');
370
+ $state = implode(", ",$optionvalues);
371
+ if(count($state) > 0)
372
+ {
373
+ $state = $state;
374
+ }
375
+ else if($optionvalues != '')
376
+ {
377
+ $state = $optionvalues;
378
+ }
379
+ ?>
380
+ <?php if($productload->getNot_for_sale_to() && $state != '' && $optionvalues != ''):?>
381
+ <div class="shiprestric">
382
+ <b><?php echo $this->__('Not for Sale To State: ')?></b>
383
+ <span><?php echo "" .$state ?></span>
384
+ </div>
385
+ <?php endif;?>
386
+ <?php endif;?>
387
+
388
+ <?php //end code by ifuturz ?>
389
+
390
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
391
+ <div class="truncated_full_value">
392
+ <dl class="item-options">
393
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
394
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
395
+ </dl>
396
+
397
+ </div>
398
+ <?php endif; ?>
399
+ </dd>
400
+ <?php endforeach; ?>
401
+ </dl>
402
+ <?php endif;?>
403
+
404
+ <?php if ($messages = $this->getMessages()): ?>
405
+ <?php foreach ($messages as $message): ?>
406
+ <p class="item-msg <?php echo $message['type'] ?>">
407
+ * <?php echo $this->escapeHtml($message['text']) ?>
408
+ </p>
409
+ <?php endforeach; ?>
410
+ <?php endif; ?>
411
+
412
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
413
+ <?php if ($addInfoBlock): ?>
414
+ <?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
415
+ <?php endif;?>
416
+
417
+ </td>
418
+
419
+ <?php if ($canApplyMsrp): ?>
420
+ <td class="a-center product-cart-price"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
421
+ <span class="cart-price">
422
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
423
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
424
+ <a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
425
+
426
+ <script type="text/javascript">
427
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What&#39;s this?") ?>");
428
+ </script>
429
+
430
+ </span>
431
+ </td>
432
+ <?php else: ?>
433
+
434
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
435
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Excl. Tax'); ?>">
436
+
437
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
438
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
439
+ <?php else: ?>
440
+ <span class="cart-price">
441
+ <?php endif; ?>
442
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
443
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
444
+ <?php else: ?>
445
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
446
+ <?php endif; ?>
447
+
448
+ </span>
449
+
450
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
451
+
452
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
453
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
454
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
455
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
456
+ <?php endforeach; ?>
457
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
458
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
459
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
460
+ <?php endforeach; ?>
461
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
462
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
463
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
464
+ <?php endforeach; ?>
465
+ <?php endif; ?>
466
+ </div>
467
+
468
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
469
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
470
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
471
+ </div>
472
+ <?php endif; ?>
473
+ <?php endif; ?>
474
+ </td>
475
+ <?php endif; ?><!-- inclusive price starts here -->
476
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
477
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Incl. Tax'); ?>">
478
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
479
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
480
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
481
+ <?php else: ?>
482
+ <span class="cart-price">
483
+ <?php endif; ?>
484
+
485
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
486
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
487
+ <?php else: ?>
488
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
489
+ <?php endif; ?>
490
+
491
+ </span>
492
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
493
+
494
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
495
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
496
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
497
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
498
+ <?php endforeach; ?>
499
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
500
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
501
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
502
+ <?php endforeach; ?>
503
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
504
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
505
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
506
+ <?php endforeach; ?>
507
+ <?php endif; ?>
508
+ </div>
509
+
510
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
511
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
512
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
513
+ </div>
514
+ <?php endif; ?>
515
+ <?php endif; ?>
516
+ </td>
517
+ <?php endif; ?>
518
+ <?php endif; ?>
519
+ <td class="product-cart-actions" data-rwd-label="<?php echo $this->__('Qty'); ?>">
520
+ <input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
521
+
522
+ <button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update'); ?></span></span>
523
+ </button>
524
+
525
+ <ul class="cart-links">
526
+ <?php if ($isVisibleProduct): ?>
527
+ <li>
528
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
529
+ </li>
530
+ <?php endif ?>
531
+
532
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
533
+ <li>
534
+ <?php if ($isVisibleProduct): ?>
535
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
536
+ <?php endif ?>
537
+ </li>
538
+ <?php endif ?>
539
+ </ul>
540
+
541
+ </td>
542
+
543
+ <!--Sub total starts here -->
544
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
545
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
546
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
547
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
548
+ <?php else: ?>
549
+ <span class="cart-price">
550
+ <?php endif; ?>
551
+
552
+ <?php if ($canApplyMsrp): ?>
553
+ <span class="cart-msrp-subtotal">--</span>
554
+ <?php else: ?>
555
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
556
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
557
+ <?php else: ?>
558
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
559
+ <?php endif; ?>
560
+ <?php endif; ?>
561
+
562
+ </span>
563
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
564
+
565
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
566
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
567
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
568
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
569
+ <?php endforeach; ?>
570
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
571
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
572
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
573
+ <?php endforeach; ?>
574
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
575
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
576
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
577
+ <?php endforeach; ?>
578
+ <?php endif; ?>
579
+ </div>
580
+
581
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
582
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
583
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
584
+ </div>
585
+ <?php endif; ?>
586
+ <?php endif; ?>
587
+ </td>
588
+ <?php endif; ?>
589
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
590
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
591
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
592
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
593
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
594
+ <?php else: ?>
595
+ <span class="cart-price">
596
+ <?php endif; ?>
597
+
598
+ <?php if ($canApplyMsrp): ?>
599
+ <span class="cart-msrp-subtotal">--</span>
600
+ <?php else: ?>
601
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
602
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
603
+ <?php else: ?>
604
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
605
+ <?php endif; ?>
606
+ <?php endif; ?>
607
+
608
+ </span>
609
+
610
+
611
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
612
+
613
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
614
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
615
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
616
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
617
+ <?php endforeach; ?>
618
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
619
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
620
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
621
+ <?php endforeach; ?>
622
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
623
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
624
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
625
+ <?php endforeach; ?>
626
+ <?php endif; ?>
627
+ </div>
628
+
629
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
630
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
631
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
632
+ </div>
633
+ <?php endif; ?>
634
+ <?php endif; ?>
635
+ </td>
636
+ <?php endif; ?>
637
+ <td class="a-center product-cart-remove">
638
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
639
+ </td>
640
+ </tr>
641
+ <?php endif; ?><?php //endif of version check ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ifuturz_Notforsale</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -23,11 +23,11 @@ Now, on front end when the user buys the product &#x201C;ABC&#x201D;, and he sel
23
  &#xD;
24
  - Even on the check out page, it is also checked that the shipping state is restricted for the specific products. Still, if the user clicks on &#x201C;Place Order&#x201D; button, the popup will appear with the message notifying that the product cannot be shipped to &#x201C;ABC&#x201D; state. &#xD;
25
  </description>
26
- <notes>This is first stable version</notes>
27
  <authors><author><name>Iverve</name><user>iverve</user><email>extension.geek@ifuturz.com</email></author></authors>
28
- <date>2015-01-28</date>
29
- <time>08:48:37</time>
30
- <contents><target name="mageetc"><dir name="modules"><file name="Ifuturz_Notforsale.xml" hash="35344cfeced9cfc344ebcebbe0fae1bf"/></dir></target><target name="magelocal"><dir name="Ifuturz"><dir name="Notforsale"><dir name="Block"><file name="Notforsale.php" hash="48afe8adfbdbdd8cc0d231221c912eda"/></dir><dir name="Helper"><dir name="Catalog"><dir name="Product"><file name="Configuration.php" hash="47706019ff75b8605a6713b4649ce252"/></dir></dir><file name="Data.php" hash="c59ca56fdd9777b9bd9a104e1ad9d3f0"/><dir name="Product"><file name="Configuration.php" hash="dc54fea3cd51a9b88a9a11e382f36582"/></dir></dir><dir name="Model"><file name="Observer.php" hash="18593e5d96ef7dbf6fe033f067dc90c3"/></dir><dir name="controllers"><file name="CartController.php" hash="ad502343e67f787ad31706587df12074"/><file name="IndexController.php" hash="3c529a539ce12dd34792f5874d06fb94"/><file name="OnepageController.php" hash="ef2f8e4ffa2bd42564f6febdbb397332"/></dir><dir name="etc"><file name="config.xml" hash="eb8dfb90191a8580774edcfa4acb8ebb"/></dir><dir name="sql"><dir name="notforsale_setup"><file name="mysql4-install-0.1.0.php" hash="6d59a731a75001a4154a721d944da306"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="notforsale.xml" hash="e43fb16d76de674d5e47a4c61515c516"/></dir></dir></dir></dir></target></contents>
31
  <compatible/>
32
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
33
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ifuturz_Notforsale</name>
4
+ <version>0.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
23
  &#xD;
24
  - Even on the check out page, it is also checked that the shipping state is restricted for the specific products. Still, if the user clicks on &#x201C;Place Order&#x201D; button, the popup will appear with the message notifying that the product cannot be shipped to &#x201C;ABC&#x201D; state. &#xD;
25
  </description>
26
+ <notes>Fixed template file issue</notes>
27
  <authors><author><name>Iverve</name><user>iverve</user><email>extension.geek@ifuturz.com</email></author></authors>
28
+ <date>2015-10-29</date>
29
+ <time>08:31:35</time>
30
+ <contents><target name="mageetc"><dir name="modules"><file name="Ifuturz_Notforsale.xml" hash="35344cfeced9cfc344ebcebbe0fae1bf"/></dir></target><target name="magelocal"><dir name="Ifuturz"><dir name="Notforsale"><dir name="Block"><file name="Notforsale.php" hash="48afe8adfbdbdd8cc0d231221c912eda"/></dir><dir name="Helper"><dir name="Catalog"><dir name="Product"><file name="Configuration.php" hash="47706019ff75b8605a6713b4649ce252"/></dir></dir><file name="Data.php" hash="c59ca56fdd9777b9bd9a104e1ad9d3f0"/><dir name="Product"><file name="Configuration.php" hash="dc54fea3cd51a9b88a9a11e382f36582"/></dir></dir><dir name="Model"><file name="Observer.php" hash="18593e5d96ef7dbf6fe033f067dc90c3"/></dir><dir name="controllers"><file name="CartController.php" hash="ad502343e67f787ad31706587df12074"/><file name="IndexController.php" hash="3c529a539ce12dd34792f5874d06fb94"/><file name="OnepageController.php" hash="ef2f8e4ffa2bd42564f6febdbb397332"/></dir><dir name="etc"><file name="config.xml" hash="eb8dfb90191a8580774edcfa4acb8ebb"/></dir><dir name="sql"><dir name="notforsale_setup"><file name="mysql4-install-0.1.0.php" hash="6d59a731a75001a4154a721d944da306"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="notforsale.xml" hash="e43fb16d76de674d5e47a4c61515c516"/></dir><dir name="template"><dir name="notforsale"><dir><dir name="item"><file name="default.phtml" hash="ca262d152d1b6da74afa5798f3bca30a"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
31
  <compatible/>
32
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
33
  </package>