minewhat - Version 1.0.13

Version Notes

MineWhat magento plugin

Download this release

Release Info

Developer MineWhat Inc.
Extension minewhat
Version 1.0.13
Comparing to
See all releases


Code changes from version 1.0.12 to 1.0.13

app/code/community/MineWhat/Insights/Block/Event/Checkout/Onepage/Success.php CHANGED
@@ -83,6 +83,8 @@ class MineWhat_Insights_Block_Event_Checkout_Onepage_Success extends Mage_Core_B
83
  if (is_object($currency)) {
84
  $orderInfo['currency'] = $currency->getCurrencyCode();
85
  }
 
 
86
 
87
  return $orderInfo;
88
  }
83
  if (is_object($currency)) {
84
  $orderInfo['currency'] = $currency->getCurrencyCode();
85
  }
86
+ $paymentMethod = $order->getPayment()->getMethodInstance()->getTitle();
87
+ $orderInfo['paymentMethod'] = $paymentMethod;
88
 
89
  return $orderInfo;
90
  }
app/code/community/MineWhat/Insights/Helper/Data.php CHANGED
@@ -9,7 +9,7 @@
9
  class MineWhat_Insights_Helper_Data extends Mage_Core_Helper_Data
10
  {
11
 
12
- const CONFIG_ACTIVE = 'minewhat_insights/settings/active';
13
  const CONFIG_BASE_SCRIPT = 'minewhat_insights/settings/base_script';
14
 
15
  public function isModuleEnabled($moduleName = null)
9
  class MineWhat_Insights_Helper_Data extends Mage_Core_Helper_Data
10
  {
11
 
12
+ const CONFIG_ACTIVE = 'minewhat_insights/settings/active';
13
  const CONFIG_BASE_SCRIPT = 'minewhat_insights/settings/base_script';
14
 
15
  public function isModuleEnabled($moduleName = null)
app/code/community/MineWhat/Insights/controllers/ApiController.php ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @category MineWhat
5
+ * @package MineWhat_Insights
6
+ * @copyright Copyright (c) MineWhat
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+
10
+ class MineWhat_Insights_ApiController extends Mage_Core_Controller_Front_Action {
11
+
12
+ const CONFIG_API_KEY = 'minewhat_insights/settings/api_key';
13
+
14
+ public function _authorise() {
15
+
16
+ $API_KEY = Mage::getStoreConfig(self::CONFIG_API_KEY);
17
+
18
+ // Check for api access
19
+ if(!$API_KEY && strlen($API_KEY) === 0) {
20
+ // Api access disabled
21
+ $this->getResponse()
22
+ ->setBody(json_encode(array('status' => 'error', 'message' => 'API access disabled')))
23
+ ->setHttpResponseCode(403)
24
+ ->setHeader('Content-type', 'application/json', true);
25
+ return false;
26
+ }
27
+
28
+ $authHeader = $this->getRequest()->getHeader('authorization');
29
+
30
+ if (!$authHeader) {
31
+ Mage::log('Unable to extract authorization header from request', null, 'minewhat.log');
32
+ // Internal server error
33
+ $this->getResponse()
34
+ ->setBody(json_encode(array('status' => 'error', 'message' => 'Internal server error')))
35
+ ->setHttpResponseCode(500)
36
+ ->setHeader('Content-type', 'application/json', true);
37
+ return false;
38
+ }
39
+
40
+ if(trim($authHeader) !== trim($API_KEY)) {
41
+ // Api access denied
42
+ $this->getResponse()
43
+ ->setBody(json_encode(array('status' => 'error', 'message' => 'Api access denied')))
44
+ ->setHttpResponseCode(401)
45
+ ->setHeader('Content-type', 'application/json', true);
46
+ return false;
47
+ }
48
+
49
+ return true;
50
+
51
+ }
52
+
53
+ public function ordersAction() {
54
+
55
+ try {
56
+
57
+ if(!$this->_authorise()) {
58
+ return $this;
59
+ }
60
+
61
+ $sections = explode('/', trim($this->getRequest()->getPathInfo(), '/'));
62
+
63
+
64
+ if(isset($sections[3])) {
65
+ // Looking for a specific order
66
+ $orderId = $sections[3];
67
+
68
+ $order = Mage::getModel('sales/order')->load($orderId, 'increment_id');
69
+
70
+ $items = array();
71
+
72
+ $orderItems = $order->getItemsCollection()->load();
73
+
74
+ foreach($orderItems as $key => $orderItem) {
75
+ $items[] = array(
76
+ 'name' => $orderItem->getName(),
77
+ 'pid' => $orderItem->getProductId(),
78
+ 'sku' => $orderItem->getSku(),
79
+ 'qty' => $orderItem->getQtyOrdered(),
80
+ 'price' => $orderItem->getPrice()
81
+ );
82
+ }
83
+
84
+ $this->getResponse()
85
+ ->setBody(json_encode(array('order_id' => $orderId, 'items' => $items, 'ip' => $order->getRemoteIp())))
86
+ ->setHttpResponseCode(200)
87
+ ->setHeader('Content-type', 'application/json', true);
88
+ } else {
89
+ // Looking for a list of orders
90
+ $currentTime = time();
91
+ $fromDate = $this->getRequest()->getParam('fromDate', date('Y-m-d', ($currentTime - 86400)));
92
+ $toDate = $this->getRequest()->getParam('toDate', date('Y-m-d', $currentTime));
93
+
94
+ $orders = array();
95
+
96
+ $ordersCollection = Mage::getModel('sales/order')->getCollection()
97
+ //->addFieldToFilter('status', 'complete')
98
+ ->addAttributeToSelect('customer_email')
99
+ ->addAttributeToSelect('created_at')
100
+ ->addAttributeToSelect('increment_id')
101
+ ->addAttributeToSelect('status')
102
+ ->addAttributeToFilter('created_at', array('from' => $fromDate, 'to' => $toDate))
103
+ ;
104
+
105
+ foreach ($ordersCollection as $order) {
106
+ $orders[] = array(
107
+ 'order_id' => $order->getIncrementId(),
108
+ 'status' => $order->getStatus(),
109
+ 'email' => $order->getCustomerEmail(),
110
+ 'created_at' => $order->getCreatedAt()
111
+ );
112
+ }
113
+
114
+ $this->getResponse()
115
+ ->setBody(json_encode(array('orders' => $orders, 'fromDate' => $fromDate, 'toDate' => $toDate)))
116
+ ->setHttpResponseCode(200)
117
+ ->setHeader('Content-type', 'application/json', true);
118
+
119
+ }
120
+
121
+ } catch(Exception $e) {
122
+ $this->getResponse()
123
+ ->setBody(json_encode(array('status' => 'error', 'message' => 'Internal server error')))
124
+ ->setHttpResponseCode(500)
125
+ ->setHeader('Content-type', 'application/json', true);
126
+ }
127
+
128
+ return this;
129
+
130
+ }
131
+
132
+ public function productsAction() {
133
+
134
+ try {
135
+
136
+ if(!$this->_authorise()) {
137
+ return $this;
138
+ }
139
+
140
+ $sections = explode('/', trim($this->getRequest()->getPathInfo(), '/'));
141
+ $products = array();
142
+
143
+ $attributes = array(
144
+ 'name',
145
+ 'sku',
146
+ 'image',
147
+ 'manufacturer',
148
+ 'price',
149
+ 'final_price',
150
+ 'special_price',
151
+ 'short_description'
152
+ );
153
+
154
+ $extras = $this->getRequest()->getParam('extras');
155
+ $allAttrs = $this->getRequest()->getParam('allAttrs', 'false') === 'true';
156
+ if($extras && strlen($extras)) {
157
+ $extras = explode(',', $extras);
158
+ for($i = 0;$i < sizeof($extras);$i++) {
159
+ $extras[$i] = trim($extras[$i]);
160
+ $attributes[] = $extras[$i];
161
+ }
162
+ }
163
+
164
+ if(isset($sections[3])) {
165
+ // Looking for a specific product
166
+ $productId = $sections[3];
167
+
168
+ $product = Mage::getModel('catalog/product')->load($productId);
169
+
170
+ $product = $this->getFormatedProduct($product, $extras, $allAttrs);
171
+ if($product !== null) {
172
+ $products[] = $product;
173
+ }
174
+
175
+ } else {
176
+ // Looking for a list of products
177
+ $limit = $this->getRequest()->getParam('limit', 100);
178
+ $offset = $this->getRequest()->getParam('offset', 1);
179
+
180
+ $productsCollection = Mage::getModel('catalog/product')->getCollection();
181
+ $productsCollection
182
+ ->addAttributeToSelect($attributes)
183
+ ->getSelect()->limit($limit, $offset) //we can specify how many products we want to show on this page
184
+ ;
185
+
186
+ foreach($productsCollection as $product) {
187
+ $product = $this->getFormatedProduct($product, $extras, $allAttrs);
188
+ if($product !== null) {
189
+ $products[] = $product;
190
+ }
191
+ }
192
+
193
+ }
194
+
195
+ $currency = Mage::app()->getStore()->getCurrentCurrencyCode();
196
+
197
+ $this->getResponse()
198
+ ->setBody(json_encode(array('products' => $products, 'currency' => $currency)))
199
+ ->setHttpResponseCode(200)
200
+ ->setHeader('Content-type', 'application/json', true);
201
+
202
+
203
+ } catch(Exception $e) {
204
+ $this->getResponse()
205
+ ->setBody(json_encode(array('status' => 'error', 'message' => 'Internal server error')))
206
+ ->setHttpResponseCode(500)
207
+ ->setHeader('Content-type', 'application/json', true);
208
+ }
209
+
210
+ return $this;
211
+
212
+ }
213
+
214
+ private function getFormatedProduct($product, $extras, $allAttrs) {
215
+
216
+ $formatedProduct = null;
217
+
218
+ try {
219
+ $formatedProduct = array(
220
+ 'id' => $product->getId(),
221
+ 'sku' => $product->getSku(),
222
+ 'name' => $product->getName(),
223
+ 'cat' => array(),
224
+ 'manufacturer' => $product->getAttributeText('manufacturer'),
225
+ 'price' => $product->getPrice(),
226
+ 'final_price' => $product->getFinalPrice(),
227
+ 'special_price' => $product->getSpecialPrice(),
228
+ 'image' => $product->getImageUrl(),
229
+ 'url' => $product->getProductUrl(),
230
+ 'info' => $product->getShortDescription(),
231
+ 'status' => $product->getStatus()
232
+ );
233
+ if(!$formatedProduct['manufacturer'] || strlen($formatedProduct['manufacturer']) === 0) {
234
+ $product = Mage::getModel('catalog/product')->load($product->getId());
235
+ $formatedProduct['manufacturer'] = $product->getAttributeText('manufacturer');
236
+ }
237
+
238
+ if($allAttrs) {
239
+ $attributes = $product->getAttributes();
240
+ foreach($attributes as $key => $value) {
241
+ $formatedProduct['extras'][$key] = $product->getAttributeText($key);
242
+ }
243
+ } else {
244
+ foreach($extras as $key) {
245
+ $formatedProduct['extras'][$key] = $product->getAttributeText($key);
246
+ }
247
+ }
248
+
249
+ $categories = $product->getCategoryCollection()->addAttributeToSelect('name');
250
+ foreach($categories as $category) {
251
+ $formatedProduct['cat'][] = $category->getName();
252
+ }
253
+ } catch(Exception $e) {}
254
+
255
+ return $formatedProduct;
256
+
257
+ }
258
+
259
+ }
app/code/community/MineWhat/Insights/etc/config.xml CHANGED
@@ -31,6 +31,15 @@
31
  </helpers>
32
  </global>
33
  <frontend>
 
 
 
 
 
 
 
 
 
34
  <layout>
35
  <updates>
36
  <minewhat_insights>
31
  </helpers>
32
  </global>
33
  <frontend>
34
+ <routers>
35
+ <minewhat>
36
+ <use>standard</use>
37
+ <args>
38
+ <module>MineWhat_Insights</module>
39
+ <frontName>minewhat</frontName>
40
+ </args>
41
+ </minewhat>
42
+ </routers>
43
  <layout>
44
  <updates>
45
  <minewhat_insights>
app/code/community/MineWhat/Insights/etc/system.xml CHANGED
@@ -43,6 +43,14 @@
43
  <show_in_website>1</show_in_website>
44
  <show_in_store>1</show_in_store>
45
  </base_script>
 
 
 
 
 
 
 
 
46
  </fields>
47
  </settings>
48
  </groups>
43
  <show_in_website>1</show_in_website>
44
  <show_in_store>1</show_in_store>
45
  </base_script>
46
+ <api_key translate="label">
47
+ <label>Api Key</label>
48
+ <frontend_type>text</frontend_type>
49
+ <sort_order>20</sort_order>
50
+ <show_in_default>1</show_in_default>
51
+ <show_in_website>1</show_in_website>
52
+ <show_in_store>1</show_in_store>
53
+ </api_key>
54
  </fields>
55
  </settings>
56
  </groups>
app/design/frontend/base/default/template/minewhat/insights/event/checkout/onepage/success.phtml CHANGED
@@ -14,7 +14,7 @@
14
  <?php foreach ($orderInfo['items'] as $product) { ?>
15
  products.push({pid: '<?php echo $product["id"] ?>', qty: '<?php echo intval($product["qty"]) ?>', sku: '<?php echo $product["sku"] ?>', price: '<?php echo $product["price"] ?>', parent_pid: '<?php echo $product["parentId"] ?>', bundle: '<?php echo json_encode($product["bundle"]) ?>'});
16
  <?php } ?>
17
- _mwapi.push(['trackEvent', 'buy', {products: products, order: {order_number: '<?php echo $orderInfo["orderId"] ?>', created_at: '<?php echo $orderInfo["createdAt"] ?>', email: '<?php echo $orderInfo["email"] ?>'}, platform: 'magento', currency: '<?php echo $orderInfo["currency"] ?>'}]);
18
 
19
  //]]>
20
  </script>
14
  <?php foreach ($orderInfo['items'] as $product) { ?>
15
  products.push({pid: '<?php echo $product["id"] ?>', qty: '<?php echo intval($product["qty"]) ?>', sku: '<?php echo $product["sku"] ?>', price: '<?php echo $product["price"] ?>', parent_pid: '<?php echo $product["parentId"] ?>', bundle: '<?php echo json_encode($product["bundle"]) ?>'});
16
  <?php } ?>
17
+ _mwapi.push(['trackEvent', 'buy', {products: products, order: {order_number: '<?php echo $orderInfo["orderId"] ?>', payment: '<?php echo $orderInfo["paymentMethod"] ?>', created_at: '<?php echo $orderInfo["createdAt"] ?>', email: '<?php echo $orderInfo["email"] ?>'}, platform: 'magento', currency: '<?php echo $orderInfo["currency"] ?>'}]);
18
 
19
  //]]>
20
  </script>
app/design/frontend/default/default/template/minewhat/insights/event/checkout/onepage/success.phtml CHANGED
@@ -14,7 +14,7 @@
14
  <?php foreach ($orderInfo['items'] as $product) { ?>
15
  products.push({pid: '<?php echo $product["id"] ?>', qty: '<?php echo intval($product["qty"]) ?>', sku: '<?php echo $product["sku"] ?>', price: '<?php echo $product["price"] ?>', parent_pid: '<?php echo $product["parentId"] ?>', bundle: '<?php echo json_encode($product["bundle"]) ?>'});
16
  <?php } ?>
17
- _mwapi.push(['trackEvent', 'buy', {products: products, order: {order_number: '<?php echo $orderInfo["orderId"] ?>', created_at: '<?php echo $orderInfo["createdAt"] ?>', email: '<?php echo $orderInfo["email"] ?>'}, platform: 'magento', currency: '<?php echo $orderInfo["currency"] ?>'}]);
18
  //]]>
19
  </script>
20
  <?php } ?>
14
  <?php foreach ($orderInfo['items'] as $product) { ?>
15
  products.push({pid: '<?php echo $product["id"] ?>', qty: '<?php echo intval($product["qty"]) ?>', sku: '<?php echo $product["sku"] ?>', price: '<?php echo $product["price"] ?>', parent_pid: '<?php echo $product["parentId"] ?>', bundle: '<?php echo json_encode($product["bundle"]) ?>'});
16
  <?php } ?>
17
+ _mwapi.push(['trackEvent', 'buy', {products: products, order: {order_number: '<?php echo $orderInfo["orderId"] ?>', payment: '<?php echo $orderInfo["paymentMethod"] ?>', created_at: '<?php echo $orderInfo["createdAt"] ?>', email: '<?php echo $orderInfo["email"] ?>'}, platform: 'magento', currency: '<?php echo $orderInfo["currency"] ?>'}]);
18
  //]]>
19
  </script>
20
  <?php } ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>minewhat</name>
4
- <version>1.0.12</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">osl</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>MineWhat Insights</description>
11
  <notes>MineWhat magento plugin</notes>
12
  <authors><author><name>MineWhat Inc.</name><user>MineWhat</user><email>plugins@minewhat.com</email></author></authors>
13
- <date>2014-09-06</date>
14
- <time>17:40:38</time>
15
- <contents><target name="magecommunity"><dir name="MineWhat"><dir name="Insights"><dir name="Block"><dir name="Base"><file name="Script.php" hash="4af0a2e100d9d33f99125a0a6e64421b"/></dir><dir name="Event"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="e1f3e3e9172a1c42d520f4dd870b54b2"/></dir></dir><dir name="Checkout"><dir name="Cart"><file name="Index.php" hash="fafaf6953262ea2b0bc3092d538c30d1"/></dir><dir name="Onepage"><file name="Success.php" hash="0c314455071a35d765f8447ac7df6a44"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="f55be36b0f6e46f0fccd3a2dee670ec3"/></dir><dir name="Model"><file name="Observer.php" hash="509eb21a74d2693e0aa24d7acd039aae"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f1fb655aac4dc7f71cadb6c7a7e816f8"/><file name="config.xml" hash="dfb8144831b6cee45bba4167076eb266"/><file name="system.xml" hash="75d5165628b2b748a985db0aef1e505d"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="minewhat_insights.xml" hash="81061e0839af5d4f44ca0e4ae5383ab2"/></dir><dir name="template"><dir name="minewhat"><dir name="insights"><dir name="base"><file name="script.phtml" hash="a6b4ecb06d6c40b402ad619425d4493d"/></dir><dir name="event"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="4f4f45eb87b55cf2de64188fcac7f13b"/></dir></dir><dir name="checkout"><dir name="cart"><file name="index.phtml" hash="63393e384b3e8b8f76ccc74fc4db5dec"/></dir><dir name="onepage"><file name="success.phtml" hash="4614dfe802afe6e73b8707b536071912"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="minewhat_insights.xml" hash="81061e0839af5d4f44ca0e4ae5383ab2"/></dir><dir name="template"><dir name="minewhat"><dir name="insights"><dir name="base"><file name="script.phtml" hash="a6b4ecb06d6c40b402ad619425d4493d"/></dir><dir name="event"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="4f4f45eb87b55cf2de64188fcac7f13b"/></dir></dir><dir name="checkout"><dir name="cart"><file name="index.phtml" hash="63393e384b3e8b8f76ccc74fc4db5dec"/></dir><dir name="onepage"><file name="success.phtml" hash="4614dfe802afe6e73b8707b536071912"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MineWhat_Insights.xml" hash="8d2f076cbfcc14688ed800f622869d4b"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.5</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>minewhat</name>
4
+ <version>1.0.13</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">osl</license>
7
  <channel>community</channel>
10
  <description>MineWhat Insights</description>
11
  <notes>MineWhat magento plugin</notes>
12
  <authors><author><name>MineWhat Inc.</name><user>MineWhat</user><email>plugins@minewhat.com</email></author></authors>
13
+ <date>2014-09-20</date>
14
+ <time>17:33:03</time>
15
+ <contents><target name="magecommunity"><dir name="MineWhat"><dir name="Insights"><dir name="Block"><dir name="Base"><file name="Script.php" hash="dd44e43a5954e82cfa5cf47921642624"/></dir><dir name="Event"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="41eb512f4f77a8e127253cf246587f0c"/></dir></dir><dir name="Checkout"><dir name="Cart"><file name="Index.php" hash="fafaf6953262ea2b0bc3092d538c30d1"/></dir><dir name="Onepage"><file name="Success.php" hash="3113839e3b8e2a3f9b75e21f26e7909f"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c9284d372a18c6db27dec077c04296ff"/></dir><dir name="Model"><file name="Observer.php" hash="8f8ffe64147205aebc15670bc819ccb5"/></dir><dir name="controllers"><file name="ApiController.php" hash="486db1b0ab4919ccbc1b8c10c730adc4"/><file name=".DS_Store" hash="bd846b4e5462712bd0f45cffeb689332"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f1fb655aac4dc7f71cadb6c7a7e816f8"/><file name="config.xml" hash="b4443479201149d5ee72c95ca6ffaae5"/><file name="system.xml" hash="d35bf488b0be559ca5cba14633d40b77"/></dir><file name=".DS_Store" hash="3036b74de2dd23100e10bef959e8151e"/></dir><file name=".DS_Store" hash="abac802fc3edbab84baea3833903cfd2"/></dir></target><target name="mageetc"><dir name="modules"><file name="MineWhat_Insights.xml" hash="8d2f076cbfcc14688ed800f622869d4b"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="minewhat"><dir name="insights"><dir name="base"><file name="script.phtml" hash="fe16e289984308941fb830bc97e7cad2"/></dir><dir name="event"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="f4a801140203b524d44a23ac83e5873a"/></dir></dir><dir name="checkout"><dir name="cart"><file name="index.phtml" hash="16cf404c9684e5839270fb0931e8fb3b"/></dir><dir name="onepage"><file name="success.phtml" hash="2e57c97e161ae46db821daba8f421aa5"/></dir></dir></dir></dir></dir></dir><dir name="layout"><file name="minewhat_insights.xml" hash="42a313f2e0ee3792f814abec37227ee0"/></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="minewhat"><dir name="insights"><dir name="base"><file name="script.phtml" hash="fe16e289984308941fb830bc97e7cad2"/></dir><dir name="event"><dir name="catalog"><dir name="product"><file name="view.phtml" hash="f4a801140203b524d44a23ac83e5873a"/></dir></dir><dir name="checkout"><dir name="cart"><file name="index.phtml" hash="16cf404c9684e5839270fb0931e8fb3b"/></dir><dir name="onepage"><file name="success.phtml" hash="d65f509768987584e0ea8e85745c1ffe"/></dir></dir></dir></dir></dir></dir><dir name="layout"><file name="minewhat_insights.xml" hash="42a313f2e0ee3792f814abec37227ee0"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.5</min><max>6.0.0</max></php></required></dependencies>
18
  </package>