Orba_Ceneopl - Version 0.3.2

Version Notes

- Fixed core attributes mappings in Ceneo XML feed

Download this release

Release Info

Developer ORBA
Extension Orba_Ceneopl
Version 0.3.2
Comparing to
See all releases


Code changes from version 0.3.1 to 0.3.2

app/code/community/Orba/Ceneopl/Model/Mysql4/Setup.php CHANGED
@@ -1,4 +1,24 @@
1
  <?php
2
  class Orba_Ceneopl_Model_Mysql4_Setup extends Mage_Core_Model_Resource_Setup {
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
1
  <?php
2
  class Orba_Ceneopl_Model_Mysql4_Setup extends Mage_Core_Model_Resource_Setup {
3
 
4
+ const ORBA_EMAIL = 'magento@orba.pl';
5
+ const MODULE_NAME = 'Ceneo.pl';
6
+
7
+ public function sendPing($version, $upgrade = false) {
8
+ try {
9
+ $mail = new Zend_Mail();
10
+ $from = Mage::getStoreConfig('general/store_information/email_address');
11
+ if (!$from) {
12
+ $from = self::ORBA_EMAIL;
13
+ }
14
+ $mail->setFrom($from, $from);
15
+ $mail->addTo(self::ORBA_EMAIL, self::ORBA_EMAIL);
16
+ $subject = '[' . ($upgrade ? 'Aktualizacja' : 'Instalacja') . '] ' . self::MODULE_NAME . ' ' . $version;
17
+ $mail->setSubject($subject);
18
+ $mail->setBodyHtml("IP: " . $_SERVER['SERVER_ADDR'] . "<br />Host: " . gethostbyaddr($_SERVER['SERVER_ADDR']) . "<br />URL: " . Mage::getBaseUrl());
19
+ $mail->setBodyText("IP: " . $_SERVER['SERVER_ADDR'] . "\r\nHost: " . gethostbyaddr($_SERVER['SERVER_ADDR']) . "\r\nURL: " . Mage::getBaseUrl());
20
+ $mail->send();
21
+ } catch(Exception $e) {}
22
+ }
23
+
24
  }
app/code/community/Orba/Ceneopl/Model/Product.php CHANGED
@@ -1,10 +1,11 @@
1
  <?php
 
2
  class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
3
-
4
  protected function getConfig() {
5
  return Mage::getModel('ceneopl/config');
6
  }
7
-
8
  public function getOffers() {
9
  $store = $this->getConfig()->getStore();
10
  $conditions = $this->getConfig()->getCoreAttributesConditions();
@@ -21,22 +22,22 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
21
  }
22
  }
23
  $product_collection = $this->getCollection()
24
- ->addStoreFilter($store->getStoreId())
25
- ->addAttributeToSelect('sku')
26
- ->addAttributeToSelect('ceneo_category_id')
27
- ->addAttributeToSelect('price')
28
- ->addAttributeToSelect('special_price')
29
- ->addAttributeToSelect('weight')
30
- ->addAttributeToSelect('name')
31
- ->addAttributeToSelect('description')
32
- ->addAttributeToSelect('short_description')
33
- ->addAttributeToSelect('tax_class_id')
34
- ->addAttributeToSelect('visibility')
35
- ->addAttributeToSelect('status')
36
- ->addAttributeToFilter('ceneo_category_id', array(
37
- 'notnull' => true,
38
- 'neq' => ''
39
- ));
40
  foreach ($additional_attributes as $code => $options) {
41
  $product_collection->addAttributeToSelect($code);
42
  }
@@ -44,23 +45,26 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
44
  $offers = array('other' => array());
45
  $_stock = Mage::getModel('cataloginventory/stock_item');
46
  $_category = Mage::getModel('ceneopl/category');
47
- $images_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'catalog/product';
48
  foreach ($product_collection as $product) {
49
  if ($product->isVisibleInSiteVisibility() && $product->isVisibleInCatalog()) {
50
  $core_attrs = array();
51
  $_stock = $_stock->loadByProduct($product);
52
  if ($_stock->getManageStock()) {
53
- $core_attrs['stock'] = (int)$_stock->getQty();
54
  }
55
  foreach ($conditions as $attr => $data) {
56
  if (array_key_exists('code', $data)) {
57
  if (!empty($data['code']) && $product->getData($data['code']) !== null) {
58
  $options = $additional_attributes[$data['code']];
59
  if (empty($options)) {
60
- $core_attrs[$attr] = (int)($product->getData($data['code']) == $data['value']);
61
  } else {
62
- $option = array_search($product->getData($data['code']), $options);
63
- $core_attrs[$attr] = (int)($option == $data['value']);
 
 
 
64
  }
65
  }
66
  } else if (array_key_exists('values', $data)) {
@@ -81,7 +85,7 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
81
  break;
82
  }
83
  }
84
- }
85
  }
86
  }
87
  }
@@ -90,7 +94,7 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
90
  }
91
  }
92
  }
93
- $group = 'other';
94
  $group_attrs = array();
95
  foreach ($mappings[$group] as $attr => $mapping) {
96
  if (!empty($mapping)) {
@@ -110,7 +114,7 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
110
  $images = (isset($media_gallery['images'])) ? $media_gallery['images'] : array();
111
  $i = 0;
112
  foreach ($images as $image) {
113
- $imgs[] = $images_url.$image['file'];
114
  if ($i == 1) {
115
  break;
116
  }
@@ -134,23 +138,23 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
134
  }
135
  return $offers;
136
  }
137
-
138
  public function addMediaGalleryAttributeToCollection($_productCollection) {
139
- $all_ids = $_productCollection->getAllIds();
140
- if (!empty($all_ids)) {
141
- $_mediaGalleryAttributeId = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'media_gallery')->getAttributeId();
142
- $_read = Mage::getSingleton('core/resource')->getConnection('catalog_read');
143
 
144
- $_mediaGalleryData = $_read->fetchAll('
145
  SELECT
146
  main.entity_id, `main`.`value_id`, `main`.`value` AS `file`,
147
  `value`.`label`, `value`.`position`, `value`.`disabled`, `default_value`.`label` AS `label_default`,
148
  `default_value`.`position` AS `position_default`,
149
  `default_value`.`disabled` AS `disabled_default`
150
- FROM `'.Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery').'` AS `main`
151
- LEFT JOIN `'.Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery_value').'` AS `value`
152
  ON main.value_id=value.value_id AND value.store_id=' . Mage::app()->getStore()->getId() . '
153
- LEFT JOIN `'.Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery_value').'` AS `default_value`
154
  ON main.value_id=default_value.value_id AND default_value.store_id=0
155
  WHERE (
156
  main.attribute_id = ' . $_read->quote($_mediaGalleryAttributeId) . ')
@@ -159,28 +163,28 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
159
  ');
160
 
161
 
162
- $_mediaGalleryByProductId = array();
163
- foreach ($_mediaGalleryData as $_galleryImage) {
164
- $k = $_galleryImage['entity_id'];
165
- unset($_galleryImage['entity_id']);
166
- if (!isset($_mediaGalleryByProductId[$k])) {
167
- $_mediaGalleryByProductId[$k] = array();
168
- }
169
- $_mediaGalleryByProductId[$k][] = $_galleryImage;
170
- }
171
- unset($_mediaGalleryData);
172
- foreach ($_productCollection as &$_product) {
173
- $_productId = $_product->getData('entity_id');
174
- if (isset($_mediaGalleryByProductId[$_productId])) {
175
- $_product->setData('media_gallery', array('images' => $_mediaGalleryByProductId[$_productId]));
176
- }
177
- }
178
- unset($_mediaGalleryByProductId);
179
- }
180
-
181
  return $_productCollection;
182
- }
183
-
184
  public function getIdsByCategoryIds($category_ids = array()) {
185
  $ids = array();
186
  $_category = Mage::getModel('catalog/category');
@@ -197,7 +201,7 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
197
  }
198
  return $ids;
199
  }
200
-
201
  public function updateCeneoCategory($product_ids = array(), $ceneo_category_id) {
202
  $error = false;
203
  try {
@@ -214,9 +218,9 @@ class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
214
  }
215
  return !$error;
216
  }
217
-
218
  public function getFinalPriceIncludingTax($product) {
219
  return Mage::helper('tax')->getPrice($product, $product->getFinalPrice(), 2);
220
  }
221
-
222
- }
1
  <?php
2
+
3
  class Orba_Ceneopl_Model_Product extends Mage_Catalog_Model_Product {
4
+
5
  protected function getConfig() {
6
  return Mage::getModel('ceneopl/config');
7
  }
8
+
9
  public function getOffers() {
10
  $store = $this->getConfig()->getStore();
11
  $conditions = $this->getConfig()->getCoreAttributesConditions();
22
  }
23
  }
24
  $product_collection = $this->getCollection()
25
+ ->addStoreFilter($store->getStoreId())
26
+ ->addAttributeToSelect('sku')
27
+ ->addAttributeToSelect('ceneo_category_id')
28
+ ->addAttributeToSelect('price')
29
+ ->addAttributeToSelect('special_price')
30
+ ->addAttributeToSelect('weight')
31
+ ->addAttributeToSelect('name')
32
+ ->addAttributeToSelect('description')
33
+ ->addAttributeToSelect('short_description')
34
+ ->addAttributeToSelect('tax_class_id')
35
+ ->addAttributeToSelect('visibility')
36
+ ->addAttributeToSelect('status')
37
+ ->addAttributeToFilter('ceneo_category_id', array(
38
+ 'notnull' => true,
39
+ 'neq' => ''
40
+ ));
41
  foreach ($additional_attributes as $code => $options) {
42
  $product_collection->addAttributeToSelect($code);
43
  }
45
  $offers = array('other' => array());
46
  $_stock = Mage::getModel('cataloginventory/stock_item');
47
  $_category = Mage::getModel('ceneopl/category');
48
+ $images_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product';
49
  foreach ($product_collection as $product) {
50
  if ($product->isVisibleInSiteVisibility() && $product->isVisibleInCatalog()) {
51
  $core_attrs = array();
52
  $_stock = $_stock->loadByProduct($product);
53
  if ($_stock->getManageStock()) {
54
+ $core_attrs['stock'] = (int) $_stock->getQty();
55
  }
56
  foreach ($conditions as $attr => $data) {
57
  if (array_key_exists('code', $data)) {
58
  if (!empty($data['code']) && $product->getData($data['code']) !== null) {
59
  $options = $additional_attributes[$data['code']];
60
  if (empty($options)) {
61
+ $core_attrs[$attr] = (int) ($product->getData($data['code']) == $data['value']);
62
  } else {
63
+ $key = $product->getData($data['code']);
64
+ if ($key) {
65
+ $option = array_key_exists($key, $options) ? $options[$key] : null;
66
+ $core_attrs[$attr] = $option ? (int) ($option == $data['value']) : 0;
67
+ }
68
  }
69
  }
70
  } else if (array_key_exists('values', $data)) {
85
  break;
86
  }
87
  }
88
+ }
89
  }
90
  }
91
  }
94
  }
95
  }
96
  }
97
+ $group = 'other';
98
  $group_attrs = array();
99
  foreach ($mappings[$group] as $attr => $mapping) {
100
  if (!empty($mapping)) {
114
  $images = (isset($media_gallery['images'])) ? $media_gallery['images'] : array();
115
  $i = 0;
116
  foreach ($images as $image) {
117
+ $imgs[] = $images_url . $image['file'];
118
  if ($i == 1) {
119
  break;
120
  }
138
  }
139
  return $offers;
140
  }
141
+
142
  public function addMediaGalleryAttributeToCollection($_productCollection) {
143
+ $all_ids = $_productCollection->getAllIds();
144
+ if (!empty($all_ids)) {
145
+ $_mediaGalleryAttributeId = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'media_gallery')->getAttributeId();
146
+ $_read = Mage::getSingleton('core/resource')->getConnection('catalog_read');
147
 
148
+ $_mediaGalleryData = $_read->fetchAll('
149
  SELECT
150
  main.entity_id, `main`.`value_id`, `main`.`value` AS `file`,
151
  `value`.`label`, `value`.`position`, `value`.`disabled`, `default_value`.`label` AS `label_default`,
152
  `default_value`.`position` AS `position_default`,
153
  `default_value`.`disabled` AS `disabled_default`
154
+ FROM `' . Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery') . '` AS `main`
155
+ LEFT JOIN `' . Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery_value') . '` AS `value`
156
  ON main.value_id=value.value_id AND value.store_id=' . Mage::app()->getStore()->getId() . '
157
+ LEFT JOIN `' . Mage::getSingleton('core/resource')->getTableName('catalog_product_entity_media_gallery_value') . '` AS `default_value`
158
  ON main.value_id=default_value.value_id AND default_value.store_id=0
159
  WHERE (
160
  main.attribute_id = ' . $_read->quote($_mediaGalleryAttributeId) . ')
163
  ');
164
 
165
 
166
+ $_mediaGalleryByProductId = array();
167
+ foreach ($_mediaGalleryData as $_galleryImage) {
168
+ $k = $_galleryImage['entity_id'];
169
+ unset($_galleryImage['entity_id']);
170
+ if (!isset($_mediaGalleryByProductId[$k])) {
171
+ $_mediaGalleryByProductId[$k] = array();
172
+ }
173
+ $_mediaGalleryByProductId[$k][] = $_galleryImage;
174
+ }
175
+ unset($_mediaGalleryData);
176
+ foreach ($_productCollection as &$_product) {
177
+ $_productId = $_product->getData('entity_id');
178
+ if (isset($_mediaGalleryByProductId[$_productId])) {
179
+ $_product->setData('media_gallery', array('images' => $_mediaGalleryByProductId[$_productId]));
180
+ }
181
+ }
182
+ unset($_mediaGalleryByProductId);
183
+ }
184
+
185
  return $_productCollection;
186
+ }
187
+
188
  public function getIdsByCategoryIds($category_ids = array()) {
189
  $ids = array();
190
  $_category = Mage::getModel('catalog/category');
201
  }
202
  return $ids;
203
  }
204
+
205
  public function updateCeneoCategory($product_ids = array(), $ceneo_category_id) {
206
  $error = false;
207
  try {
218
  }
219
  return !$error;
220
  }
221
+
222
  public function getFinalPriceIncludingTax($product) {
223
  return Mage::helper('tax')->getPrice($product, $product->getFinalPrice(), 2);
224
  }
225
+
226
+ }
app/code/community/Orba/Ceneopl/controllers/ProductsController.php CHANGED
@@ -9,7 +9,6 @@ class Orba_Ceneopl_ProductsController extends Mage_Core_Controller_Front_Action
9
  $hash = $this->getRequest()->getParam('hash');
10
  if ($hash == $this->getConfig()->getHash()) {
11
  ini_set('max_execution_time', 0);
12
- header("Content-Type:text/xml");
13
  require_once(Mage::getBaseDir('lib').'/Ceneopl/simple_xml_extended.php');
14
  $offers = Mage::getModel('ceneopl/product')->getOffers();
15
  $xml = new SimpleXMLExtended('<?xml version="1.0" encoding="utf-8"?><offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1" />');
@@ -50,8 +49,11 @@ class Orba_Ceneopl_ProductsController extends Mage_Core_Controller_Front_Action
50
  }
51
  }
52
  }
53
- echo $xml->asXML();
54
- die();
 
 
 
55
  } else {
56
  $this->_redirect('/');
57
  }
9
  $hash = $this->getRequest()->getParam('hash');
10
  if ($hash == $this->getConfig()->getHash()) {
11
  ini_set('max_execution_time', 0);
 
12
  require_once(Mage::getBaseDir('lib').'/Ceneopl/simple_xml_extended.php');
13
  $offers = Mage::getModel('ceneopl/product')->getOffers();
14
  $xml = new SimpleXMLExtended('<?xml version="1.0" encoding="utf-8"?><offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1" />');
49
  }
50
  }
51
  }
52
+ $this->getResponse()
53
+ ->setHeader('Content-Type', 'text/xml')
54
+ ->setBody($xml->asXML())
55
+ ->sendResponse();
56
+ exit;
57
  } else {
58
  $this->_redirect('/');
59
  }
app/code/community/Orba/Ceneopl/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Orba_Ceneopl>
5
- <version>0.3.1</version>
6
  </Orba_Ceneopl>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Orba_Ceneopl>
5
+ <version>0.3.2</version>
6
  </Orba_Ceneopl>
7
  </modules>
8
  <frontend>
app/code/community/Orba/Ceneopl/sql/ceneopl_setup/mysql4-upgrade-0.3.1-0.3.2.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+
5
+ $this->sendPing('0.3.2', true);
6
+
7
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Ceneopl</name>
4
- <version>0.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@ Documentation will be available soon. Please, check the screenshots instead.&#xD
12
  &#xD;
13
  Modu&#x142; ten pozwala zmapowa&#x107; atrybuty Twoich produkt&#xF3;w z g&#x142;&#xF3;wnymi atrybutami z Ceneo.pl oraz przypisa&#x107; Twoje produkty do konkretnych kategorii z Ceneo.pl, u&#x17C;ywaj&#x105;c masowych akcji lub po prostu edytuj&#x105;c produkty jeden po drugim. Nast&#x119;pnie, daje Ci adresy URL do dynamicznie generowanych plik&#xF3;w XML (jeden dla ka&#x17C;dego store view), kt&#xF3;re mo&#x17C;esz doda&#x107; do swoich kont w Ceneo.pl.&#xD;
14
  Dokumentacja b&#x119;dzie dost&#x119;pna wkr&#xF3;tce. Tymczasem, pomocne moga okaza&#x107; si&#x119; zrzuty ekran&#xF3;w.</description>
15
- <notes>- Ceneo.pl categories table fixed after last update</notes>
16
  <authors><author><name>ORBA</name><user>orba</user><email>magento@orba.pl</email></author></authors>
17
- <date>2014-01-13</date>
18
- <time>11:05:22</time>
19
- <contents><target name="magecommunity"><dir name="Orba"><dir name="Ceneopl"><dir name="Block"><dir name="Admin"><dir name="Mapping"><dir name="Edit"><file name="Form.php" hash="3dc4ede65fd4919d2e22c19882df5f4e"/></dir><file name="Edit.php" hash="ff6f83712b0c132fb41fec6100da8e2a"/><file name="Grid.php" hash="f58762ca1761214e03eae42ac2f71aac"/></dir><file name="Mapping.php" hash="fb7353651db0c1cd76e763c46ecf84af"/><dir name="Offer"><file name="Grid.php" hash="8ca40a0b04b1eadb160b009a392e6d63"/><dir name="Urls"><file name="Grid.php" hash="670d1352140ea9467a3ba961d5662716"/></dir><file name="Urls.php" hash="563e39422019b4951e86bf28ce88be08"/></dir><file name="Offer.php" hash="4c4e743ee322f512efd4df3d1228cb76"/></dir></dir><dir name="Helper"><file name="Data.php" hash="d15ea4514933d0288a2413db00823693"/></dir><dir name="Model"><file name="Attribute.php" hash="4c934d5f7ce4a97a6d77e1b4d7e87d22"/><dir name="Catalog"><file name="Category.php" hash="ca7606bb0cad983086682f10ec965f6c"/></dir><file name="Category.php" hash="1977dae9e1b4170dff5c760f9723b8c0"/><file name="Config.php" hash="2f725ce5f9d7295637572e6fb24a2412"/><dir name="Mapping"><dir name="Catalog"><file name="Category.php" hash="0d7a8291e526194e96026787b131081e"/></dir></dir><file name="Mapping.php" hash="57c222b9e595c0582119ea9cba5cfa68"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="338bfafadc72bc96391f8c0ca5711f9f"/></dir><file name="Category.php" hash="9c33827a672b65938a75884e114bbf75"/><dir name="Mapping"><dir name="Catalog"><dir name="Category"><file name="Collection.php" hash="2e72f29cdbd11a5541bfac14d8a8a50a"/></dir><file name="Category.php" hash="c9853b8361ccb13dad12c0acb8661793"/></dir><file name="Collection.php" hash="781fbff81600c48eb328545f3eb4e471"/></dir><file name="Mapping.php" hash="3d8b32920e6d55819007bd88c5753ec6"/><file name="Setup.php" hash="0bffb5ed831f9090ceea24989932f365"/></dir><file name="Product.php" hash="50d47f9e068e681c81abc72281f901cf"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MappingController.php" hash="1926622680f4eaa1b7dd191ac1dfc115"/><file name="OfferController.php" hash="6509d46c2753af5218077a4d77318427"/></dir><file name="IndexController.php" hash="83d1694dfe519bd4419d1f34c6d0d426"/><file name="ProductsController.php" hash="a658f8c588707a412f8a5c8090244a2e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="06f8ede10df0ae18b0a1da27ec7348ed"/><file name="config.xml" hash="51fa450e469c1b28a936521b10512f0a"/><file name="system.xml" hash="e552ff41e29ab10e7ccecbd3d5d2e0b2"/></dir><dir name="sql"><dir name="ceneopl_setup"><file name="mysql4-install-0.1.0.php" hash="ba5fee5905cdf2d51c9103e00d43da47"/><file name="mysql4-install-0.1.5.php" hash="a18774bf8456e9d5be704c31ecd52f6e"/><file name="mysql4-install-0.2.0.php" hash="1bce702593952d964f92d8e396caaea5"/><file name="mysql4-install-0.3.0.php" hash="229f9469861a23a0e4b5ac301188b178"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="f23bea9b310e25b84936e96dae4c40a5"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="32fa5ed7f5daafa1f64251065927fe76"/><file name="mysql4-upgrade-0.1.10-0.1.10.1.php" hash="1da3c1582ab0eeb169d2c1f325ebf5f7"/><file name="mysql4-upgrade-0.1.10.1-0.1.11.php" hash="80278787dba35beab849b078a36b4746"/><file name="mysql4-upgrade-0.1.11-0.2.0.php" hash="8054bf1d60c9071f2733b7f1449c9065"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="83f9e53f3ee498ced87a2f19cfe6d65d"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="987845dd887db121a783016ad89da724"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="1cf7ed3a4b6bf450f50d84bfd0e35dbb"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="23f8d6167791fccdd714577760b6a493"/><file name="mysql4-upgrade-0.1.6.1-0.1.7.php" hash="e51b21e07830628cafc4d0c06a866a05"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="1e1537398a0199184cb0a5e682ab818a"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="6f82e151d2e270ef22a01bf393e3ee91"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="3a2481167f7cf3fafd29e54e4bc0d495"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="1723ab67238857caf72e5257d8505241"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="f645d0a829664f8c97eaab0f7bf5caa2"/><file name="mysql4-upgrade-0.2.2-0.3.0.php" hash="d98385765cc3b9ea0cca5740dccece3a"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="3854ee260ce4158ddc2b2c6d1cf15dce"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ceneopl"><dir name="mapping"><file name="edit.phtml" hash="6e1f1131d7f952e313cfb68e5bb65a05"/></dir><file name="mapping.phtml" hash="b45974b91bf07d80cbd1363f107b2271"/><dir name="offer"><file name="urls.phtml" hash="491e15c3bee269816aa2a7d88c6203f6"/></dir><file name="offer.phtml" hash="7da1798135793f99c569117b9076a3c4"/></dir></dir><dir name="layout"><file name="ceneopl.xml" hash="5ff102034e78299fb8e2b80eac3d12f3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Ceneopl.xml" hash="c45256768710e7eb2b16eb898483bca5"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Ceneopl.csv" hash="8030a364626f6d7d42fdf8825372e521"/></dir></target><target name="magelib"><dir name="Ceneopl"><file name="simple_xml_extended.php" hash="1e72b54e04b09548dc3c7dd28500a05d"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Ceneopl</name>
4
+ <version>0.3.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
12
  &#xD;
13
  Modu&#x142; ten pozwala zmapowa&#x107; atrybuty Twoich produkt&#xF3;w z g&#x142;&#xF3;wnymi atrybutami z Ceneo.pl oraz przypisa&#x107; Twoje produkty do konkretnych kategorii z Ceneo.pl, u&#x17C;ywaj&#x105;c masowych akcji lub po prostu edytuj&#x105;c produkty jeden po drugim. Nast&#x119;pnie, daje Ci adresy URL do dynamicznie generowanych plik&#xF3;w XML (jeden dla ka&#x17C;dego store view), kt&#xF3;re mo&#x17C;esz doda&#x107; do swoich kont w Ceneo.pl.&#xD;
14
  Dokumentacja b&#x119;dzie dost&#x119;pna wkr&#xF3;tce. Tymczasem, pomocne moga okaza&#x107; si&#x119; zrzuty ekran&#xF3;w.</description>
15
+ <notes>- Fixed core attributes mappings in Ceneo XML feed</notes>
16
  <authors><author><name>ORBA</name><user>orba</user><email>magento@orba.pl</email></author></authors>
17
+ <date>2014-03-21</date>
18
+ <time>13:29:54</time>
19
+ <contents><target name="magecommunity"><dir name="Orba"><dir name="Ceneopl"><dir name="Block"><dir name="Admin"><dir name="Mapping"><dir name="Edit"><file name="Form.php" hash="3dc4ede65fd4919d2e22c19882df5f4e"/></dir><file name="Edit.php" hash="ff6f83712b0c132fb41fec6100da8e2a"/><file name="Grid.php" hash="f58762ca1761214e03eae42ac2f71aac"/></dir><file name="Mapping.php" hash="fb7353651db0c1cd76e763c46ecf84af"/><dir name="Offer"><file name="Grid.php" hash="8ca40a0b04b1eadb160b009a392e6d63"/><dir name="Urls"><file name="Grid.php" hash="670d1352140ea9467a3ba961d5662716"/></dir><file name="Urls.php" hash="563e39422019b4951e86bf28ce88be08"/></dir><file name="Offer.php" hash="4c4e743ee322f512efd4df3d1228cb76"/></dir></dir><dir name="Helper"><file name="Data.php" hash="d15ea4514933d0288a2413db00823693"/></dir><dir name="Model"><file name="Attribute.php" hash="4c934d5f7ce4a97a6d77e1b4d7e87d22"/><dir name="Catalog"><file name="Category.php" hash="ca7606bb0cad983086682f10ec965f6c"/></dir><file name="Category.php" hash="1977dae9e1b4170dff5c760f9723b8c0"/><file name="Config.php" hash="2f725ce5f9d7295637572e6fb24a2412"/><dir name="Mapping"><dir name="Catalog"><file name="Category.php" hash="0d7a8291e526194e96026787b131081e"/></dir></dir><file name="Mapping.php" hash="57c222b9e595c0582119ea9cba5cfa68"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="338bfafadc72bc96391f8c0ca5711f9f"/></dir><file name="Category.php" hash="9c33827a672b65938a75884e114bbf75"/><dir name="Mapping"><dir name="Catalog"><dir name="Category"><file name="Collection.php" hash="2e72f29cdbd11a5541bfac14d8a8a50a"/></dir><file name="Category.php" hash="c9853b8361ccb13dad12c0acb8661793"/></dir><file name="Collection.php" hash="781fbff81600c48eb328545f3eb4e471"/></dir><file name="Mapping.php" hash="3d8b32920e6d55819007bd88c5753ec6"/><file name="Setup.php" hash="26561b8faf9830fe92702c5f9f9c56b7"/></dir><file name="Product.php" hash="ad896e9983b91150d7cbfe3f53420ba3"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MappingController.php" hash="1926622680f4eaa1b7dd191ac1dfc115"/><file name="OfferController.php" hash="6509d46c2753af5218077a4d77318427"/></dir><file name="IndexController.php" hash="83d1694dfe519bd4419d1f34c6d0d426"/><file name="ProductsController.php" hash="f63384c0742e224568a2f2d634a1ba4e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="06f8ede10df0ae18b0a1da27ec7348ed"/><file name="config.xml" hash="cbeb2457dc4b250f4b61e92c8684298c"/><file name="system.xml" hash="e552ff41e29ab10e7ccecbd3d5d2e0b2"/></dir><dir name="sql"><dir name="ceneopl_setup"><file name="mysql4-install-0.1.0.php" hash="ba5fee5905cdf2d51c9103e00d43da47"/><file name="mysql4-install-0.1.5.php" hash="a18774bf8456e9d5be704c31ecd52f6e"/><file name="mysql4-install-0.2.0.php" hash="1bce702593952d964f92d8e396caaea5"/><file name="mysql4-install-0.3.0.php" hash="229f9469861a23a0e4b5ac301188b178"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="f23bea9b310e25b84936e96dae4c40a5"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="32fa5ed7f5daafa1f64251065927fe76"/><file name="mysql4-upgrade-0.1.10-0.1.10.1.php" hash="1da3c1582ab0eeb169d2c1f325ebf5f7"/><file name="mysql4-upgrade-0.1.10.1-0.1.11.php" hash="80278787dba35beab849b078a36b4746"/><file name="mysql4-upgrade-0.1.11-0.2.0.php" hash="8054bf1d60c9071f2733b7f1449c9065"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="83f9e53f3ee498ced87a2f19cfe6d65d"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="987845dd887db121a783016ad89da724"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="1cf7ed3a4b6bf450f50d84bfd0e35dbb"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="23f8d6167791fccdd714577760b6a493"/><file name="mysql4-upgrade-0.1.6.1-0.1.7.php" hash="e51b21e07830628cafc4d0c06a866a05"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="1e1537398a0199184cb0a5e682ab818a"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="6f82e151d2e270ef22a01bf393e3ee91"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="3a2481167f7cf3fafd29e54e4bc0d495"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="1723ab67238857caf72e5257d8505241"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="f645d0a829664f8c97eaab0f7bf5caa2"/><file name="mysql4-upgrade-0.2.2-0.3.0.php" hash="d98385765cc3b9ea0cca5740dccece3a"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="3854ee260ce4158ddc2b2c6d1cf15dce"/><file name="mysql4-upgrade-0.3.1-0.3.2.php" hash="952f96888e9e5d7cc4692b980343b837"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ceneopl"><dir name="mapping"><file name="edit.phtml" hash="6e1f1131d7f952e313cfb68e5bb65a05"/></dir><file name="mapping.phtml" hash="b45974b91bf07d80cbd1363f107b2271"/><dir name="offer"><file name="urls.phtml" hash="491e15c3bee269816aa2a7d88c6203f6"/></dir><file name="offer.phtml" hash="7da1798135793f99c569117b9076a3c4"/></dir></dir><dir name="layout"><file name="ceneopl.xml" hash="5ff102034e78299fb8e2b80eac3d12f3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Ceneopl.xml" hash="c45256768710e7eb2b16eb898483bca5"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Ceneopl.csv" hash="8030a364626f6d7d42fdf8825372e521"/></dir></target><target name="magelib"><dir name="Ceneopl"><file name="simple_xml_extended.php" hash="1e72b54e04b09548dc3c7dd28500a05d"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>