Version Notes
Print_Science_Designer_Web_to_Print
Download this release
Release Info
Developer | John Weissberg |
Extension | Print_Science_Designer_Web_to_Print |
Version | 1.0.19 |
Comparing to | |
See all releases |
Code changes from version 1.0.18 to 1.0.19
app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml
CHANGED
@@ -1,283 +1,283 @@
|
|
1 |
-
<?php
|
2 |
-
$_item = $this->getItem();
|
3 |
-
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
4 |
-
$_personalizationHelper = $this->helper('printscience_personalization/output');
|
5 |
-
$window_type = Mage::getStoreConfig('catalog/personalization/window_type');
|
6 |
-
?>
|
7 |
-
<tr>
|
8 |
-
<td>
|
9 |
-
<?php $apiSessionKey = $this->getPersonalizationApiSessionKey() ?>
|
10 |
-
<?php if ($apiSessionKey):?>
|
11 |
-
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
12 |
-
<?php //echo "<pre>"; print_r($personalizationPreviews); echo "</pre>";?>
|
13 |
-
<div class="personalizationGallery" style="height:50px">
|
14 |
-
<?php $class = '' ?>
|
15 |
-
<?php foreach ($personalizationPreviews as $previewImage):
|
16 |
-
if (!$class) { $class = 'class="first"'; }
|
17 |
-
?>
|
18 |
-
<a href="<?php echo $previewImage ?>" rel="fancybox[<?php echo $apiSessionKey ?>]" class="pgImg" target="_blank"><img src="<?php echo $previewImage ?>" hight="100" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
19 |
-
<?php endforeach; ?>
|
20 |
-
</div>
|
21 |
-
|
22 |
-
<div>
|
23 |
-
<?php if ($apiSessionKey):?>
|
24 |
-
<?php if ($window_type=='2'):?>
|
25 |
-
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setPersonalizeLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>', this.form)"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
26 |
-
<?php else: ?>
|
27 |
-
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>')"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
28 |
-
<?php endif; ?>
|
29 |
-
<?php endif; ?>
|
30 |
-
</div>
|
31 |
-
<?php else: ?>
|
32 |
-
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
33 |
-
<?php if(!empty($personalizationPreviews)):?>
|
34 |
-
|
35 |
-
<div class="personalizationGallery">
|
36 |
-
<?php $class = '' ?>
|
37 |
-
<?php foreach ($personalizationPreviews as $previewImage):
|
38 |
-
$imgArray = $previewImage[1]->me;
|
39 |
-
if (!$class) { $class = 'class="first"'; }
|
40 |
-
if($imgArray['string']!='') : ?>
|
41 |
-
<a href="<?php echo $imgArray['string']; ?>" rel="fancybox[<?php echo 'product_image_'.$this->getItem()->getId() ?>]" class="pgImg" target="_blank"><img src="<?php echo $imgArray['string']; ?>" width="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
42 |
-
<?php endif; ?>
|
43 |
-
<?php endforeach; ?>
|
44 |
-
</div>
|
45 |
-
<?php else:?>
|
46 |
-
<?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?>
|
47 |
-
<?php endif; ?>
|
48 |
-
<?php endif; ?>
|
49 |
-
</td>
|
50 |
-
<td>
|
51 |
-
<h2 class="product-name">
|
52 |
-
<?php if ($this->hasProductUrl()):?>
|
53 |
-
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
|
54 |
-
<?php else: ?>
|
55 |
-
<?php echo $this->htmlEscape($this->getProductName()) ?>
|
56 |
-
<?php endif; ?>
|
57 |
-
</h2>
|
58 |
-
<?php /*if($_item->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE):?>
|
59 |
-
<?php $productOptions = $_item->getProduct()->getTypeInstance(true)->getOrderOptions($_item->getProduct());
|
60 |
-
if(is_array($productOptions['info_buyRequest']['bundle_option'])): ?>
|
61 |
-
<dl class="item-options">
|
62 |
-
<?php foreach($productOptions['bundle_options'] as $itemoption) : ?>
|
63 |
-
<dt><?php echo $this->escapeHtml($itemoption['label']) ?></dt>
|
64 |
-
<dd><?php echo $this->escapeHtml($itemoption['value'][0]['qty']) ?> x <?php echo $this->escapeHtml($itemoption['value'][0]['title']) ?> <span class="price"><?php echo Mage::helper('core')->currency($itemoption['value'][0]['price'], true, false); ?></span></dd>
|
65 |
-
<?php endforeach; ?>
|
66 |
-
</dl>
|
67 |
-
<?php endif; ?>
|
68 |
-
<?php else:*/?>
|
69 |
-
<?php if ($_options = $this->getOptionList()):?>
|
70 |
-
<dl class="item-options">
|
71 |
-
<?php foreach ($_options as $_option) : ?>
|
72 |
-
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
73 |
-
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
74 |
-
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
75 |
-
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
76 |
-
<div class="truncated_full_value">
|
77 |
-
<dl class="item-options">
|
78 |
-
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
79 |
-
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
80 |
-
</dl>
|
81 |
-
</div>
|
82 |
-
<?php endif; ?>
|
83 |
-
</dd>
|
84 |
-
<?php endforeach; ?>
|
85 |
-
</dl>
|
86 |
-
<?php endif;?>
|
87 |
-
<?php //endif; ?>
|
88 |
-
<?php if ($messages = $this->getMessages()): ?>
|
89 |
-
<?php foreach ($messages as $message): ?>
|
90 |
-
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
|
91 |
-
<?php endforeach; ?>
|
92 |
-
<?php endif; ?>
|
93 |
-
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
94 |
-
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
95 |
-
<?php endif;?>
|
96 |
-
</td>
|
97 |
-
<td class="a-center">
|
98 |
-
<?php if ($isVisibleProduct): ?>
|
99 |
-
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
100 |
-
<?php endif ?>
|
101 |
-
</td>
|
102 |
-
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
103 |
-
<td class="a-center">
|
104 |
-
<?php if ($isVisibleProduct): ?>
|
105 |
-
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" title="<?php echo $this->__('Move to Wishlist') ?>" class="checkbox" />
|
106 |
-
<?php endif ?>
|
107 |
-
</td>
|
108 |
-
<?php endif ?>
|
109 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
110 |
-
<td class="a-right">
|
111 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
112 |
-
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
113 |
-
<?php else: ?>
|
114 |
-
<span class="cart-price">
|
115 |
-
<?php endif; ?>
|
116 |
-
|
117 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
118 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
119 |
-
<?php else: ?>
|
120 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
121 |
-
<?php endif; ?>
|
122 |
-
|
123 |
-
</span>
|
124 |
-
|
125 |
-
|
126 |
-
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
127 |
-
|
128 |
-
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
129 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
130 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
132 |
-
<?php endforeach; ?>
|
133 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
134 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
135 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
136 |
-
<?php endforeach; ?>
|
137 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
138 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
139 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
140 |
-
<?php endforeach; ?>
|
141 |
-
<?php endif; ?>
|
142 |
-
</div>
|
143 |
-
|
144 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
-
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
146 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
147 |
-
</div>
|
148 |
-
<?php endif; ?>
|
149 |
-
<?php endif; ?>
|
150 |
-
</td>
|
151 |
-
<?php endif; ?>
|
152 |
-
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
153 |
-
<td>
|
154 |
-
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
155 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
-
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
157 |
-
<?php else: ?>
|
158 |
-
<span class="cart-price">
|
159 |
-
<?php endif; ?>
|
160 |
-
|
161 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
162 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
163 |
-
<?php else: ?>
|
164 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
165 |
-
<?php endif; ?>
|
166 |
-
|
167 |
-
</span>
|
168 |
-
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
169 |
-
|
170 |
-
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
171 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
173 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
174 |
-
<?php endforeach; ?>
|
175 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
176 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
177 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
178 |
-
<?php endforeach; ?>
|
179 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
180 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
181 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
182 |
-
<?php endforeach; ?>
|
183 |
-
<?php endif; ?>
|
184 |
-
</div>
|
185 |
-
|
186 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
187 |
-
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
188 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
189 |
-
</div>
|
190 |
-
<?php endif; ?>
|
191 |
-
<?php endif; ?>
|
192 |
-
</td>
|
193 |
-
<?php endif; ?>
|
194 |
-
<td class="a-center">
|
195 |
-
<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" />
|
196 |
-
</td>
|
197 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
198 |
-
<td class="a-right">
|
199 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
-
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
201 |
-
<?php else: ?>
|
202 |
-
<span class="cart-price">
|
203 |
-
<?php endif; ?>
|
204 |
-
|
205 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
206 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
207 |
-
<?php else: ?>
|
208 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
209 |
-
<?php endif; ?>
|
210 |
-
|
211 |
-
</span>
|
212 |
-
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
213 |
-
|
214 |
-
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
215 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
216 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
217 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
218 |
-
<?php endforeach; ?>
|
219 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
220 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
221 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
222 |
-
<?php endforeach; ?>
|
223 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
224 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
225 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
226 |
-
<?php endforeach; ?>
|
227 |
-
<?php endif; ?>
|
228 |
-
</div>
|
229 |
-
|
230 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
231 |
-
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
232 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
233 |
-
</div>
|
234 |
-
<?php endif; ?>
|
235 |
-
<?php endif; ?>
|
236 |
-
</td>
|
237 |
-
<?php endif; ?>
|
238 |
-
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
239 |
-
<td>
|
240 |
-
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
241 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
242 |
-
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
243 |
-
<?php else: ?>
|
244 |
-
<span class="cart-price">
|
245 |
-
<?php endif; ?>
|
246 |
-
|
247 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
248 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
249 |
-
<?php else: ?>
|
250 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
251 |
-
<?php endif; ?>
|
252 |
-
|
253 |
-
</span>
|
254 |
-
|
255 |
-
|
256 |
-
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
257 |
-
|
258 |
-
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
259 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
260 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
261 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
262 |
-
<?php endforeach; ?>
|
263 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
264 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
265 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
266 |
-
<?php endforeach; ?>
|
267 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
268 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
269 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
270 |
-
<?php endforeach; ?>
|
271 |
-
<?php endif; ?>
|
272 |
-
</div>
|
273 |
-
|
274 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
275 |
-
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
276 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
277 |
-
</div>
|
278 |
-
<?php endif; ?>
|
279 |
-
<?php endif; ?>
|
280 |
-
</td>
|
281 |
-
<?php endif; ?>
|
282 |
-
<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>
|
283 |
-
</tr>
|
1 |
+
<?php
|
2 |
+
$_item = $this->getItem();
|
3 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
4 |
+
$_personalizationHelper = $this->helper('printscience_personalization/output');
|
5 |
+
$window_type = Mage::getStoreConfig('catalog/personalization/window_type');
|
6 |
+
?>
|
7 |
+
<tr>
|
8 |
+
<td>
|
9 |
+
<?php $apiSessionKey = $this->getPersonalizationApiSessionKey() ?>
|
10 |
+
<?php if ($apiSessionKey):?>
|
11 |
+
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
12 |
+
<?php //echo "<pre>"; print_r($personalizationPreviews); echo "</pre>";?>
|
13 |
+
<div class="personalizationGallery" style="height:50px">
|
14 |
+
<?php $class = '' ?>
|
15 |
+
<?php foreach ($personalizationPreviews as $previewImage):
|
16 |
+
if (!$class) { $class = 'class="first"'; }
|
17 |
+
?>
|
18 |
+
<a href="<?php echo $previewImage ?>" rel="fancybox[<?php echo $apiSessionKey ?>]" class="pgImg" target="_blank"><img src="<?php echo $previewImage ?>" hight="100" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
19 |
+
<?php endforeach; ?>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div>
|
23 |
+
<?php if ($apiSessionKey):?>
|
24 |
+
<?php if ($window_type=='2'):?>
|
25 |
+
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setPersonalizeLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>', this.form)"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
26 |
+
<?php else: ?>
|
27 |
+
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>')"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
28 |
+
<?php endif; ?>
|
29 |
+
<?php endif; ?>
|
30 |
+
</div>
|
31 |
+
<?php else: ?>
|
32 |
+
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
33 |
+
<?php if(!empty($personalizationPreviews)):?>
|
34 |
+
|
35 |
+
<div class="personalizationGallery">
|
36 |
+
<?php $class = '' ?>
|
37 |
+
<?php foreach ($personalizationPreviews as $previewImage):
|
38 |
+
$imgArray = $previewImage[1]->me;
|
39 |
+
if (!$class) { $class = 'class="first"'; }
|
40 |
+
if($imgArray['string']!='') : ?>
|
41 |
+
<a href="<?php echo $imgArray['string']; ?>" rel="fancybox[<?php echo 'product_image_'.$this->getItem()->getId() ?>]" class="pgImg" target="_blank"><img src="<?php echo $imgArray['string']; ?>" width="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</div>
|
45 |
+
<?php else:?>
|
46 |
+
<?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?>
|
47 |
+
<?php endif; ?>
|
48 |
+
<?php endif; ?>
|
49 |
+
</td>
|
50 |
+
<td>
|
51 |
+
<h2 class="product-name">
|
52 |
+
<?php if ($this->hasProductUrl()):?>
|
53 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
|
54 |
+
<?php else: ?>
|
55 |
+
<?php echo $this->htmlEscape($this->getProductName()) ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
</h2>
|
58 |
+
<?php /*if($_item->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE):?>
|
59 |
+
<?php $productOptions = $_item->getProduct()->getTypeInstance(true)->getOrderOptions($_item->getProduct());
|
60 |
+
if(is_array($productOptions['info_buyRequest']['bundle_option'])): ?>
|
61 |
+
<dl class="item-options">
|
62 |
+
<?php foreach($productOptions['bundle_options'] as $itemoption) : ?>
|
63 |
+
<dt><?php echo $this->escapeHtml($itemoption['label']) ?></dt>
|
64 |
+
<dd><?php echo $this->escapeHtml($itemoption['value'][0]['qty']) ?> x <?php echo $this->escapeHtml($itemoption['value'][0]['title']) ?> <span class="price"><?php echo Mage::helper('core')->currency($itemoption['value'][0]['price'], true, false); ?></span></dd>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</dl>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php else:*/?>
|
69 |
+
<?php if ($_options = $this->getOptionList()):?>
|
70 |
+
<dl class="item-options">
|
71 |
+
<?php foreach ($_options as $_option) : ?>
|
72 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
73 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
74 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
75 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
76 |
+
<div class="truncated_full_value">
|
77 |
+
<dl class="item-options">
|
78 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
79 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
80 |
+
</dl>
|
81 |
+
</div>
|
82 |
+
<?php endif; ?>
|
83 |
+
</dd>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</dl>
|
86 |
+
<?php endif;?>
|
87 |
+
<?php //endif; ?>
|
88 |
+
<?php if ($messages = $this->getMessages()): ?>
|
89 |
+
<?php foreach ($messages as $message): ?>
|
90 |
+
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
|
91 |
+
<?php endforeach; ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
94 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
95 |
+
<?php endif;?>
|
96 |
+
</td>
|
97 |
+
<td class="a-center">
|
98 |
+
<?php if ($isVisibleProduct && !$apiSessionKey): ?>
|
99 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
100 |
+
<?php endif ?>
|
101 |
+
</td>
|
102 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
103 |
+
<td class="a-center">
|
104 |
+
<?php if ($isVisibleProduct && !$apiSessionKey): ?>
|
105 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" title="<?php echo $this->__('Move to Wishlist') ?>" class="checkbox" />
|
106 |
+
<?php endif ?>
|
107 |
+
</td>
|
108 |
+
<?php endif ?>
|
109 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
110 |
+
<td class="a-right">
|
111 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
112 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
113 |
+
<?php else: ?>
|
114 |
+
<span class="cart-price">
|
115 |
+
<?php endif; ?>
|
116 |
+
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
118 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
119 |
+
<?php else: ?>
|
120 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
</span>
|
124 |
+
|
125 |
+
|
126 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
127 |
+
|
128 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
129 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
134 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
135 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
136 |
+
<?php endforeach; ?>
|
137 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
138 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
139 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
<?php endif; ?>
|
142 |
+
</div>
|
143 |
+
|
144 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
146 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
147 |
+
</div>
|
148 |
+
<?php endif; ?>
|
149 |
+
<?php endif; ?>
|
150 |
+
</td>
|
151 |
+
<?php endif; ?>
|
152 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
153 |
+
<td>
|
154 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
157 |
+
<?php else: ?>
|
158 |
+
<span class="cart-price">
|
159 |
+
<?php endif; ?>
|
160 |
+
|
161 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
162 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
163 |
+
<?php else: ?>
|
164 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
165 |
+
<?php endif; ?>
|
166 |
+
|
167 |
+
</span>
|
168 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
169 |
+
|
170 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
173 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
174 |
+
<?php endforeach; ?>
|
175 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
176 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
177 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
180 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
181 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
182 |
+
<?php endforeach; ?>
|
183 |
+
<?php endif; ?>
|
184 |
+
</div>
|
185 |
+
|
186 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
187 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
188 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
189 |
+
</div>
|
190 |
+
<?php endif; ?>
|
191 |
+
<?php endif; ?>
|
192 |
+
</td>
|
193 |
+
<?php endif; ?>
|
194 |
+
<td class="a-center">
|
195 |
+
<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" />
|
196 |
+
</td>
|
197 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
198 |
+
<td class="a-right">
|
199 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
201 |
+
<?php else: ?>
|
202 |
+
<span class="cart-price">
|
203 |
+
<?php endif; ?>
|
204 |
+
|
205 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
207 |
+
<?php else: ?>
|
208 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
209 |
+
<?php endif; ?>
|
210 |
+
|
211 |
+
</span>
|
212 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
213 |
+
|
214 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
215 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
216 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
217 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
218 |
+
<?php endforeach; ?>
|
219 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
221 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
222 |
+
<?php endforeach; ?>
|
223 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
224 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
225 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
226 |
+
<?php endforeach; ?>
|
227 |
+
<?php endif; ?>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
231 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
232 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
233 |
+
</div>
|
234 |
+
<?php endif; ?>
|
235 |
+
<?php endif; ?>
|
236 |
+
</td>
|
237 |
+
<?php endif; ?>
|
238 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
239 |
+
<td>
|
240 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
241 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
242 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
243 |
+
<?php else: ?>
|
244 |
+
<span class="cart-price">
|
245 |
+
<?php endif; ?>
|
246 |
+
|
247 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
248 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
249 |
+
<?php else: ?>
|
250 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
251 |
+
<?php endif; ?>
|
252 |
+
|
253 |
+
</span>
|
254 |
+
|
255 |
+
|
256 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
257 |
+
|
258 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
259 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
260 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
261 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
262 |
+
<?php endforeach; ?>
|
263 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
265 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
266 |
+
<?php endforeach; ?>
|
267 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
268 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
269 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
270 |
+
<?php endforeach; ?>
|
271 |
+
<?php endif; ?>
|
272 |
+
</div>
|
273 |
+
|
274 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
275 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
276 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
277 |
+
</div>
|
278 |
+
<?php endif; ?>
|
279 |
+
<?php endif; ?>
|
280 |
+
</td>
|
281 |
+
<?php endif; ?>
|
282 |
+
<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>
|
283 |
+
</tr>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="f656661efde7a2ee2c92ca8a9dc234a4"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cd3c2c919469c3ad244bb412892a7462"/><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="46e8310a1ea9bcbb46dda6bc973f6812"/><file name="Quote.php" hash="d14fbe62e2a96e4aede13082c16dda30"/><file name="Session.php" hash="0236f26208780df75ca780d40edbe351"/></dir><dir name="Model"><dir name="ApiGateway"><dir name="Response"><file name="Abstract.php" hash="66667fce4c92782faf1d1a92f4c3e339"/><file name="Begin.php" hash="451d64c86ef6aa542ae7cf5949b1b627"/><file name="GetPreview.php" hash="5801403f4c511aa0a97b8273a712e407"/></dir></dir><file name="ApiGateway.php" hash="c88d8c42d0e3745596ca2a39471c73d3"/><file name="Observer.php" hash="3383f137cc7ef688b583cc26151cd21a"/><dir name="Override"><dir name="Checkout"><file name="Cart.php" hash="ccece0a4e9fffd6d4b7f1b1a8a97dbd3"/></dir><dir name="Sales"><file name="Quote.php" hash="58083e79ec32db5ea22e0fa61f3a4bd7"/></dir></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="73bca1105b8c0fa4462823ac6aa2c59b"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir><dir name="Source"><file name="ApiVersion.php" hash="e0248a29ebc88171b7fb51bdbabaca8b"/><file name="WindowType.php" hash="1af16df72f4fcfe959f6f091cd2f6821"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="b13503dcc1e142b8e7b5feebcbc0b63a"/></dir><dir name="etc"><file name="config.xml" hash="48ec9f6e5e5138b5643e47969338e245"/><file name="system.xml" hash="ea5d1935373ddfef8935d5cd26c53066"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.18.php" hash="230e83f81659df712330db959ffbadca"/><file name="mysql4-upgrade-1.0.15-1.0.16.php" hash="e8ebb964b71df807e93a076758211c07"/><file name="mysql4-upgrade-1.0.16-1.0.17.php" hash="e8ebb964b71df807e93a076758211c07"/><file name="mysql4-upgrade-1.0.17-1.0.18.php" hash="230e83f81659df712330db959ffbadca"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></target><target name="magelocale"><dir name="en_US"><file name="PrintScience_Personalization.csv" hash="fc8365124f21bddca4dfac3d3dbf5b7f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="5564f09c0ceaa71db7412be727684d21"/><dir name="view"><file name="addtocart.phtml" hash="ee0af223cca8c873492e2e9624953879"/><file name="media.phtml" hash="d0526045eca0891155f83aa067484178"/></dir><file name="view.phtml" hash="bc39bfa989142e868f2283476c767c2a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
4 |
+
<version>1.0.19</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
13 |
+
<date>2014-05-28</date>
|
14 |
+
<time>10:56:25</time>
|
15 |
+
<contents><target name="magelocal"><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="f656661efde7a2ee2c92ca8a9dc234a4"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cd3c2c919469c3ad244bb412892a7462"/><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="46e8310a1ea9bcbb46dda6bc973f6812"/><file name="Quote.php" hash="d14fbe62e2a96e4aede13082c16dda30"/><file name="Session.php" hash="0236f26208780df75ca780d40edbe351"/></dir><dir name="Model"><dir name="ApiGateway"><dir name="Response"><file name="Abstract.php" hash="66667fce4c92782faf1d1a92f4c3e339"/><file name="Begin.php" hash="451d64c86ef6aa542ae7cf5949b1b627"/><file name="GetPreview.php" hash="5801403f4c511aa0a97b8273a712e407"/></dir></dir><file name="ApiGateway.php" hash="c88d8c42d0e3745596ca2a39471c73d3"/><file name="Observer.php" hash="3383f137cc7ef688b583cc26151cd21a"/><dir name="Override"><dir name="Checkout"><file name="Cart.php" hash="ccece0a4e9fffd6d4b7f1b1a8a97dbd3"/></dir><dir name="Sales"><file name="Quote.php" hash="58083e79ec32db5ea22e0fa61f3a4bd7"/></dir></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="73bca1105b8c0fa4462823ac6aa2c59b"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir><dir name="Source"><file name="ApiVersion.php" hash="e0248a29ebc88171b7fb51bdbabaca8b"/><file name="WindowType.php" hash="1af16df72f4fcfe959f6f091cd2f6821"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="b13503dcc1e142b8e7b5feebcbc0b63a"/></dir><dir name="etc"><file name="config.xml" hash="48ec9f6e5e5138b5643e47969338e245"/><file name="system.xml" hash="ea5d1935373ddfef8935d5cd26c53066"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.18.php" hash="230e83f81659df712330db959ffbadca"/><file name="mysql4-upgrade-1.0.15-1.0.16.php" hash="e8ebb964b71df807e93a076758211c07"/><file name="mysql4-upgrade-1.0.16-1.0.17.php" hash="e8ebb964b71df807e93a076758211c07"/><file name="mysql4-upgrade-1.0.17-1.0.18.php" hash="230e83f81659df712330db959ffbadca"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></target><target name="magelocale"><dir name="en_US"><file name="PrintScience_Personalization.csv" hash="fc8365124f21bddca4dfac3d3dbf5b7f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="5564f09c0ceaa71db7412be727684d21"/><dir name="view"><file name="addtocart.phtml" hash="ee0af223cca8c873492e2e9624953879"/><file name="media.phtml" hash="d0526045eca0891155f83aa067484178"/></dir><file name="view.phtml" hash="bc39bfa989142e868f2283476c767c2a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="900994ca51fd48a0e2ac1d12c654f07e"/></dir></dir><file name="cart.phtml" hash="6988d41b3ebcbc35b6f1f585636fae7b"/></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="04fb01b76f7af6e5fb0616bd1f7d7bd4"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="printscience_personalization.xml" hash="d0934cc5cfaca9e2d6c687f2fb866943"/></dir><dir name="template"><dir name="printscience_personalization"><dir name="sales"><dir name="order"><dir name="view"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="5b6bcdd9bd94afda867429707dd786d3"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="xmlrpc"><file name="xmlrpc.inc" hash="55ecb2a9f7fc20d53a7b4da9d885e26b"/></dir></target><target name="mage"><dir name="js"><dir name="printscience_personalization"><file name="gallery.css" hash="eccacd49a35d68ef25bc1bf8e292fe98"/><file name="gallery.js" hash="d1ce93b3cf8ef950fef1097636f3205e"/><dir name="jquery"><dir name="fancybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.easing-1.3.pack.js" hash="def257dbb0ab805c4996fd8abb1a6b49"/><file name="jquery.fancybox-1.3.4.css" hash="4638ce99ef00cf62bfb22d230f9924b8"/><file name="jquery.fancybox-1.3.4.pack.js" hash="8bc36a08c46719377528d962966ce37c"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir><file name="jquery-1.4.2.min.js" hash="b80a2154ce061c8242031d9a4892c5a6"/><dir name="jquery.cycle"><file name="jquery.cycle.lite.min.js" hash="0c4a7571c05a6ada90b93e826e7f9f6e"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="printscience_personalization"><file name="jquery-1.7.2.min.js" hash="acc0adc6c188845a409bf158d2de4451"/><file name="modalPopLite.css" hash="32dc2c9142fff0c6221c62e3f95b8275"/><file name="modalPopLite.min.js" hash="255d501be44d6c7ac54aa4226d1ce314"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|