Print_Science_Designer_Web_to_Print - Version 1.0.16

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.16
Comparing to
See all releases


Code changes from version 1.0.15 to 1.0.16

app/code/local/PrintScience/Personalization/Block/Checkout/Cart/Item/Renderer.php CHANGED
@@ -96,4 +96,63 @@ class PrintScience_Personalization_Block_Checkout_Cart_Item_Renderer extends Mag
96
  }
97
  return $apiResponse->getPeviewUrls();
98
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  }
96
  }
97
  return $apiResponse->getPeviewUrls();
98
  }
99
+
100
+ /**
101
+ * Accept option value and return its formatted view
102
+ *
103
+ * @param mixed $optionValue
104
+ * Method works well with these $optionValue format:
105
+ * 1. String
106
+ * 2. Indexed array e.g. array(val1, val2, ...)
107
+ * 3. Associative array, containing additional option info, including option value, e.g.
108
+ * array
109
+ * (
110
+ * [label] => ...,
111
+ * [value] => ...,
112
+ * [print_value] => ...,
113
+ * [option_id] => ...,
114
+ * [option_type] => ...,
115
+ * [custom_view] =>...,
116
+ * )
117
+ *
118
+ * @return array
119
+ */
120
+ public function getFormatedOptionValue($optionValue)
121
+ {
122
+ /* @var $helper Mage_Catalog_Helper_Product_Configuration */
123
+ $helper = Mage::helper('catalog/product_configuration');
124
+ $params = array(
125
+ 'max_length' => 55,
126
+ 'cut_replacer' => ' <a href="#" class="dots" onclick="return false">...</a>'
127
+ );
128
+ return $helper->getFormattedOptionValue($optionValue, $params);
129
+ }
130
+
131
+ /**
132
+ * Get list of all otions for product
133
+ *
134
+ * @return array
135
+ */
136
+ public function getOptionList()
137
+ {
138
+ if($this->getItem()->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE){
139
+ return Mage::helper('bundle/catalog_product_configuration')->getOptions($this->getItem());
140
+ } else {
141
+ return $this->getProductOptions();
142
+ }
143
+ }
144
+
145
+ /**
146
+ * Get product customize options
147
+ *
148
+ * @return array || false
149
+ */
150
+ public function getProductOptions()
151
+ {
152
+ //echo "<br>22222222222-----".$this->getItem()->getProduct()->getId();
153
+ //echo "<pre>".print_r($this->getItem())."</pre>";
154
+ /* @var $helper Mage_Catalog_Helper_Product_Configuration */
155
+ $helper = Mage::helper('catalog/product_configuration');
156
+ return $helper->getCustomOptions($this->getItem());
157
+ }
158
  }
app/code/local/PrintScience/Personalization/Helper/Output.php CHANGED
@@ -54,7 +54,11 @@ class PrintScience_Personalization_Helper_Output extends Mage_Core_Helper_Abstra
54
 
55
  return true;
56
 
57
- }
 
 
 
 
58
 
59
  }
60
 
54
 
55
  return true;
56
 
57
+ } elseif ($productTypeId == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) {
58
+
59
+ return $product->getPersonalizationEnabled();
60
+
61
+ }
62
 
63
  }
64
 
app/code/local/PrintScience/Personalization/Model/Observer.php CHANGED
@@ -76,6 +76,10 @@ class PrintScience_Personalization_Model_Observer
76
  if ((!$product) || (!$product->getPersonalizationEnabled())) {
77
  return false;
78
  }
 
 
 
 
79
  } else {
80
  return false;
81
  }
@@ -169,7 +173,8 @@ class PrintScience_Personalization_Model_Observer
169
 
170
  $quoteItem = $observer->getEvent()->getData('quote_item');
171
  $productItem = Mage::getModel('catalog/product')->load($quoteItem->getProduct()->getId());
172
- if ((!$productItem->getPersonalizationEnabled()) || (!$sessionKey)) {
 
173
  return false;
174
  }
175
 
@@ -317,4 +322,28 @@ class PrintScience_Personalization_Model_Observer
317
  $datasHelper->_redirectToUrl($checkOutUrl, "1");
318
  exit;
319
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  }
76
  if ((!$product) || (!$product->getPersonalizationEnabled())) {
77
  return false;
78
  }
79
+ } elseif ($productTypeId == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) {
80
+ if (!$product->getPersonalizationEnabled()) {
81
+ return false;
82
+ }
83
  } else {
84
  return false;
85
  }
173
 
174
  $quoteItem = $observer->getEvent()->getData('quote_item');
175
  $productItem = Mage::getModel('catalog/product')->load($quoteItem->getProduct()->getId());
176
+ if (!$sessionKey) {
177
+ //if ((!$productItem->getPersonalizationEnabled()) || (!$sessionKey)) {
178
  return false;
179
  }
180
 
322
  $datasHelper->_redirectToUrl($checkOutUrl, "1");
323
  exit;
324
  }
325
+
326
+ /**
327
+ * Converts attribute set name of current product to nice name ([a-z0-9_]+).
328
+ * Adds layout handle PRODUCT_ATTRIBUTE_SET_<attribute_set_nicename> after
329
+ * PRODUCT_TYPE_<product_type_id> handle
330
+ *
331
+ * Event: controller_action_layout_load_before
332
+ *
333
+ * @param Varien_Event_Observer $observer
334
+ */
335
+ public function addAttributeSetHandle(Varien_Event_Observer $observer)
336
+ {
337
+ $product = Mage::registry('current_product');
338
+ $datasHelper = Mage::helper('printscience_personalization/output');
339
+
340
+ if (!($product instanceof Mage_Catalog_Model_Product)) {
341
+ return;
342
+ }
343
+
344
+ if($datasHelper->isPersonalizationEnabled($product)) {
345
+ Mage::app()->getLayout()->getUpdate()->addHandle('catalog_product_view_personalization_handle');
346
+ Mage::app()->getLayout()->getUpdate()->addHandle('catalog_product_addtocart_personalization_handle');
347
+ }
348
+ }
349
  }
app/code/local/PrintScience/Personalization/controllers/IndexController.php CHANGED
@@ -89,7 +89,11 @@ class PrintScience_Personalization_IndexController extends Mage_Core_Controller_
89
  if ((!$product) || (!$product->getPersonalizationEnabled())) {
90
  $isValidProduct = false;
91
  }
92
- } else {
 
 
 
 
93
  $isValidProduct = false;
94
  }
95
 
89
  if ((!$product) || (!$product->getPersonalizationEnabled())) {
90
  $isValidProduct = false;
91
  }
92
+ } elseif ($productTypeId == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) {
93
+ if (!$product->getPersonalizationEnabled()) {
94
+ $isValidProduct = false;
95
+ }
96
+ } else {
97
  $isValidProduct = false;
98
  }
99
 
app/code/local/PrintScience/Personalization/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
- <version>1.0.15</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
@@ -153,7 +153,15 @@
153
  <method>checkCartItems</method>
154
  </printscience_personalization_model_observer>
155
  </observers>
156
- </sales_quote_load_after>
 
 
 
 
 
 
 
 
157
  </events>
158
  <resources>
159
  <printscience_personalization_setup>
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
+ <version>1.0.16</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
153
  <method>checkCartItems</method>
154
  </printscience_personalization_model_observer>
155
  </observers>
156
+ </sales_quote_load_after>
157
+ <controller_action_layout_load_before>
158
+ <observers>
159
+ <attributesethandle>
160
+ <class>printscience_personalization/observer</class>
161
+ <method>addAttributeSetHandle</method>
162
+ </attributesethandle>
163
+ </observers>
164
+ </controller_action_layout_load_before>
165
  </events>
166
  <resources>
167
  <printscience_personalization_setup>
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-install-1.0.16.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->installEntities();
4
+
5
+ $installer->run("
6
+ ALTER TABLE {$this->getTable('sales/quote_item')} ADD `personalization_info` TEXT NULL
7
+ ");
8
+
9
+ $installer->startSetup();
10
+ $installer->updateAttribute('catalog_product', 'personalization_template_id', 'apply_to', implode(',',array('simple','bundle')));
11
+ $installer->updateAttribute('catalog_product', 'personalization_enabled', 'apply_to', implode(',',array('simple','bundle')));
12
+ $installer->endSetup();
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-install-1.0.3.php DELETED
@@ -1,3 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->installEntities();
 
 
 
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.0.15-1.0.16.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->installEntities();
4
+
5
+ $installer->run("
6
+ ALTER TABLE {$this->getTable('sales/quote_item')} ADD `personalization_info` TEXT NULL
7
+ ");
8
+
9
+ $installer->startSetup();
10
+ $installer->updateAttribute('catalog_product', 'personalization_template_id', 'apply_to', implode(',',array('simple','configurable','bundle')));
11
+ $installer->updateAttribute('catalog_product', 'personalization_enabled', 'apply_to', implode(',',array('simple','configurable','bundle')));
12
+ $installer->endSetup();
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.0.3-1.0.4.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->run("
4
- ALTER TABLE {$this->getTable('sales/quote_item')} ADD `personalization_info` TEXT NULL
5
- ");
 
 
 
 
 
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.0.8-1.0.9.php DELETED
@@ -1,6 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $installer->updateAttribute('catalog_product', 'personalization_template_id', 'apply_to', implode(',',array('simple','configurable')));
5
- $installer->updateAttribute('catalog_product', 'personalization_enabled', 'apply_to', implode(',',array('simple','configurable')));
6
- $installer->endSetup();
 
 
 
 
 
 
app/design/frontend/base/default/layout/printscience_personalization.xml CHANGED
@@ -1,16 +1,20 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <catalog_product_view>
 
 
 
 
 
 
 
 
 
 
4
  <reference name="head">
5
  <action method="addItem"><type>skin_css</type><name>printscience_personalization/modalPopLite.css</name></action>
6
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/jquery-1.7.2.min.js</name></action>
7
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/modalPopLite.min.js</name></action>
8
- </reference>
9
- <reference name="product.info">
10
- <action method="setTemplate"><template>printscience_personalization/catalog/product/view.phtml</template></action>
11
- </reference>
12
- <reference name="product.info.addtocart">
13
- <action method="setTemplate"><template>printscience_personalization/catalog/product/view/addtocart.phtml</template></action>
14
  </reference>
15
  </catalog_product_view>
16
  <checkout_cart_index>
@@ -19,8 +23,10 @@
19
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/modalPopLite.min.js</name></action>
20
  </reference>
21
  <reference name="checkout.cart">
 
22
  <action method="addItemRender"><type>simple</type><block>printscience_personalization/checkout_cart_item_renderer</block><template>printscience_personalization/checkout/cart/item/default.phtml</template></action>
23
  <action method="addItemRender"><type>configurable</type><block>printscience_personalization/checkout_cart_item_renderer</block><template>printscience_personalization/checkout/cart/item/default.phtml</template></action>
 
24
  </reference>
25
  <reference name="checkout.cart">
26
  <action method="setTemplate"><template>printscience_personalization/checkout/cart.phtml</template></action>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <catalog_product_view_personalization_handle>
4
+ <reference name="product.info">
5
+ <action method="setTemplate"><template>printscience_personalization/catalog/product/view.phtml</template></action>
6
+ </reference>
7
+ </catalog_product_view_personalization_handle>
8
+ <catalog_product_addtocart_personalization_handle>
9
+ <reference name="product.info.addtocart">
10
+ <action method="setTemplate"><template>printscience_personalization/catalog/product/view/addtocart.phtml</template></action>
11
+ </reference>
12
+ </catalog_product_addtocart_personalization_handle>
13
+ <catalog_product_view>
14
  <reference name="head">
15
  <action method="addItem"><type>skin_css</type><name>printscience_personalization/modalPopLite.css</name></action>
16
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/jquery-1.7.2.min.js</name></action>
17
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/modalPopLite.min.js</name></action>
 
 
 
 
 
 
18
  </reference>
19
  </catalog_product_view>
20
  <checkout_cart_index>
23
  <action method="addItem"><type>skin_js</type><name>printscience_personalization/modalPopLite.min.js</name></action>
24
  </reference>
25
  <reference name="checkout.cart">
26
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
27
  <action method="addItemRender"><type>simple</type><block>printscience_personalization/checkout_cart_item_renderer</block><template>printscience_personalization/checkout/cart/item/default.phtml</template></action>
28
  <action method="addItemRender"><type>configurable</type><block>printscience_personalization/checkout_cart_item_renderer</block><template>printscience_personalization/checkout/cart/item/default.phtml</template></action>
29
+ <action method="addItemRender"><type>bundle</type><block>printscience_personalization/checkout_cart_item_renderer</block><template>printscience_personalization/checkout/cart/item/default.phtml</template></action>
30
  </reference>
31
  <reference name="checkout.cart">
32
  <action method="setTemplate"><template>printscience_personalization/checkout/cart.phtml</template></action>
app/design/frontend/base/default/template/printscience_personalization/catalog/product/list.phtml CHANGED
@@ -64,14 +64,14 @@
64
  <?php echo $this->getReviewsSummaryHtml($_product) ?>
65
  <?php endif; ?>
66
  <?php echo $this->getPriceHtml($_product, true) ?>
67
- <?php if ($_personalizationHelper->isPersonalizationEnabled($_product)): ?>
68
  <?php $buttonTitle = $this->__('Personalize'); ?>
69
  <?php else: ?>
70
  <?php $buttonTitle = $this->__('Add to Cart'); ?>
71
  <?php endif; ?>
72
  <?php if($_product->isSaleable()): ?>
73
 
74
- <?php if ($_personalizationHelper->isPersonalizationEnabled($_product)): ?>
75
  <?php if ($window_type=='2'):?>
76
  <?php if(strpos($this->getAddToCartUrl($_product), "uenc")!==false): ?>
77
  <p><button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="setPersonalizeLocation('<?php echo $this->getAddToCartUrl($_product) ?>', jQuery(this.form))"><span><span><?php echo $buttonTitle ?></span></span></button></p>
@@ -125,13 +125,13 @@
125
  <?php endif; ?>
126
  <?php echo $this->getPriceHtml($_product, true) ?>
127
  <div class="actions">
128
- <?php if ($_personalizationHelper->isPersonalizationEnabled($_product)): ?>
129
  <?php $buttonTitle = $this->__('Personalize'); ?>
130
  <?php else: ?>
131
  <?php $buttonTitle = $this->__('Add to Cart'); ?>
132
  <?php endif; ?>
133
  <?php if($_product->isSaleable()): ?>
134
- <?php if ($_personalizationHelper->isPersonalizationEnabled($_product)): ?>
135
  <?php if ($window_type=='2'):?>
136
  <?php if(strpos($this->getAddToCartUrl($_product), "uenc")!==false): ?>
137
  <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="setPersonalizeLocation('<?php echo $this->getAddToCartUrl($_product) ?>', jQuery(this.form))"><span><span><?php echo $buttonTitle ?></span></span></button>
64
  <?php echo $this->getReviewsSummaryHtml($_product) ?>
65
  <?php endif; ?>
66
  <?php echo $this->getPriceHtml($_product, true) ?>
67
+ <?php if ($_personalizationHelper->isPersonalizationEnabled($_product) && $_product->getTypeID() != Mage_Catalog_Model_Product_Type::TYPE_BUNDLE): ?>
68
  <?php $buttonTitle = $this->__('Personalize'); ?>
69
  <?php else: ?>
70
  <?php $buttonTitle = $this->__('Add to Cart'); ?>
71
  <?php endif; ?>
72
  <?php if($_product->isSaleable()): ?>
73
 
74
+ <?php if ($_personalizationHelper->isPersonalizationEnabled($_product) && $_product->getTypeID() != Mage_Catalog_Model_Product_Type::TYPE_BUNDLE): ?>
75
  <?php if ($window_type=='2'):?>
76
  <?php if(strpos($this->getAddToCartUrl($_product), "uenc")!==false): ?>
77
  <p><button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="setPersonalizeLocation('<?php echo $this->getAddToCartUrl($_product) ?>', jQuery(this.form))"><span><span><?php echo $buttonTitle ?></span></span></button></p>
125
  <?php endif; ?>
126
  <?php echo $this->getPriceHtml($_product, true) ?>
127
  <div class="actions">
128
+ <?php if ($_personalizationHelper->isPersonalizationEnabled($_product) && $_product->getTypeID() != Mage_Catalog_Model_Product_Type::TYPE_BUNDLE): ?>
129
  <?php $buttonTitle = $this->__('Personalize'); ?>
130
  <?php else: ?>
131
  <?php $buttonTitle = $this->__('Add to Cart'); ?>
132
  <?php endif; ?>
133
  <?php if($_product->isSaleable()): ?>
134
+ <?php if ($_personalizationHelper->isPersonalizationEnabled($_product) && $_product->getTypeID() != Mage_Catalog_Model_Product_Type::TYPE_BUNDLE): ?>
135
  <?php if ($window_type=='2'):?>
136
  <?php if(strpos($this->getAddToCartUrl($_product), "uenc")!==false): ?>
137
  <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="setPersonalizeLocation('<?php echo $this->getAddToCartUrl($_product) ?>', jQuery(this.form))"><span><span><?php echo $buttonTitle ?></span></span></button>
app/design/frontend/base/default/template/printscience_personalization/catalog/product/view/media.phtml CHANGED
@@ -1,61 +1,61 @@
1
- <?php
2
- $quoteId = $this->getRequest()->getParam('id');
3
- $previews = $this->helper('printscience_personalization/quote')->getPersonalizationPreviews($quoteId);
4
- ?>
5
- <?php if(!empty($previews)):?>
6
- <div class="product-image personalizationGallery">
7
-
8
- <?php foreach($previews as $preview):?>
9
- <img style="width:265px;" src="<?php echo $preview; ?>"/>
10
- <?php endforeach;?>
11
- </div>
12
- <?php else:?>
13
-
14
- <?php
15
- $_product = $this->getProduct();
16
- $_helper = $this->helper('catalog/output');
17
- ?>
18
- <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
19
- <p class="product-image product-image-zoom">
20
- <?php
21
- $_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
22
- echo $_helper->productAttribute($_product, $_img, 'image');
23
- ?>
24
- </p>
25
- <p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
26
- <div class="zoom">
27
- <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
28
- <div id="track">
29
- <div id="handle"></div>
30
- </div>
31
- <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
32
- </div>
33
- <script type="text/javascript">
34
- //<![CDATA[
35
- Event.observe(window, 'load', function() {
36
- product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
37
- });
38
- //]]>
39
- </script>
40
- <?php else: ?>
41
- <p class="product-image">
42
- <?php
43
- $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
44
- echo $_helper->productAttribute($_product, $_img, 'image');
45
- ?>
46
- </p>
47
- <?php endif; ?>
48
- <?php if (count($this->getGalleryImages()) > 0): ?>
49
- <div class="more-views">
50
- <h2><?php echo $this->__('More Views') ?></h2>
51
- <ul>
52
- <?php foreach ($this->getGalleryImages() as $_image): ?>
53
- <li>
54
- <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(56); ?>" width="56" height="56" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
55
- </li>
56
- <?php endforeach; ?>
57
- </ul>
58
- </div>
59
- <?php endif; ?>
60
-
61
- <?php endif;?>
1
+ <?php
2
+ $quoteId = $this->getRequest()->getParam('id');
3
+ $previews = $this->helper('printscience_personalization/quote')->getPersonalizationPreviews($quoteId);
4
+ ?>
5
+ <?php if(!empty($previews)):?>
6
+ <div class="product-image personalizationGallery">
7
+
8
+ <?php foreach($previews as $preview):?>
9
+ <img style="width:265px;" src="<?php echo $preview; ?>"/>
10
+ <?php endforeach;?>
11
+ </div>
12
+ <?php else:?>
13
+
14
+ <?php
15
+ $_product = $this->getProduct();
16
+ $_helper = $this->helper('catalog/output');
17
+ ?>
18
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
19
+ <p class="product-image product-image-zoom">
20
+ <?php
21
+ $_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
22
+ echo $_helper->productAttribute($_product, $_img, 'image');
23
+ ?>
24
+ </p>
25
+ <p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
26
+ <div class="zoom">
27
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
28
+ <div id="track">
29
+ <div id="handle"></div>
30
+ </div>
31
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
32
+ </div>
33
+ <script type="text/javascript">
34
+ //<![CDATA[
35
+ Event.observe(window, 'load', function() {
36
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
37
+ });
38
+ //]]>
39
+ </script>
40
+ <?php else: ?>
41
+ <p class="product-image">
42
+ <?php
43
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
44
+ echo $_helper->productAttribute($_product, $_img, 'image');
45
+ ?>
46
+ </p>
47
+ <?php endif; ?>
48
+ <?php if (count($this->getGalleryImages()) > 0): ?>
49
+ <div class="more-views">
50
+ <h2><?php echo $this->__('More Views') ?></h2>
51
+ <ul>
52
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
53
+ <li>
54
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(56); ?>" width="56" height="56" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
55
+ </li>
56
+ <?php endforeach; ?>
57
+ </ul>
58
+ </div>
59
+ <?php endif; ?>
60
+
61
+ <?php endif;?>
app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml CHANGED
@@ -8,26 +8,26 @@ $window_type = Mage::getStoreConfig('catalog/personalization/window_type');
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)):?>
@@ -55,24 +55,36 @@ $window_type = Mage::getStoreConfig('catalog/personalization/window_type');
55
  <?php echo $this->htmlEscape($this->getProductName()) ?>
56
  <?php endif; ?>
57
  </h2>
58
- <?php if ($_options = $this->getOptionList()):?>
59
- <dl class="item-options">
60
- <?php foreach ($_options as $_option) : ?>
61
- <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
62
- <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
63
- <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
64
- <?php if (isset($_formatedOptionValue['full_view'])): ?>
65
- <div class="truncated_full_value">
66
- <dl class="item-options">
67
- <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
68
- <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
69
- </dl>
70
- </div>
71
- <?php endif; ?>
72
- </dd>
73
- <?php endforeach; ?>
74
- </dl>
75
- <?php endif;?>
 
 
 
 
 
 
 
 
 
 
 
 
76
  <?php if ($messages = $this->getMessages()): ?>
77
  <?php foreach ($messages as $message): ?>
78
  <p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
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)):?>
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>
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.15</version>
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-01-20</date>
14
- <time>07:26:29</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="ed6e20240327913534ae3d93debe5101"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cd3c2c919469c3ad244bb412892a7462"/><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="3f173352807815abaf443da359de935e"/><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="8aff4eadf568df85125ec2340599e720"/><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="c266982327554278526fc2bc02fa2820"/></dir><dir name="etc"><file name="config.xml" hash="e7008fe053b55655d44ede86ce5623db"/><file name="system.xml" hash="ea5d1935373ddfef8935d5cd26c53066"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.3.php" hash="7895f0369177cb6dab9911d7820647b4"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="d952675034fdd05650ef978dccbc05fd"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="2e7cd11df78d3742d95f5264a2f34f07"/></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="magedesign"><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><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="printscience_personalization.xml" hash="762502407374156d41802de045d780e0"/></dir><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="df34148e4bf01000bb445a02e887b8a6"/><dir name="view"><file name="addtocart.phtml" hash="ee0af223cca8c873492e2e9624953879"/><file name="media.phtml" hash="c1350af91c896b3a621a4ddc9bb9e219"/></dir><file name="view.phtml" hash="bc39bfa989142e868f2283476c767c2a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f36d9b822f54a543fcbcc7af06326379"/></dir></dir><file name="cart.phtml" hash="e89ff28600d85d6ecaa4ef2254c6852b"/></dir></dir></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><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></contents>
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.16</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-03-06</date>
14
+ <time>13:41:21</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="f4d99bfbae16b1060c5fdd06cdb18cae"/><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="91468dfb2ffea5a7547f5e2e80c2b70d"/><file name="system.xml" hash="ea5d1935373ddfef8935d5cd26c53066"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.16.php" hash="dfc29c7bdc13118d2badf05454e25893"/><file name="mysql4-upgrade-1.0.15-1.0.16.php" hash="b39e3c7d9cb2bf6192e6a5d25e8867aa"/></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="09e95e8e1b8b10d65a19bc873aa0d637"/></dir></dir><file name="cart.phtml" hash="e89ff28600d85d6ecaa4ef2254c6852b"/></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="3311402ff6a0b9f5615a6da5ee078be3"/></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>