Print_Science_Designer_Web_to_Print - Version 1.0.5

Version Notes

-

Download this release

Release Info

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


Code changes from version 1.0.4 to 1.0.5

app/code/local/PrintScience/Personalization/Block/Checkout/Cart/Item/Renderer.php CHANGED
@@ -63,10 +63,16 @@ class PrintScience_Personalization_Block_Checkout_Cart_Item_Renderer extends Mag
63
  public function getPersonalizationPreviews()
64
  {
65
  $default = array();
66
-
67
  $apiSessionKey = $this->getPersonalizationApiSessionKey();
68
  if (!$apiSessionKey) {
69
- return $default;
 
 
 
 
 
 
 
70
  }
71
  $apiResponse = Mage::getModel('printscience_personalization/apiGateway')
72
  ->getPreview($apiSessionKey);
63
  public function getPersonalizationPreviews()
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);
app/code/local/PrintScience/Personalization/Model/Observer.php CHANGED
@@ -211,6 +211,15 @@ class PrintScience_Personalization_Model_Observer
211
  continue;
212
  }
213
 
 
 
 
 
 
 
 
 
 
214
  $quoteItemData = $quoteHelper->getItemData($quoteItem);
215
  if (!$quoteItemData) {
216
  continue;
@@ -218,11 +227,12 @@ class PrintScience_Personalization_Model_Observer
218
 
219
  $apiResponse = $apiGateway->getPreview($quoteItemData['apiSessionKey']);
220
  if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
221
- continue;
222
  }
223
 
224
  $orderHelper->addItemData($orderItem, array(
225
- 'preview_pdf_url' => $apiResponse->getPdfUrl()
 
226
  ));
227
 
228
  $apiGateway->endPersonalization($quoteItemData['apiSessionKey']);
@@ -253,7 +263,7 @@ class PrintScience_Personalization_Model_Observer
253
  break;
254
  }
255
  }
256
- if ($containsPersonalizedItems) {
257
  $layout->getBlock('head')
258
  ->addJs('printscience_personalization/jquery/jquery-1.4.2.min.js')
259
  ->addJs('printscience_personalization/jquery/jquery.cycle/jquery.cycle.lite.min.js')
@@ -261,7 +271,7 @@ class PrintScience_Personalization_Model_Observer
261
  ->addItem('js_css', 'printscience_personalization/jquery/fancybox/jquery.fancybox-1.3.4.css')
262
  ->addJs('printscience_personalization/gallery.js')
263
  ->addItem('js_css', 'printscience_personalization/gallery.css');
264
- }
265
  }
266
 
267
  /**
211
  continue;
212
  }
213
 
214
+ if($personalizationInfo = $quoteItem->getData('personalization_info')){
215
+ $personalizationInfo = unserialize($personalizationInfo);
216
+ if(!empty($personalizationInfo)){
217
+ $orderHelper->addItemData($orderItem,$personalizationInfo);
218
+ }
219
+ continue;
220
+ }
221
+
222
+
223
  $quoteItemData = $quoteHelper->getItemData($quoteItem);
224
  if (!$quoteItemData) {
225
  continue;
227
 
228
  $apiResponse = $apiGateway->getPreview($quoteItemData['apiSessionKey']);
229
  if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
230
+ continue;
231
  }
232
 
233
  $orderHelper->addItemData($orderItem, array(
234
+ 'preview_pdf_url' => $apiResponse->getPdfUrl(),
235
+ 'product_image' =>$apiResponse->getPeviewUrls()
236
  ));
237
 
238
  $apiGateway->endPersonalization($quoteItemData['apiSessionKey']);
263
  break;
264
  }
265
  }
266
+ //if ($containsPersonalizedItems) {
267
  $layout->getBlock('head')
268
  ->addJs('printscience_personalization/jquery/jquery-1.4.2.min.js')
269
  ->addJs('printscience_personalization/jquery/jquery.cycle/jquery.cycle.lite.min.js')
271
  ->addItem('js_css', 'printscience_personalization/jquery/fancybox/jquery.fancybox-1.3.4.css')
272
  ->addJs('printscience_personalization/gallery.js')
273
  ->addItem('js_css', 'printscience_personalization/gallery.css');
274
+ //}
275
  }
276
 
277
  /**
app/code/local/PrintScience/Personalization/Model/Override/Checkout/Cart.php ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class PrintScience_Personalization_Model_Override_Checkout_Cart extends Mage_Checkout_Model_Cart
4
+ {
5
+
6
+ /**
7
+ * Convert order item to quote item
8
+ *
9
+ * @param Mage_Sales_Model_Order_Item $orderItem
10
+ * @param mixed $qtyFlag if is null set product qty like in order
11
+ * @return Mage_Checkout_Model_Cart
12
+ */
13
+ public function addOrderItem($orderItem, $qtyFlag=null)
14
+ {
15
+ /* @var $orderItem Mage_Sales_Model_Order_Item */
16
+ if (is_null($orderItem->getParentItem())) {
17
+ $product = Mage::getModel('catalog/product')
18
+ ->setStoreId(Mage::app()->getStore()->getId())
19
+ ->load($orderItem->getProductId());
20
+ if (!$product->getId()) {
21
+ return $this;
22
+ }
23
+
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());
36
+ } else {
37
+ $info->setQty(1);
38
+ }
39
+
40
+ $this->addProduct($product, $info);
41
+ }
42
+ return $this;
43
+ }
44
+
45
+
46
+
47
+
48
+
49
+ /**
50
+ * Add product to shopping cart (quote)
51
+ *
52
+ * @param int|Mage_Catalog_Model_Product $productInfo
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()) {
64
+ $minimumQty = $product->getStockItem()->getMinSaleQty();
65
+ //If product was not found in cart and there is set minimal qty for it
66
+ if ($minimumQty && $minimumQty > 0 && $request->getQty() < $minimumQty
67
+ && !$this->getQuote()->hasProductId($productId)
68
+ ){
69
+ $request->setQty($minimumQty);
70
+ }
71
+ }
72
+
73
+ if ($productId) {
74
+ try {
75
+ $result = $this->getQuote()->addProduct($product, $request);
76
+ } catch (Mage_Core_Exception $e) {
77
+ $this->getCheckoutSession()->setUseNotice(false);
78
+ $result = $e->getMessage();
79
+ }
80
+ /**
81
+ * String we can get if prepare process has error
82
+ */
83
+ if (is_string($result)) {
84
+ $redirectUrl = ($product->hasOptionsValidationFail())
85
+ ? $product->getUrlModel()->getUrl(
86
+ $product,
87
+ array('_query' => array('startcustomization' => 1))
88
+ )
89
+ : $product->getProductUrl();
90
+ $this->getCheckoutSession()->setRedirectUrl($redirectUrl);
91
+ if ($this->getCheckoutSession()->getUseNotice() === null) {
92
+ $this->getCheckoutSession()->setUseNotice(true);
93
+ }
94
+ Mage::throwException($result);
95
+ }
96
+ } else {
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
+ }
111
+ }
app/code/local/PrintScience/Personalization/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
- <version>1.0.3</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
@@ -22,6 +22,15 @@
22
  </printscience_personalization>
23
  </updates>
24
  </layout>
 
 
 
 
 
 
 
 
 
25
  </frontend>
26
  <adminhtml>
27
  <layout>
@@ -30,13 +39,27 @@
30
  <file>printscience_personalization.xml</file>
31
  </printscience_personalization>
32
  </updates>
33
- </layout>
 
 
 
 
 
 
 
 
 
34
  </adminhtml>
35
  <global>
36
  <models>
37
  <printscience_personalization>
38
  <class>PrintScience_Personalization_Model</class>
39
  </printscience_personalization>
 
 
 
 
 
40
  </models>
41
  <helpers>
42
  <printscience_personalization>
2
  <config>
3
  <modules>
4
  <PrintScience_Personalization>
5
+ <version>1.0.4</version>
6
  </PrintScience_Personalization>
7
  </modules>
8
  <frontend>
22
  </printscience_personalization>
23
  </updates>
24
  </layout>
25
+ <translate>
26
+ <modules>
27
+ <PrintScience_Personalization>
28
+ <files>
29
+ <default>PrintScience_Personalization.csv</default>
30
+ </files>
31
+ </PrintScience_Personalization>
32
+ </modules>
33
+ </translate>
34
  </frontend>
35
  <adminhtml>
36
  <layout>
39
  <file>printscience_personalization.xml</file>
40
  </printscience_personalization>
41
  </updates>
42
+ </layout>
43
+ <translate>
44
+ <modules>
45
+ <PrintScience_Personalization>
46
+ <files>
47
+ <default>PrintScience_Personalization.csv</default>
48
+ </files>
49
+ </PrintScience_Personalization>
50
+ </modules>
51
+ </translate>
52
  </adminhtml>
53
  <global>
54
  <models>
55
  <printscience_personalization>
56
  <class>PrintScience_Personalization_Model</class>
57
  </printscience_personalization>
58
+ <checkout>
59
+ <rewrite>
60
+ <cart>PrintScience_Personalization_Model_Override_Checkout_Cart</cart>
61
+ </rewrite>
62
+ </checkout>
63
  </models>
64
  <helpers>
65
  <printscience_personalization>
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/{Mysql4-install-1.0.3.php → mysql4-install-1.0.3.php} RENAMED
File without changes
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.0.3-1.0.4.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->run("
4
+ ALTER TABLE {$this->getTable('sales/quote_item')} ADD `personalization_info` TEXT NULL
5
+ ");
app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml CHANGED
@@ -18,8 +18,20 @@ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
18
  <button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>')"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
19
  </div>
20
  <?php else: ?>
21
- <?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;?>
22
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
23
  </td>
24
  <td>
25
  <h2 class="product-name">
18
  <button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>')"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
19
  </div>
20
  <?php else: ?>
21
+ <?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
22
+ <?php if(!empty($personalizationPreviews)):?>
23
+
24
+ <div class="personalizationGallery">
25
+ <?php $class = '' ?>
26
+ <?php foreach ($personalizationPreviews as $previewImage): ?>
27
+ <?php if (!$class) { $class = 'class="first"'; } ?>
28
+ <a href="<?php echo $previewImage ?>" rel="fancybox[<?php echo 'product_image_'.$this->getItem()->getId() ?>]" class="pgImg" target="_blank"><img src="<?php echo $previewImage ?>" width="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
29
+ <?php endforeach; ?>
30
+ </div>
31
+ <?php else:?>
32
+ <?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;?>
33
+ <?php endif; ?>
34
+ <?php endif; ?>
35
  </td>
36
  <td>
37
  <h2 class="product-name">
app/locale/en_US/PrintScience_Personalization.csv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ "Invalid request.","Invalid request."
2
+ "Invalid Product.","Invalid Product."
3
+ "Unable to start personalization: template ID is empty.","Unable to start personalization: template ID is empty."
4
+ "Unable to start personalization: API response was empty.","Unable to start personalization: API response was empty."
5
+ "Unable to start personalization: ","Unable to start personalization: "
6
+ "Personalization error: product not found.","Personalization error: product not found."
7
+ "Personalization was not completed.","Personalization was not completed."
8
+ "Personalize","Personalize"
9
+ "Learn More","Learn More"
10
+ "Re-edit","Re-edit"
11
+ "PDF file","PDF file"
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.4</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-02-27</date>
14
- <time>04:04:37</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="bc381f400a32aef7a05898b3a2ba2854"/></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="a1c8c3583ac44629e024c55327fc356c"/><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="cfb09cb9464bbc3f289d492e8a09e0ab"/><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"/></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="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="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="70a0ff8a6397dce80e4615469f847531"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></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.5</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-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>