Print_Science_Designer_Web_to_Print - Version 1.0.6

Version Notes

-

Download this release

Release Info

Developer John Weissberg
Extension Print_Science_Designer_Web_to_Print
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/local/PrintScience/Personalization/Block/Checkout/Cart/Item/Renderer.php CHANGED
@@ -64,19 +64,18 @@ class PrintScience_Personalization_Block_Checkout_Cart_Item_Renderer extends Mag
64
  {
65
  $default = array();
66
  $apiSessionKey = $this->getPersonalizationApiSessionKey();
67
- if (!$apiSessionKey) {
68
- $item = $this->getItem();
 
 
 
 
69
  if($personalizationInfo = $item->getData('personalization_info')){
70
  $personalizationInfo = unserialize($personalizationInfo);
71
- if(!empty($personalizationInfo['product_image'])){
72
- $default = $personalizationInfo['product_image'];
73
  }
74
  }
75
- return $default;
76
- }
77
- $apiResponse = Mage::getModel('printscience_personalization/apiGateway')
78
- ->getPreview($apiSessionKey);
79
- if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
80
  return $default;
81
  }
82
  return $apiResponse->getPeviewUrls();
64
  {
65
  $default = array();
66
  $apiSessionKey = $this->getPersonalizationApiSessionKey();
67
+
68
+ $apiResponse = Mage::getModel('printscience_personalization/apiGateway')
69
+ ->getPreview($apiSessionKey);
70
+ if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
71
+ $item = $this->getItem();
72
+
73
  if($personalizationInfo = $item->getData('personalization_info')){
74
  $personalizationInfo = unserialize($personalizationInfo);
75
+ if(!empty($personalizationInfo['product_images'])){
76
+ $default = $personalizationInfo['product_images'];
77
  }
78
  }
 
 
 
 
 
79
  return $default;
80
  }
81
  return $apiResponse->getPeviewUrls();
app/code/local/PrintScience/Personalization/Helper/Quote.php CHANGED
@@ -57,4 +57,34 @@ class PrintScience_Personalization_Helper_Quote extends Mage_Core_Helper_Abstrac
57
  );
58
  $item->addOption($option);
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
57
  );
58
  $item->addOption($option);
59
  }
60
+
61
+ public function getPersonalizationPreviews($quoteId)
62
+ {
63
+ $default = array();
64
+
65
+ $quoteItemOptions = Mage::getModel('sales/quote_item_option')
66
+ ->getCollection()
67
+ ->addItemFilter($quoteId);
68
+ $quoteItem = Mage::getModel('sales/quote_item')
69
+ ->load($quoteId)
70
+ ->setOptions($quoteItemOptions);
71
+ $personalizationInfo = $this->getItemData($quoteItem);
72
+
73
+ $apiSessionKey = $personalizationInfo['apiSessionKey'];
74
+
75
+ $apiResponse = Mage::getModel('printscience_personalization/apiGateway')
76
+ ->getPreview($apiSessionKey);
77
+ if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
78
+ $item = $this->getItem();
79
+
80
+ if($personalizationInfo = $item->getData('personalization_info')){
81
+ $personalizationInfo = unserialize($personalizationInfo);
82
+ if(!empty($personalizationInfo['product_images'])){
83
+ $default = $personalizationInfo['product_images'];
84
+ }
85
+ }
86
+ return $default;
87
+ }
88
+ return $apiResponse->getPeviewUrls();
89
+ }
90
  }
app/code/local/PrintScience/Personalization/Model/Observer.php CHANGED
@@ -179,6 +179,8 @@ class PrintScience_Personalization_Model_Observer
179
  $quoteItem = $parentItem;
180
  }
181
  $quoteHelper = Mage::helper('printscience_personalization/quote');
 
 
182
  $quoteHelper->addItemData($quoteItem, $sessionData);
183
  }
184
 
@@ -232,7 +234,7 @@ class PrintScience_Personalization_Model_Observer
232
 
233
  $orderHelper->addItemData($orderItem, array(
234
  'preview_pdf_url' => $apiResponse->getPdfUrl(),
235
- 'product_image' =>$apiResponse->getPeviewUrls()
236
  ));
237
 
238
  $apiGateway->endPersonalization($quoteItemData['apiSessionKey']);
@@ -293,7 +295,8 @@ class PrintScience_Personalization_Model_Observer
293
  if (($data) && (isset($data['apiSessionKey']))) {
294
  $apiResponse = $apiGateway->getPreview($data['apiSessionKey']);
295
  if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
296
- $quote->removeItem($item->getItemId());
 
297
  }
298
  }
299
  }
179
  $quoteItem = $parentItem;
180
  }
181
  $quoteHelper = Mage::helper('printscience_personalization/quote');
182
+
183
+
184
  $quoteHelper->addItemData($quoteItem, $sessionData);
185
  }
186
 
234
 
235
  $orderHelper->addItemData($orderItem, array(
236
  'preview_pdf_url' => $apiResponse->getPdfUrl(),
237
+ 'product_images' =>$apiResponse->getPeviewUrls()
238
  ));
239
 
240
  $apiGateway->endPersonalization($quoteItemData['apiSessionKey']);
295
  if (($data) && (isset($data['apiSessionKey']))) {
296
  $apiResponse = $apiGateway->getPreview($data['apiSessionKey']);
297
  if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
298
+ // remove by hieptq
299
+ //$quote->removeItem($item->getItemId());
300
  }
301
  }
302
  }
app/code/local/PrintScience/Personalization/Model/Override/Checkout/Cart.php CHANGED
@@ -24,12 +24,26 @@ class PrintScience_Personalization_Model_Override_Checkout_Cart extends Mage_Che
24
  $info = $orderItem->getProductOptionByCode('info_buyRequest');
25
 
26
  /* add info */
 
 
27
 
28
- $personalizationInfo = $orderItem->getProductOptionByCode('personalization');
 
 
 
 
 
 
 
29
  if(!empty($personalizationInfo)){
30
  $info['personalization'] = $personalizationInfo;
31
  }
32
 
 
 
 
 
 
33
  $info = new Varien_Object($info);
34
  if (is_null($qtyFlag)) {
35
  $info->setQty($orderItem->getQtyOrdered());
@@ -37,7 +51,7 @@ class PrintScience_Personalization_Model_Override_Checkout_Cart extends Mage_Che
37
  $info->setQty(1);
38
  }
39
 
40
- $this->addProduct($product, $info);
41
  }
42
  return $this;
43
  }
@@ -53,11 +67,12 @@ class PrintScience_Personalization_Model_Override_Checkout_Cart extends Mage_Che
53
  * @param mixed $requestInfo
54
  * @return Mage_Checkout_Model_Cart
55
  */
56
- public function addProduct($productInfo, $requestInfo=null)
57
  {
58
 
59
  $product = $this->_getProduct($productInfo);
60
  $request = $this->_getProductRequest($requestInfo);
 
61
  $productId = $product->getId();
62
 
63
  if ($product->getStockItem()) {
@@ -97,14 +112,30 @@ class PrintScience_Personalization_Model_Override_Checkout_Cart extends Mage_Che
97
  Mage::throwException(Mage::helper('checkout')->__('The product does not exist.'));
98
  }
99
 
100
- Mage::dispatchEvent('checkout_cart_product_add_after', array('quote_item' => $result, 'product' => $product));
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
- if($personalizationInfo = $request->getData('personalization')){
103
- $personalizationInfo = serialize($personalizationInfo);
104
- $result->setData('personalization_info',$personalizationInfo);
105
- $result->save();
106
  }
107
 
 
 
 
 
108
  $this->getCheckoutSession()->setLastAddedProductId($productId);
109
  return $this;
110
  }
24
  $info = $orderItem->getProductOptionByCode('info_buyRequest');
25
 
26
  /* add info */
27
+ $quoteHelper = Mage::helper('printscience_personalization/quote');
28
+ //$quoteItem = Mage::getModel('sales/quote_item')->load( $orderItem->getQuoteItemId());
29
 
30
+ $quoteItemOptions = Mage::getModel('sales/quote_item_option')
31
+ ->getCollection()
32
+ ->addItemFilter($orderItem->getQuoteItemId());
33
+ $quoteItem = Mage::getModel('sales/quote_item')
34
+ ->load($orderItem->getQuoteItemId())
35
+ ->setOptions($quoteItemOptions);
36
+
37
+ $personalizationInfo = $quoteHelper->getItemData($quoteItem);
38
  if(!empty($personalizationInfo)){
39
  $info['personalization'] = $personalizationInfo;
40
  }
41
 
42
+ $orderPersonalizationInfo = $orderItem->getProductOptionByCode('personalization');
43
+ if(!empty($orderPersonalizationInfo)){
44
+ $info['order_personalization'] = $orderPersonalizationInfo;
45
+ }
46
+
47
  $info = new Varien_Object($info);
48
  if (is_null($qtyFlag)) {
49
  $info->setQty($orderItem->getQtyOrdered());
51
  $info->setQty(1);
52
  }
53
 
54
+ $this->addProduct2($product, $info);
55
  }
56
  return $this;
57
  }
67
  * @param mixed $requestInfo
68
  * @return Mage_Checkout_Model_Cart
69
  */
70
+ public function addProduct2($productInfo, $requestInfo=null)
71
  {
72
 
73
  $product = $this->_getProduct($productInfo);
74
  $request = $this->_getProductRequest($requestInfo);
75
+
76
  $productId = $product->getId();
77
 
78
  if ($product->getStockItem()) {
112
  Mage::throwException(Mage::helper('checkout')->__('The product does not exist.'));
113
  }
114
 
115
+ if($personalizationInfo = $request->getData('personalization')){
116
+ $value = serialize($personalizationInfo);
117
+ $option = array(
118
+ 'product_id' => $result->getProductId(),
119
+ 'product' => $result->getProduct(),
120
+ 'code' => 'personalization',
121
+ 'value' => $value
122
+ );
123
+
124
+
125
+ $result->addOption($option);
126
+
127
+ }
128
 
129
+ if($orderPersonalizationInfo = $request->getData('order_personalization')){
130
+ $orderPersonalizationInfo = serialize($orderPersonalizationInfo);
131
+
132
+ $result->setData('personalization_info',$orderPersonalizationInfo);
133
  }
134
 
135
+ //Mage::dispatchEvent('checkout_cart_product_add_after', array('quote_item' => $result, 'product' => $product));
136
+
137
+
138
+
139
  $this->getCheckoutSession()->setLastAddedProductId($productId);
140
  return $this;
141
  }
app/code/local/PrintScience/Personalization/Model/Override/Sales/Quote.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class PrintScience_Personalization_Model_Override_Sales_Quote extends Mage_Sales_Model_Quote
3
+ {
4
+ public function updateItem($itemId, $buyRequest, $params = null)
5
+ {
6
+ $item = $this->getItemById($itemId);
7
+ $personalization_session_key = $item->getBuyRequest()->getData('personalization_session_key');
8
+ if(!empty($personalization_session_key)){
9
+ $item->setQty($buyRequest->getQty());
10
+ return $item;
11
+ }
12
+ else{
13
+ return parent::updateItem($itemId, $buyRequest, $params);
14
+ }
15
+ }
16
+ }
app/code/local/PrintScience/Personalization/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
- <version>1.0.4</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
@@ -60,6 +60,11 @@
60
  <cart>PrintScience_Personalization_Model_Override_Checkout_Cart</cart>
61
  </rewrite>
62
  </checkout>
 
 
 
 
 
63
  </models>
64
  <helpers>
65
  <printscience_personalization>
@@ -108,6 +113,15 @@
108
  </printscience_personalization_model_observer>
109
  </observers>
110
  </controller_action_layout_render_before_checkout_cart_index>
 
 
 
 
 
 
 
 
 
111
  <sales_quote_remove_item>
112
  <observers>
113
  <printscience_personalization_model_observer>
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
+ <version>1.0.6</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
60
  <cart>PrintScience_Personalization_Model_Override_Checkout_Cart</cart>
61
  </rewrite>
62
  </checkout>
63
+ <sales>
64
+ <rewrite>
65
+ <quote>PrintScience_Personalization_Model_Override_Sales_Quote</quote>
66
+ </rewrite>
67
+ </sales>
68
  </models>
69
  <helpers>
70
  <printscience_personalization>
113
  </printscience_personalization_model_observer>
114
  </observers>
115
  </controller_action_layout_render_before_checkout_cart_index>
116
+ <controller_action_layout_render_before_checkout_cart_configure>
117
+ <observers>
118
+ <printscience_personalization_model_observer>
119
+ <type>singleton</type>
120
+ <class>printscience_personalization/observer</class>
121
+ <method>initGallery</method>
122
+ </printscience_personalization_model_observer>
123
+ </observers>
124
+ </controller_action_layout_render_before_checkout_cart_configure>
125
  <sales_quote_remove_item>
126
  <observers>
127
  <printscience_personalization_model_observer>
app/design/frontend/base/default/layout/printscience_personalization.xml CHANGED
@@ -21,4 +21,9 @@
21
  <action method="setTemplate"><template>printscience_personalization/catalog/product/list.phtml</template></action>
22
  </reference>
23
  </catalog_category_default>
 
 
 
 
 
24
  </layout>
21
  <action method="setTemplate"><template>printscience_personalization/catalog/product/list.phtml</template></action>
22
  </reference>
23
  </catalog_category_default>
24
+ <checkout_cart_configure>
25
+ <reference name="product.info.media">
26
+ <action method="setTemplate"><template>printscience_personalization/catalog/product/view/media.phtml</template></action>
27
+ </reference>
28
+ </checkout_cart_configure>
29
  </layout>
app/design/frontend/base/default/template/printscience_personalization/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $quoteId = $this->getRequest()->getParam('id');
3
+ $previews = $this->helper('printscience_personalization/quote')->getPersonalizationPreviews($quoteId);
4
+ ?>
5
+ <div class="product-image personalizationGallery">
6
+ <?php if(!empty($previews)):?>
7
+ <?php foreach($previews as $preview):?>
8
+ <img style="width:265px;" src="<?php echo $preview; ?>"/>
9
+ <?php endforeach;?>
10
+ <?php endif;?>
11
+ </div>
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</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Print Science designer component</description>
11
  <notes>-</notes>
12
  <authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
13
- <date>2012-04-24</date>
14
- <time>15:53:13</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="82fea9e0ca348c7656ce39ccb33d193c"/></dir></dir></dir></dir><dir name="Helper"><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="850a4a708a2dd67a5f3f71ee93087740"/><file name="Quote.php" hash="bce0cb9608c7fdb8f128286198472bd5"/><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="bbf2885274837015a49787f7685a2bd6"/></dir></dir><file name="ApiGateway.php" hash="9a3477755c09d271ca5deabae66efed8"/><file name="Observer.php" hash="703625e1ce3b2170b8d311b36f0fa206"/><dir name="Override"><dir name="Checkout"><file name="Cart.php" hash="701d1ebfbb1522046fe3d66ff7cad460"/></dir></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="0b1f152cf26c58a92efe4165dc9b3803"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="99a61366b957002731bb6948c2956839"/></dir><dir name="etc"><file name="config.xml" hash="d924a5aa99a724ebcb8c0c93e36032d0"/><file name="system.xml" hash="9808dd3a40e7a7c24e210b5d95f78507"/></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"/></dir></dir></dir></dir></target><target name="magelib"><dir name="xmlrpc"><file name="xmlrpc.inc" hash="55ecb2a9f7fc20d53a7b4da9d885e26b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="printscience_personalization.xml" hash="02bbc420d579eceee5b83b3fb41a73af"/></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="6dbb5084dc5bce33ee476dae547795f4"/></dir><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="ed9facdc48754e923c89b206003abe8a"/><dir name="view"><file name="addtocart.phtml" hash="c46ece2a25fa12658938f3f2be6a6790"/></dir></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="795a5d66bc63cc51fc65c2612edeb7d1"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></target><target name="mage"><dir name="js"><dir name="printscience_personalization"><file name="gallery.css" hash="eccacd49a35d68ef25bc1bf8e292fe98"/><file name="gallery.js" hash="2157199d26c64a051f3b62530e068401"/><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="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.6</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
10
  <description>Print Science designer component</description>
11
  <notes>-</notes>
12
  <authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
13
+ <date>2012-05-06</date>
14
+ <time>10:32:38</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="b412c0fa9e85b5de92519a2ef1505c56"/></dir></dir></dir></dir><dir name="Helper"><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="850a4a708a2dd67a5f3f71ee93087740"/><file name="Quote.php" hash="9826b6b461d02b6959d4bf70ab3b245d"/><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="bbf2885274837015a49787f7685a2bd6"/></dir></dir><file name="ApiGateway.php" hash="9a3477755c09d271ca5deabae66efed8"/><file name="Observer.php" hash="591094bcccd0baed05321668dc275a20"/><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="0b1f152cf26c58a92efe4165dc9b3803"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="99a61366b957002731bb6948c2956839"/></dir><dir name="etc"><file name="config.xml" hash="3b7e26f7b57c7ffb39e9be7a93de526f"/><file name="system.xml" hash="9808dd3a40e7a7c24e210b5d95f78507"/></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"/></dir></dir></dir></dir></target><target name="magelib"><dir name="xmlrpc"><file name="xmlrpc.inc" hash="55ecb2a9f7fc20d53a7b4da9d885e26b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="printscience_personalization.xml" hash="02bbc420d579eceee5b83b3fb41a73af"/></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="8aaf99ddb5b8f918413fc861ff7c6036"/></dir><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="ed9facdc48754e923c89b206003abe8a"/><dir name="view"><file name="addtocart.phtml" hash="c46ece2a25fa12658938f3f2be6a6790"/><file name="media.phtml" hash="4a978162402c4f7eb894cadddddfb02c"/></dir></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="795a5d66bc63cc51fc65c2612edeb7d1"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></target><target name="mage"><dir name="js"><dir name="printscience_personalization"><file name="gallery.css" hash="eccacd49a35d68ef25bc1bf8e292fe98"/><file name="gallery.js" hash="2157199d26c64a051f3b62530e068401"/><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="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>