Version Notes
Version number: 1.0.1.4
Stability: Stable
Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x
Download this release
Release Info
Developer | Gravity Recommendations |
Extension | Me_Gravity |
Version | 1.0.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.1.3 to 1.0.1.4
- app/code/community/Me/Gravity/Block/Page/Js/Gravity.php +20 -0
- app/code/community/Me/Gravity/Helper/Data.php +54 -0
- app/code/community/Me/Gravity/Model/Products.php +38 -19
- app/code/community/Me/Gravity/etc/config.xml +11 -1
- app/code/community/Me/Gravity/etc/system.xml +32 -0
- app/design/frontend/base/default/template/me/gravity/page/js/gravity.phtml +19 -15
- package.xml +5 -5
app/code/community/Me/Gravity/Block/Page/Js/Gravity.php
CHANGED
@@ -34,4 +34,24 @@ class Me_Gravity_Block_Page_Js_Gravity extends Me_Gravity_Block_Abstract
|
|
34 |
{
|
35 |
return Mage::getSingleton('customer/session')->getCustomerId();
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
34 |
{
|
35 |
return Mage::getSingleton('customer/session')->getCustomerId();
|
36 |
}
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Get custom Gravity JS is enabled
|
40 |
+
*
|
41 |
+
* @return bool
|
42 |
+
*/
|
43 |
+
public function isCustomJsEnabled()
|
44 |
+
{
|
45 |
+
return $this->getGravityHelper()->getIsCustomJsEnabled();
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Get custom Gravity JS content
|
50 |
+
*
|
51 |
+
* @return string
|
52 |
+
*/
|
53 |
+
public function getCustomJsContent()
|
54 |
+
{
|
55 |
+
return $this->getGravityHelper()->getCustomJs();
|
56 |
+
}
|
57 |
}
|
app/code/community/Me/Gravity/Helper/Data.php
CHANGED
@@ -57,6 +57,20 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
|
|
57 |
*/
|
58 |
const XML_PATH_API_PASSWORD = 'gravity/config/api_password';
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
/**
|
61 |
* Path to store config catalog export path
|
62 |
*
|
@@ -85,6 +99,13 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
|
|
85 |
*/
|
86 |
const XML_CATALOG_EXPORT_MAX_PATH = 'gravity/export/max';
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
/**
|
89 |
* Path to store config catalog export cron enabled
|
90 |
*
|
@@ -249,6 +270,28 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
|
|
249 |
return false;
|
250 |
}
|
251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
/**
|
253 |
* Get catalog export file path
|
254 |
*
|
@@ -314,6 +357,17 @@ class Me_Gravity_Helper_Data extends Mage_Core_Helper_Data
|
|
314 |
return Mage::getStoreConfig(self::XML_CATALOG_EXPORT_MAX_PATH, $store);
|
315 |
}
|
316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
/**
|
318 |
* Get catalog export cron enabled
|
319 |
*
|
57 |
*/
|
58 |
const XML_PATH_API_PASSWORD = 'gravity/config/api_password';
|
59 |
|
60 |
+
/**
|
61 |
+
* Path to store config if custom Gravity JS enabled
|
62 |
+
*
|
63 |
+
* @var string
|
64 |
+
*/
|
65 |
+
const XML_PATH_CUSTOM_JS_ENABLED = 'gravity/config/enabled_js';
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Path to store config custom Gravity JS
|
69 |
+
*
|
70 |
+
* @var string
|
71 |
+
*/
|
72 |
+
const XML_PATH_CUSTOM_JS = 'gravity/config/custom_js';
|
73 |
+
|
74 |
/**
|
75 |
* Path to store config catalog export path
|
76 |
*
|
99 |
*/
|
100 |
const XML_CATALOG_EXPORT_MAX_PATH = 'gravity/export/max';
|
101 |
|
102 |
+
/**
|
103 |
+
* Path to store config if product's description enabled in catalog export
|
104 |
+
*
|
105 |
+
* @var string
|
106 |
+
*/
|
107 |
+
const XML_CATALOG_EXPORT_DESCRIPTION = 'gravity/export/description_enabled';
|
108 |
+
|
109 |
/**
|
110 |
* Path to store config catalog export cron enabled
|
111 |
*
|
270 |
return false;
|
271 |
}
|
272 |
|
273 |
+
/**
|
274 |
+
* Checks whether custom Gravity JS is enabled
|
275 |
+
*
|
276 |
+
* @param integer|string|Mage_Core_Model_Store $store store
|
277 |
+
* @return boolean
|
278 |
+
*/
|
279 |
+
public function getIsCustomJsEnabled($store = null)
|
280 |
+
{
|
281 |
+
return Mage::getStoreConfigFlag(self::XML_PATH_CUSTOM_JS_ENABLED, $store);
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Get custom Gravity JS content
|
286 |
+
*
|
287 |
+
* @param integer|string|Mage_Core_Model_Store $store store
|
288 |
+
* @return string
|
289 |
+
*/
|
290 |
+
public function getCustomJs($store = null)
|
291 |
+
{
|
292 |
+
return Mage::getStoreConfig(self::XML_PATH_CUSTOM_JS, $store);
|
293 |
+
}
|
294 |
+
|
295 |
/**
|
296 |
* Get catalog export file path
|
297 |
*
|
357 |
return Mage::getStoreConfig(self::XML_CATALOG_EXPORT_MAX_PATH, $store);
|
358 |
}
|
359 |
|
360 |
+
/**
|
361 |
+
* Get if product's description attribute enabled in catalog export
|
362 |
+
*
|
363 |
+
* @param integer|string|Mage_Core_Model_Store $store store
|
364 |
+
* @return bool
|
365 |
+
*/
|
366 |
+
public function isDescriptionExportEnabled($store = null)
|
367 |
+
{
|
368 |
+
return Mage::getStoreConfigFlag(self::XML_CATALOG_EXPORT_DESCRIPTION, $store);
|
369 |
+
}
|
370 |
+
|
371 |
/**
|
372 |
* Get catalog export cron enabled
|
373 |
*
|
app/code/community/Me/Gravity/Model/Products.php
CHANGED
@@ -76,6 +76,7 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
|
|
76 |
$defaultStoreId = Mage::app()->getDefaultStoreView()->getId();
|
77 |
$defaultCurrency = Mage::app()->getDefaultStoreView()->getBaseCurrencyCode();
|
78 |
$directoryHelper = Mage::helper('directory');
|
|
|
79 |
|
80 |
foreach ($stores as $store) {
|
81 |
|
@@ -94,7 +95,9 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
|
|
94 |
$this->_items[$product->getId()][$store->getId()]['hidden'] = ($product->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE) ? 'true' : 'false';
|
95 |
$this->_items[$product->getId()][$store->getId()]['link'] = htmlspecialchars($baseUrl . $product->getUrlPath());
|
96 |
$this->_items[$product->getId()][$store->getId()]['image_link'] = htmlspecialchars($this->_getCatalogBaseMediaUrl() . $product->getImage());
|
97 |
-
|
|
|
|
|
98 |
if ($store->getId() == $defaultStoreId) {
|
99 |
$this->_items[$product->getId()][$store->getId()]['price'] = $product->getFinalPrice();
|
100 |
} else {
|
@@ -114,9 +117,9 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
|
|
114 |
|
115 |
foreach ($this->_items as $productId => $storeItem) {
|
116 |
|
117 |
-
$itemRow = $this->_createItemXml($storeItem, $productId);
|
118 |
if ($itemRow) {
|
119 |
-
$io->streamWrite($
|
120 |
}
|
121 |
|
122 |
}
|
@@ -133,11 +136,12 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
|
|
133 |
/**
|
134 |
* Get item xml
|
135 |
*
|
136 |
-
* @param array $storeItems
|
137 |
-
* @param int $productId
|
|
|
138 |
* @return string|bool
|
139 |
*/
|
140 |
-
protected function _createItemXml($storeItems = array(), $productId = 0)
|
141 |
{
|
142 |
$itemXml = '';
|
143 |
$defaultTitle = '';
|
@@ -159,19 +163,34 @@ class Me_Gravity_Model_Products extends Me_Gravity_Model_Export_Catalog_Product
|
|
159 |
// add store elements
|
160 |
foreach ($storeItems as $storeId => $item) {
|
161 |
|
162 |
-
$
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
}
|
177 |
|
76 |
$defaultStoreId = Mage::app()->getDefaultStoreView()->getId();
|
77 |
$defaultCurrency = Mage::app()->getDefaultStoreView()->getBaseCurrencyCode();
|
78 |
$directoryHelper = Mage::helper('directory');
|
79 |
+
$isDescriptionEnabled = $this->_helper->isDescriptionExportEnabled();
|
80 |
|
81 |
foreach ($stores as $store) {
|
82 |
|
95 |
$this->_items[$product->getId()][$store->getId()]['hidden'] = ($product->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE) ? 'true' : 'false';
|
96 |
$this->_items[$product->getId()][$store->getId()]['link'] = htmlspecialchars($baseUrl . $product->getUrlPath());
|
97 |
$this->_items[$product->getId()][$store->getId()]['image_link'] = htmlspecialchars($this->_getCatalogBaseMediaUrl() . $product->getImage());
|
98 |
+
if ($isDescriptionEnabled) {
|
99 |
+
$this->_items[$product->getId()][$store->getId()]['description'] = htmlspecialchars($product->getDescription(), ENT_COMPAT | ENT_DISALLOWED, 'UTF-8', true);
|
100 |
+
}
|
101 |
if ($store->getId() == $defaultStoreId) {
|
102 |
$this->_items[$product->getId()][$store->getId()]['price'] = $product->getFinalPrice();
|
103 |
} else {
|
117 |
|
118 |
foreach ($this->_items as $productId => $storeItem) {
|
119 |
|
120 |
+
$itemRow = $this->_createItemXml($storeItem, $productId, $isDescriptionEnabled);
|
121 |
if ($itemRow) {
|
122 |
+
$io->streamWrite($itemRow);
|
123 |
}
|
124 |
|
125 |
}
|
136 |
/**
|
137 |
* Get item xml
|
138 |
*
|
139 |
+
* @param array $storeItems items
|
140 |
+
* @param int $productId product Id
|
141 |
+
* @param bool $isDescriptionEnabled description enabled
|
142 |
* @return string|bool
|
143 |
*/
|
144 |
+
protected function _createItemXml($storeItems = array(), $productId = 0, $isDescriptionEnabled = false)
|
145 |
{
|
146 |
$itemXml = '';
|
147 |
$defaultTitle = '';
|
163 |
// add store elements
|
164 |
foreach ($storeItems as $storeId => $item) {
|
165 |
|
166 |
+
if ($isDescriptionEnabled) {
|
167 |
+
$itemXml .= sprintf(
|
168 |
+
'<title_' . $storeId . '><![CDATA[%s]]></title_' . $storeId . '><currency_' . $storeId . '>%s</currency_' . $storeId . '><c:hidden_' . $storeId . '>%s</c:hidden_' . $storeId . '><link_' . $storeId . '>%s</link_' . $storeId . '><g:image_link_' . $storeId . '>%s</g:image_link_' . $storeId . '><c:description_' . $storeId . '><![CDATA[%s]]></c:description_' . $storeId . '><g:price_' . $storeId . '>%.4f</g:price_' . $storeId . '>%s%s%s',
|
169 |
+
$item['title'],
|
170 |
+
$item['currency'],
|
171 |
+
$item['hidden'],
|
172 |
+
$item['link'],
|
173 |
+
$item['image_link'],
|
174 |
+
$item['description'],
|
175 |
+
$item['price'],
|
176 |
+
$this->_getCategoryXml($item, $storeId),
|
177 |
+
$this->_getCategoryIdsXml($item, $storeId),
|
178 |
+
$this->_getAttributesXml($item, $storeId)
|
179 |
+
);
|
180 |
+
} else {
|
181 |
+
$itemXml .= sprintf(
|
182 |
+
'<title_' . $storeId . '><![CDATA[%s]]></title_' . $storeId . '><currency_' . $storeId . '>%s</currency_' . $storeId . '><c:hidden_' . $storeId . '>%s</c:hidden_' . $storeId . '><link_' . $storeId . '>%s</link_' . $storeId . '><g:image_link_' . $storeId . '>%s</g:image_link_' . $storeId . '><g:price_' . $storeId . '>%.4f</g:price_' . $storeId . '>%s%s%s',
|
183 |
+
$item['title'],
|
184 |
+
$item['currency'],
|
185 |
+
$item['hidden'],
|
186 |
+
$item['link'],
|
187 |
+
$item['image_link'],
|
188 |
+
$item['price'],
|
189 |
+
$this->_getCategoryXml($item, $storeId),
|
190 |
+
$this->_getCategoryIdsXml($item, $storeId),
|
191 |
+
$this->_getAttributesXml($item, $storeId)
|
192 |
+
);
|
193 |
+
}
|
194 |
|
195 |
}
|
196 |
|
app/code/community/Me/Gravity/etc/config.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Me_Gravity>
|
15 |
-
<version>1.0.1.
|
16 |
</Me_Gravity>
|
17 |
</modules>
|
18 |
<global>
|
@@ -153,12 +153,22 @@
|
|
153 |
<config>
|
154 |
<enabled>0</enabled>
|
155 |
<preview>1</preview>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
<template>0</template>
|
157 |
</config>
|
158 |
<export>
|
159 |
<catalog_path>gravity_reco/</catalog_path>
|
160 |
<all>0</all>
|
161 |
<max>1000</max>
|
|
|
162 |
<only_salable>1</only_salable>
|
163 |
<catalog_cron>0</catalog_cron>
|
164 |
<catalog_cron_time>02,30,00</catalog_cron_time>
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Me_Gravity>
|
15 |
+
<version>1.0.1.4</version>
|
16 |
</Me_Gravity>
|
17 |
</modules>
|
18 |
<global>
|
153 |
<config>
|
154 |
<enabled>0</enabled>
|
155 |
<preview>1</preview>
|
156 |
+
<enabled_js>0</enabled_js>
|
157 |
+
<custom_js><![CDATA[
|
158 |
+
<script>
|
159 |
+
(function(g,r,a,v,i,t,y){g[a]=g[a]||[],y=r.createElement(v),g=r.getElementsByTagName(v)[0];y.async=1;
|
160 |
+
y.src='//'+i+'/js/'+t+'/gr_reco5.min.js';g.parentNode.insertBefore(y,g);y=r.createElement(v),y.async=1;
|
161 |
+
y.src='//'+i+'/grrec-'+t+'-war/JSServlet4?cc=test';g.parentNode.insertBefore(y,g);})
|
162 |
+
(window, document, '_gravity','script', 'magento-ams.gravityrd-services.com', 'magento');
|
163 |
+
</script>
|
164 |
+
]]></custom_js>
|
165 |
<template>0</template>
|
166 |
</config>
|
167 |
<export>
|
168 |
<catalog_path>gravity_reco/</catalog_path>
|
169 |
<all>0</all>
|
170 |
<max>1000</max>
|
171 |
+
<description_enabled>0</description_enabled>
|
172 |
<only_salable>1</only_salable>
|
173 |
<catalog_cron>0</catalog_cron>
|
174 |
<catalog_cron_time>02,30,00</catalog_cron_time>
|
app/code/community/Me/Gravity/etc/system.xml
CHANGED
@@ -82,6 +82,28 @@
|
|
82 |
<show_in_store>1</show_in_store>
|
83 |
<comment>API communication URL.</comment>
|
84 |
</api_url>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
<test translate="label">
|
86 |
<label>Test Connection</label>
|
87 |
<frontend_type>button</frontend_type>
|
@@ -142,6 +164,16 @@
|
|
142 |
<validate>validate-number validate-number-range number-range-1-1000</validate>
|
143 |
<depends><all>0</all></depends>
|
144 |
</max>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
<additional translate="label">
|
146 |
<label>Additional Attributes</label>
|
147 |
<frontend_type>multiselect</frontend_type>
|
82 |
<show_in_store>1</show_in_store>
|
83 |
<comment>API communication URL.</comment>
|
84 |
</api_url>
|
85 |
+
<enabled_js translate="label">
|
86 |
+
<label>Enable Custom Gravity Javascript</label>
|
87 |
+
<frontend_type>select</frontend_type>
|
88 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
89 |
+
<sort_order>55</sort_order>
|
90 |
+
<show_in_default>1</show_in_default>
|
91 |
+
<show_in_website>1</show_in_website>
|
92 |
+
<show_in_store>1</show_in_store>
|
93 |
+
<comment>Please select YES, if you want to edit or customize the extension's main Gravity javascript.</comment>
|
94 |
+
</enabled_js>
|
95 |
+
<custom_js translate="label">
|
96 |
+
<label>Custom Gravity Javascript</label>
|
97 |
+
<frontend_type>textarea</frontend_type>
|
98 |
+
<sort_order>56</sort_order>
|
99 |
+
<show_in_default>1</show_in_default>
|
100 |
+
<show_in_website>1</show_in_website>
|
101 |
+
<show_in_store>1</show_in_store>
|
102 |
+
<comment><![CDATA[<strong> Important!</strong> Here you can edit the main Gravity javascript. <strong>You have to replace</strong> the two occurrence of the "magento" string in your custom javascript with the API username above!]]></comment>
|
103 |
+
<depends>
|
104 |
+
<enabled_js>1</enabled_js>
|
105 |
+
</depends>
|
106 |
+
</custom_js>
|
107 |
<test translate="label">
|
108 |
<label>Test Connection</label>
|
109 |
<frontend_type>button</frontend_type>
|
164 |
<validate>validate-number validate-number-range number-range-1-1000</validate>
|
165 |
<depends><all>0</all></depends>
|
166 |
</max>
|
167 |
+
<description_enabled translate="label">
|
168 |
+
<label>Enable Products Description in Export</label>
|
169 |
+
<frontend_type>select</frontend_type>
|
170 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
171 |
+
<sort_order>25</sort_order>
|
172 |
+
<show_in_default>1</show_in_default>
|
173 |
+
<show_in_website>0</show_in_website>
|
174 |
+
<show_in_store>0</show_in_store>
|
175 |
+
<comment>Please select YES, if you want to add product's description attribute to the catalog export.</comment>
|
176 |
+
</description_enabled>
|
177 |
<additional translate="label">
|
178 |
<label>Additional Attributes</label>
|
179 |
<frontend_type>multiselect</frontend_type>
|
app/design/frontend/base/default/template/me/gravity/page/js/gravity.phtml
CHANGED
@@ -17,19 +17,23 @@
|
|
17 |
* @see Me_Gravity_Block_Page_Js_Gravity
|
18 |
*/
|
19 |
?>
|
20 |
-
<?php if($this->isEnabled() && $this->getGravityCustomerId()) : ?>
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
<?php endif; ?>
|
17 |
* @see Me_Gravity_Block_Page_Js_Gravity
|
18 |
*/
|
19 |
?>
|
20 |
+
<?php if ($this->isEnabled() && $this->getGravityCustomerId()) : ?>
|
21 |
+
<?php if ($this->isCustomJsEnabled()) : ?>
|
22 |
+
<?php echo $this->getCustomJsContent(); ?>
|
23 |
+
<?php else : ?>
|
24 |
+
<script type="text/javascript">
|
25 |
+
//<![CDATA[
|
26 |
+
var _gravity = _gravity || [];
|
27 |
+
(function () {
|
28 |
+
var gr = document.createElement("script");
|
29 |
+
gr.type = "text/javascript";
|
30 |
+
gr.async = !0;
|
31 |
+
//gr.src = document.location.protocol + "//saas.gravityrd.com/js/CUSTOMERID/gr_reco4-min.js";
|
32 |
+
gr.src = "http://<?php echo $this->getGravityCustomerId() ?>-bud.gravityrd-services.com/js/<?php echo $this->getGravityCustomerId() ?>/gr_reco4-min.js";
|
33 |
+
var s = document.getElementsByTagName("script")[0];
|
34 |
+
s.parentNode.insertBefore(gr, s);
|
35 |
+
})();
|
36 |
+
//]]>
|
37 |
+
</script>
|
38 |
+
<?php endif; ?>
|
39 |
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Me_Gravity</name>
|
4 |
-
<version>1.0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gravityrd.com/">Gravity R&D, Ltd.</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. </summary>
|
10 |
<description>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. The extension responsible for displaying recommendation boxes with products using Magento templates or Gravity based templates. The boxes contains the web shop products offered by the other side, and also sends information for Gravity service to provided proper analysis of users behaviors. It also able to export products catalog and customers for Gravity service using the extension configuration panel, or run daily scheduled export by cron job.</description>
|
11 |
-
<notes>Version number: 1.0.1.
|
12 |
Stability: Stable
|
13 |
Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x </notes>
|
14 |
<authors><author><name>Gravity Recommendations</name><user>gravity_rd</user><email>web-integration@gravityrd.com</email></author></authors>
|
15 |
-
<date>2015-06-
|
16 |
-
<time>09:
|
17 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Me_Gravity.xml" hash="a385bf72a5c2f0f040d2bb0850ca0b7c"/></dir></target><target name="magecommunity"><dir name="Me"><dir name="Gravity"><dir name="Block"><file name="Abstract.php" hash="586409500493a209ba021f8d471c793c"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Catalog.php" hash="6adcc355986762d7cc19f854c5fdd067"/><file name="Customer.php" hash="50336da73ad37e3895f82980387f6970"/><file name="Test.php" hash="07d7fce9dd15eb623918d6f01505cc32"/><file name="Version.php" hash="cdaa1bf4da1dffefb71aa3a27a63d2f1"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Category"><dir name="Boxes"><file name="Category.php" hash="0e9338d55a16ddde3ae30d14695e799d"/><file name="Personal.php" hash="7ac0315f48df1a3262fc06f33d46228a"/><file name="Top.php" hash="1e44870ec677da107bed26542233ab6b"/></dir></dir><dir name="Product"><dir name="View"><dir name="Boxes"><file name="Accessories.php" hash="f118fa14b7c457985c1e9b6b96f08f2e"/><file name="Personal.php" hash="1f2af5e09efad11f36c5a08de3861aee"/><file name="Product.php" hash="f7e66be937ec442e47c7dd4d3024d7df"/><file name="Similar.php" hash="47011f4c56d0bd7d9de7e159f9aeb9bb"/></dir><dir name="Js"><file name="Gravity.php" hash="cba4e59a726e2ff10d746748731ac35e"/></dir></dir></dir></dir><dir name="Catalogsearch"><dir name="Advanced"><dir name="Js"><file name="Gravity.php" hash="a37130181b430d057fa2dcb76de0ff60"/></dir></dir><dir name="Boxes"><file name="Result.php" hash="1c59e5b53cbef273f6cb7cd3448aa45b"/></dir><dir name="Js"><file name="Gravity.php" hash="d065f4ef6555312988c2e165621ea2a8"/></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Boxes"><file name="Cart.php" hash="b720e576c5123f9d52ee98807cb7ac36"/></dir></dir></dir><dir name="General"><dir name="Boxes"><file name="Best.php" hash="079eabb3dbfb2167eb9b0f9497fc37b0"/><file name="History.php" hash="85e0c22619328f8d0f03dfbcb5111709"/><file name="Others.php" hash="02c2cb071acbf74ce31a545c32c69f06"/><file name="Popular.php" hash="15ceca807386ffc3c384e393e4af7244"/></dir></dir><dir name="Page"><dir name="Js"><file name="Gravity.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.3.0</min><max>5.6.4</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Me_Gravity</name>
|
4 |
+
<version>1.0.1.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gravityrd.com/">Gravity R&D, Ltd.</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. </summary>
|
10 |
<description>The Gravity Recommendation extension provides an interface between Magento web shop and Gravity Recommendation service. The communication based on PHP or Javascript API providing by Gravity service. The extension responsible for displaying recommendation boxes with products using Magento templates or Gravity based templates. The boxes contains the web shop products offered by the other side, and also sends information for Gravity service to provided proper analysis of users behaviors. It also able to export products catalog and customers for Gravity service using the extension configuration panel, or run daily scheduled export by cron job.</description>
|
11 |
+
<notes>Version number: 1.0.1.4
|
12 |
Stability: Stable
|
13 |
Compatibility: CE 1.6.x, 1.7.x, 1.8.x, 1.9.x </notes>
|
14 |
<authors><author><name>Gravity Recommendations</name><user>gravity_rd</user><email>web-integration@gravityrd.com</email></author></authors>
|
15 |
+
<date>2015-06-14</date>
|
16 |
+
<time>09:49:08</time>
|
17 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Me_Gravity.xml" hash="a385bf72a5c2f0f040d2bb0850ca0b7c"/></dir></target><target name="magecommunity"><dir name="Me"><dir name="Gravity"><dir name="Block"><file name="Abstract.php" hash="586409500493a209ba021f8d471c793c"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Catalog.php" hash="6adcc355986762d7cc19f854c5fdd067"/><file name="Customer.php" hash="50336da73ad37e3895f82980387f6970"/><file name="Test.php" hash="07d7fce9dd15eb623918d6f01505cc32"/><file name="Version.php" hash="cdaa1bf4da1dffefb71aa3a27a63d2f1"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Category"><dir name="Boxes"><file name="Category.php" hash="0e9338d55a16ddde3ae30d14695e799d"/><file name="Personal.php" hash="7ac0315f48df1a3262fc06f33d46228a"/><file name="Top.php" hash="1e44870ec677da107bed26542233ab6b"/></dir></dir><dir name="Product"><dir name="View"><dir name="Boxes"><file name="Accessories.php" hash="f118fa14b7c457985c1e9b6b96f08f2e"/><file name="Personal.php" hash="1f2af5e09efad11f36c5a08de3861aee"/><file name="Product.php" hash="f7e66be937ec442e47c7dd4d3024d7df"/><file name="Similar.php" hash="47011f4c56d0bd7d9de7e159f9aeb9bb"/></dir><dir name="Js"><file name="Gravity.php" hash="cba4e59a726e2ff10d746748731ac35e"/></dir></dir></dir></dir><dir name="Catalogsearch"><dir name="Advanced"><dir name="Js"><file name="Gravity.php" hash="a37130181b430d057fa2dcb76de0ff60"/></dir></dir><dir name="Boxes"><file name="Result.php" hash="1c59e5b53cbef273f6cb7cd3448aa45b"/></dir><dir name="Js"><file name="Gravity.php" hash="d065f4ef6555312988c2e165621ea2a8"/></dir></dir><dir name="Checkout"><dir name="Cart"><dir name="Boxes"><file name="Cart.php" hash="b720e576c5123f9d52ee98807cb7ac36"/></dir></dir></dir><dir name="General"><dir name="Boxes"><file name="Best.php" hash="079eabb3dbfb2167eb9b0f9497fc37b0"/><file name="History.php" hash="85e0c22619328f8d0f03dfbcb5111709"/><file name="Others.php" hash="02c2cb071acbf74ce31a545c32c69f06"/><file name="Popular.php" hash="15ceca807386ffc3c384e393e4af7244"/></dir></dir><dir name="Page"><dir name="Js"><file name="Gravity.php" hash="6f78a812fa42227b25780a483fd202d8"/></dir></dir><file name="Recommendation.php" hash="7de37448b8fbd617a4c714d8fbbdfed3"/><dir name="Widget"><dir name="Boxes"><file name="Widget.php" hash="17560f25437bf04f2f8069b1aeee010e"/></dir></dir></dir><dir name="Helper"><file name="Boxes.php" hash="e321d569b2d6e6ff64e2ae33180b7509"/><file name="Data.php" hash="c6fd44d558b3236d27569f95d6b7c8d7"/></dir><dir name="Model"><dir name="Client"><file name="GravityClient.php" hash="0294939e272568ffd118db005d15563d"/></dir><file name="Customers.php" hash="7399f7fb93965a3c67f5e2c941209ffe"/><dir name="Export"><file name="Abstract.php" hash="9f42701355b6bb288b4ead0eadcf19f0"/><dir name="Catalog"><file name="Product.php" hash="febaee9a21632ed127624adba95ef1ee"/></dir><dir name="Customer"><file name="Customer.php" hash="d3577acc08cd3004ccfb865232eebb9c"/></dir></dir><dir name="Method"><file name="Abstract.php" hash="c907e89db6238c5001cf653b31afa56e"/><file name="Request.php" hash="7a7d5dce5e55a961df28e18b67dc50dc"/></dir><file name="Observer.php" hash="2527b0d10cf5448a6727bbee696e4d0c"/><file name="Products.php" hash="8c5adc439e8c484b04a754bf477e9693"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Catalog"><file name="Cron.php" hash="395fbd5f3d41223a336057b5bba6f4cc"/></dir></dir><dir name="Source"><dir name="Catalog"><file name="Attributes.php" hash="72df90bea6566c5e843c2301ba4dd6e1"/></dir><dir name="Customer"><file name="Attributes.php" hash="1e940ae61c568d83bc541b0fb8e87de1"/></dir><dir name="Layout"><file name="Layout.php" hash="18ab5c014f802bea1f6a841d062439ac"/><file name="Pages.php" hash="5e443f0c91329db385bc3d3b4e945c22"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="GravityController.php" hash="c6237b4322d5a7a33d191789325b8036"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="91c9644e779d2dcbfced9869d5b7dd95"/><file name="config.xml" hash="ad5e504b7368e138fe3eeb6bded6867a"/><file name="system.xml" hash="4480cf78203309f6d967685d4e0a69ae"/><file name="widget.xml" hash="9662aa456d8dcf6b38503944427c247e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="767fe3f58ab7398d38e5e9a0610b7e9b"/><file name="sidebar.phtml" hash="07624b8f1c51740734961788c8d1d4c1"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="e6c523725a96b738a5f8586d7a3e8cf5"/><file name="sidebar.phtml" hash="7fc068d92da4d133929bf345a16f2bc3"/></dir><dir name="js"><file name="gravity.phtml" hash="21b1752933f49d4fdf77c1dff3e8accb"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="advanced"><dir name="js"><file name="gravity.phtml" hash="ed37b5368abb0e5e1fddaf7d94f1634f"/></dir></dir><dir name="boxes"><file name="default.phtml" hash="600f331b3ef8772b652cc7fcde0270d6"/><file name="sidebar.phtml" hash="f9b64de7698f8d5a30da7dda56ef8f1d"/></dir><dir name="js"><file name="gravity.phtml" hash="a77756580b0a6577f9431194e88ce0f3"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="20aedc8eed8ab7e4c139f06cd6c0266f"/><file name="sidebar.phtml" hash="1b1f4c63788bfc9f9e338f664c50af64"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aa41e16c11bfd37f4bf56a2a21967980"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="page"><dir name="js"><file name="body-end.phtml" hash="5b642b64e8bb15d8bfe23b13400a7e63"/><file name="gravity.phtml" hash="9cddc0d488431b7a69903e0f38d62be3"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="80fd5994cde6c34f862e2850caa2beb1"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="me"><file name="gravity.xml" hash="47f5ea1f53290cfd3f6a48bd2c64a7fc"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="catalog"><dir name="category"><dir name="boxes"><file name="default.phtml" hash="ea2934a0f784adff2bf09d5e86653968"/><file name="sidebar.phtml" hash="f5ba9de470ce1f18720ccabe8cff5316"/></dir></dir><dir name="product"><dir name="view"><dir name="boxes"><file name="default.phtml" hash="3c27be164e795fb7077c27006dde739a"/><file name="sidebar.phtml" hash="ef52c04a0b0251c23bce81f871181910"/></dir></dir></dir></dir><dir name="catalogsearch"><dir name="boxes"><file name="default.phtml" hash="8dc241f668fad3b36e1a26d8c3b01802"/><file name="sidebar.phtml" hash="6aa688d961dfc9818001ae39866a4992"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="boxes"><file name="default.phtml" hash="c81b3af4fe4fc03444da83f7416d0fc7"/><file name="sidebar.phtml" hash="d78a9160cbeded38e6a989eefe3c3753"/></dir></dir></dir><dir name="general"><dir name="boxes"><file name="default.phtml" hash="aaa00a090cef33df9d882edfd6dadc9f"/><file name="sidebar.phtml" hash="0566509571da516c033e081009d007e9"/></dir></dir><dir name="widget"><dir name="boxes"><file name="widget.phtml" hash="41552aa04ba7810eada0706a8ee7f5ec"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="me"><dir name="gravity"><dir name="system"><dir name="config"><dir name="form"><file name="test.phtml" hash="d9d972a23b04a34ab5f4d70a732d65b3"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="me"><dir name="gravity"><file name="gravity.css" hash="c2c4c7d30bced9a311c98032e38e0e11"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Me_Gravity.csv" hash="cf7233d08a92c8891d62c60b000953c4"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.3.0</min><max>5.6.4</max></php></required></dependencies>
|
20 |
</package>
|