Profileolabs_Shoppingflux - Version 0.8.7

Version Notes

- The feed will now be displayed even if there is still products to add in it (Max product addition by feed call = 1000)
- Tracking is now managed on server side using sales_order_placed_after instead of using javascript on success page
- Add Marketplace Fees information in invoice and creditmemo
- Minor bugfixes & improvements

Download this release

Release Info

Developer ShoppingFlux
Extension Profileolabs_Shoppingflux
Version 0.8.7
Comparing to
See all releases


Code changes from version 0.8.5 to 0.8.7

Files changed (19) hide show
  1. app/code/community/Profileolabs/Shoppingflux/Block/Export/Flux.php +1 -1
  2. app/code/community/Profileolabs/Shoppingflux/Helper/Data.php +3 -1
  3. app/code/community/Profileolabs/Shoppingflux/Model/Export/Flux.php +6 -4
  4. app/code/community/Profileolabs/Shoppingflux/Model/Export/Observer.php +1 -2
  5. app/code/community/Profileolabs/Shoppingflux/Model/Manageorders/Observer.php +22 -0
  6. app/code/community/Profileolabs/Shoppingflux/Model/Manageorders/Order.php +28 -1
  7. app/code/community/Profileolabs/Shoppingflux/Model/Service.php +8 -8
  8. app/code/community/Profileolabs/Shoppingflux/controllers/Export/FluxController.php +9 -2
  9. app/code/community/Profileolabs/Shoppingflux/etc/config.xml +27 -1
  10. app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-install-0.8.6.php +336 -0
  11. app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-install-0.8.7.php +337 -0
  12. app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.4-0.8.5.php +3 -1
  13. app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.5-0.8.6.php +52 -0
  14. app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.6-0.8.7.php +21 -0
  15. app/design/adminhtml/default/default/layout/profileolabs_shoppingflux.xml +1 -1
  16. app/design/adminhtml/default/default/template/profileolabs/shoppingflux/manageorders/sales/order/invoice/total.phtml +16 -0
  17. app/design/adminhtml/default/default/template/profileolabs/shoppingflux/manageorders/sales/order/total.phtml +1 -1
  18. app/design/frontend/base/default/layout/profileolabs_shoppingflux.xml +2 -2
  19. package.xml +8 -5
app/code/community/Profileolabs/Shoppingflux/Block/Export/Flux.php CHANGED
@@ -24,7 +24,7 @@ class Profileolabs_Shoppingflux_Block_Export_Flux extends Mage_Core_Block_Templa
24
  }
25
  }
26
 
27
- Mage::getModel('profileolabs_shoppingflux/export_flux')->updateFlux($useAllStores?false:Mage::app()->getStore()->getId(), $this->getLimit() ? $this->getLimit() : 1000000);
28
  $collection = Mage::getModel('profileolabs_shoppingflux/export_flux')->getCollection();
29
  $collection->addFieldToFilter('should_export', 1);
30
  if($useAllStores) {
24
  }
25
  }
26
 
27
+ Mage::getModel('profileolabs_shoppingflux/export_flux')->updateFlux($useAllStores?false:Mage::app()->getStore()->getId(), $this->getLimit() ? $this->getLimit() : 1000);
28
  $collection = Mage::getModel('profileolabs_shoppingflux/export_flux')->getCollection();
29
  $collection->addFieldToFilter('should_export', 1);
30
  if($useAllStores) {
app/code/community/Profileolabs/Shoppingflux/Helper/Data.php CHANGED
@@ -286,7 +286,9 @@ class Profileolabs_Shoppingflux_Helper_Data extends Mage_Core_Helper_Abstract {
286
  $categories->addFieldToFilter('is_active', array('eq'=>'1'));
287
  }
288
  if(!$withNotInMenu) {
289
- $categories->addFieldToFilter('include_in_menu', array('eq'=>'1'));
 
 
290
  }
291
 
292
  if(!Mage::getSingleton('profileolabs_shoppingflux/config')->getUseAllStoreCategories()) {
286
  $categories->addFieldToFilter('is_active', array('eq'=>'1'));
287
  }
288
  if(!$withNotInMenu) {
289
+ if(version_compare($currentVersion, '1.4.0') > 0) {
290
+ $categories->addFieldToFilter('include_in_menu', array('eq'=>'1'));
291
+ }
292
  }
293
 
294
  if(!Mage::getSingleton('profileolabs_shoppingflux/config')->getUseAllStoreCategories()) {
app/code/community/Profileolabs/Shoppingflux/Model/Export/Flux.php CHANGED
@@ -91,7 +91,7 @@ class Profileolabs_Shoppingflux_Model_Export_Flux extends Mage_Core_Model_Abstra
91
  $collection->walk('delete');
92
  }
93
 
94
- public function checkForMissingProducts($store_id = false, $maxImport = 500) {
95
  ini_set('display_errors', 1);
96
  error_reporting(-1);
97
  foreach (Mage::app()->getStores() as $store) {
@@ -117,7 +117,7 @@ class Profileolabs_Shoppingflux_Model_Export_Flux extends Mage_Core_Model_Abstra
117
  }
118
  }
119
 
120
- public function updateFlux($store_id = false, $maxImportLimit = 20000, $shouldExportOnly = false) {
121
  $this->checkForDeletedProducts();
122
  foreach (Mage::app()->getStores() as $store) {
123
  $storeId = $store->getId();
@@ -346,7 +346,7 @@ class Profileolabs_Shoppingflux_Model_Export_Flux extends Mage_Core_Model_Abstra
346
 
347
  public function updateProductInFlux($productSku, $storeId) {
348
 
349
- $this->_checkMemory();
350
 
351
  $product = $this->_getProductBySku($productSku, $storeId);
352
 
@@ -572,7 +572,9 @@ class Profileolabs_Shoppingflux_Model_Export_Flux extends Mage_Core_Model_Abstra
572
  foreach ($parentIds as $parentId) {
573
  if(!$data['category-breadcrumb']) {
574
  $parentProduct = $this->_getProduct($parentId, $storeId);
575
- $data = $this->getCategories($data, $parentProduct, $storeId);
 
 
576
  }
577
 
578
  }
91
  $collection->walk('delete');
92
  }
93
 
94
+ public function checkForMissingProducts($store_id = false, $maxImport = 1000) {
95
  ini_set('display_errors', 1);
96
  error_reporting(-1);
97
  foreach (Mage::app()->getStores() as $store) {
117
  }
118
  }
119
 
120
+ public function updateFlux($store_id = false, $maxImportLimit = 1000, $shouldExportOnly = false) {
121
  $this->checkForDeletedProducts();
122
  foreach (Mage::app()->getStores() as $store) {
123
  $storeId = $store->getId();
346
 
347
  public function updateProductInFlux($productSku, $storeId) {
348
 
349
+ //$this->_checkMemory();
350
 
351
  $product = $this->_getProductBySku($productSku, $storeId);
352
 
572
  foreach ($parentIds as $parentId) {
573
  if(!$data['category-breadcrumb']) {
574
  $parentProduct = $this->_getProduct($parentId, $storeId);
575
+ if($parentProduct && is_object($parentProduct) && $parentProduct->getId()) {
576
+ $data = $this->getCategories($data, $parentProduct, $storeId);
577
+ }
578
  }
579
 
580
  }
app/code/community/Profileolabs/Shoppingflux/Model/Export/Observer.php CHANGED
@@ -33,12 +33,11 @@ class Profileolabs_Shoppingflux_Model_Export_Observer {
33
  $storeId = Mage::app()->getStore()->getId();
34
  }
35
  $productCollection = Mage::getModel('catalog/product')->getCollection();
36
- $fluxCollection = Mage::getModel('profileolabs_shoppingflux/export_flux')->getCollection();
37
  $productCollection->getSelect()->join(
38
  array('sf_stock' => $productCollection->getTable('cataloginventory/stock_item')), 'e.entity_id = sf_stock.product_id', array('qty')
39
  );
40
  $productCollection->getSelect()->joinRight(
41
- array('flux' => $fluxCollection->getMainTable()), "e.sku = flux.sku and flux.store_id = '".$storeId."'", array('stock_value', 'sku')
42
  );
43
  $productCollection->getSelect()->where('CAST(sf_stock.qty AS SIGNED) != flux.stock_value');
44
  $productCollection->getSelect()->group('e.entity_id');
33
  $storeId = Mage::app()->getStore()->getId();
34
  }
35
  $productCollection = Mage::getModel('catalog/product')->getCollection();
 
36
  $productCollection->getSelect()->join(
37
  array('sf_stock' => $productCollection->getTable('cataloginventory/stock_item')), 'e.entity_id = sf_stock.product_id', array('qty')
38
  );
39
  $productCollection->getSelect()->joinRight(
40
+ array('flux' => $productCollection->getTable('profileolabs_shoppingflux/export_flux')), "e.sku = flux.sku and flux.store_id = '".$storeId."'", array('stock_value', 'sku')
41
  );
42
  $productCollection->getSelect()->where('CAST(sf_stock.qty AS SIGNED) != flux.stock_value');
43
  $productCollection->getSelect()->group('e.entity_id');
app/code/community/Profileolabs/Shoppingflux/Model/Manageorders/Observer.php CHANGED
@@ -183,6 +183,28 @@ class Profileolabs_Shoppingflux_Model_Manageorders_Observer {
183
  }
184
 
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  public function observeAdminhtmlBlockHtmlBefore($observer) {
187
  $block = $observer->getEvent()->getBlock();
188
  if ($block instanceof Mage_Adminhtml_Block_Sales_Order_View) {
183
  }
184
 
185
 
186
+ public function observeSalesOrderPlaceAfter($observer) {
187
+ $order = $observer->getEvent()->getOrder();
188
+ $idTracking = Mage::getSingleton('profileolabs_shoppingflux/config')->getIdTracking();
189
+
190
+ if (!$idTracking || !$order || !$order->getId()) {
191
+ return;
192
+ }
193
+ try {
194
+ if(!$order->getRemoteIp() || $order->getFromShoppingflux()) {
195
+ //backend order
196
+ return;
197
+ }
198
+ $ip = Mage::helper('core/http')->getRemoteAddr(true);
199
+ $grandTotal = $order->getBaseGrandTotal();
200
+ $incrementId = $order->getIncrementId();
201
+ $tagUrl = 'https://tag.shopping-flux.com/order/'.base64_encode($idTracking.'|'.$incrementId.'|'.$grandTotal).'?ip='.$ip;
202
+ file_get_contents($tagUrl);
203
+ } catch (Exception $ex) {
204
+
205
+ }
206
+ }
207
+
208
  public function observeAdminhtmlBlockHtmlBefore($observer) {
209
  $block = $observer->getEvent()->getBlock();
210
  if ($block instanceof Mage_Adminhtml_Block_Sales_Order_View) {
app/code/community/Profileolabs/Shoppingflux/Model/Manageorders/Order.php CHANGED
@@ -34,6 +34,33 @@ class Profileolabs_Shoppingflux_Model_Manageorders_Order extends Varien_Object {
34
  protected $_result;
35
  protected $_resultSendOrder = "";
36
  protected $_isUnderVersion14 = null;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  /**
39
  * Product model
@@ -543,7 +570,7 @@ class Profileolabs_Shoppingflux_Model_Manageorders_Order extends Varien_Object {
543
 
544
 
545
  foreach($configurableAttributesCollection as $confAttribute) {
546
- if(!in_array($confAttribute->getAttributeCode(), array('weight', 'news_from_date', 'news_to_date', 'url_key', 'sku', 'description', 'short_description', 'name')) && $product->getData($confAttribute->getAttributeCode())) {
547
  if($confAttribute->usesSource()) {
548
  $confAttributeValue = $product->getAttributeText($confAttribute->getAttributeCode());
549
  } else {
34
  protected $_result;
35
  protected $_resultSendOrder = "";
36
  protected $_isUnderVersion14 = null;
37
+
38
+ //security for some mal-configured magento
39
+ protected $_excludeConfigurableAttributes = array(
40
+ 'weight',
41
+ 'news_from_date',
42
+ 'news_to_date',
43
+ 'url_key',
44
+ 'sku',
45
+ 'description',
46
+ 'short_description',
47
+ 'name',
48
+ 'tax_class_id',
49
+ 'price',
50
+ 'special_price',
51
+ 'special_from_date',
52
+ 'special_to_date',
53
+ 'cost',
54
+ 'image',
55
+ 'small_image',
56
+ 'thumbnail',
57
+ 'status',
58
+ 'visibility',
59
+ 'custom_design_from',
60
+ 'options_container',
61
+ 'msrp_enabled',
62
+ 'msrp_display_actual_price_type',
63
+ );
64
 
65
  /**
66
  * Product model
570
 
571
 
572
  foreach($configurableAttributesCollection as $confAttribute) {
573
+ if(!in_array($confAttribute->getAttributeCode(), $this->_excludeConfigurableAttributes) && $product->getData($confAttribute->getAttributeCode())) {
574
  if($confAttribute->usesSource()) {
575
  $confAttributeValue = $product->getAttributeText($confAttribute->getAttributeCode());
576
  } else {
app/code/community/Profileolabs/Shoppingflux/Model/Service.php CHANGED
@@ -103,24 +103,24 @@ class Profileolabs_Shoppingflux_Model_Service extends Varien_Object {
103
 
104
 
105
  $responseText = $response->getBody();
106
- /*
107
- $responseText = '<?xml version="1.0" encoding="utf-8"?>
108
  <Result>
109
  <Request>
110
- <Date>2014-02-27T11:08:42+01:00</Date><Call>GetOrders</Call><Token>beea17ee07d2a87e444827c18a77e01d</Token><Mode>Sandbox</Mode><Version>2</Version>
111
  </Request>
112
  <Response>
113
  <Orders>
114
  <Order>
115
- <IdOrder>402-8eeed340e085-1568300</IdOrder>
116
  <Marketplace>Amazon</Marketplace>
117
  <Currency>EUR</Currency>
118
  <TotalAmount>299.00</TotalAmount>
119
  <TotalProducts>299</TotalProducts>
120
  <TotalShipping>0.00</TotalShipping>
121
- <TotalFees>0</TotalFees>
122
  <NumberOfProducts>1</NumberOfProducts>
123
- <OrderDate>2014-02-27T12:08:40+01:00</OrderDate>
124
  <Other></Other>
125
  <ShippingMethod>Std FR Dom</ShippingMethod>
126
  <BillingAddress><LastName>moon chan kim</LastName><FirstName></FirstName><Phone>0698750828</Phone><PhoneMobile></PhoneMobile><Street><![CDATA[121 rue du faubourg du temple etg 2, porte droit]]></Street><Street1><![CDATA[121 rue du faubourg du temple]]></Street1><Street2><![CDATA[etg 2, porte droit]]></Street2><Company><![CDATA[]]></Company><PostalCode>75010</PostalCode><Town><![CDATA[paris]]></Town><Country>FR</Country><Email>vbdels5s4sfpc98p7@marketplace.amazon.fr</Email></BillingAddress>
@@ -136,8 +136,8 @@ class Profileolabs_Shoppingflux_Model_Service extends Varien_Object {
136
  </Order>
137
  </Orders>
138
  </Response>
139
- </Result>';
140
- */
141
 
142
  $this->_xml = simplexml_load_string($responseText, 'Varien_Simplexml_Element', LIBXML_NOCDATA);
143
 
103
 
104
 
105
  $responseText = $response->getBody();
106
+
107
+ /*$responseText = '<?xml version="1.0" encoding="utf-8"?>
108
  <Result>
109
  <Request>
110
+ <Date>2015-02-17T11:08:42+01:00</Date><Call>GetOrders</Call><Token>bezeea17ee07d2a87e444827c18a77e01d</Token><Mode>Sandbox</Mode><Version>2</Version>
111
  </Request>
112
  <Response>
113
  <Orders>
114
  <Order>
115
+ <IdOrder>402-8eeeezezzede3de40e085-1568300</IdOrder>
116
  <Marketplace>Amazon</Marketplace>
117
  <Currency>EUR</Currency>
118
  <TotalAmount>299.00</TotalAmount>
119
  <TotalProducts>299</TotalProducts>
120
  <TotalShipping>0.00</TotalShipping>
121
+ <TotalFees>0.49</TotalFees>
122
  <NumberOfProducts>1</NumberOfProducts>
123
+ <OrderDate>2015-02-27T12:08:41+01:00</OrderDate>
124
  <Other></Other>
125
  <ShippingMethod>Std FR Dom</ShippingMethod>
126
  <BillingAddress><LastName>moon chan kim</LastName><FirstName></FirstName><Phone>0698750828</Phone><PhoneMobile></PhoneMobile><Street><![CDATA[121 rue du faubourg du temple etg 2, porte droit]]></Street><Street1><![CDATA[121 rue du faubourg du temple]]></Street1><Street2><![CDATA[etg 2, porte droit]]></Street2><Company><![CDATA[]]></Company><PostalCode>75010</PostalCode><Town><![CDATA[paris]]></Town><Country>FR</Country><Email>vbdels5s4sfpc98p7@marketplace.amazon.fr</Email></BillingAddress>
136
  </Order>
137
  </Orders>
138
  </Response>
139
+ </Result>';*/
140
+
141
 
142
  $this->_xml = simplexml_load_string($responseText, 'Varien_Simplexml_Element', LIBXML_NOCDATA);
143
 
app/code/community/Profileolabs/Shoppingflux/controllers/Export/FluxController.php CHANGED
@@ -23,6 +23,11 @@ class Profileolabs_Shoppingflux_Export_FluxController extends Mage_Core_Controll
23
  //Mage::getModel('profileolabs_shoppingflux/export_flux')->checkForDeletedProducts();
24
  //Mage::helper('profileolabs_shoppingflux')->newInstallation();
25
 
 
 
 
 
 
26
  die('TESTS_END');
27
  }
28
 
@@ -83,7 +88,9 @@ class Profileolabs_Shoppingflux_Export_FluxController extends Mage_Core_Controll
83
  }
84
 
85
  public function statusAction() {
86
- Mage::getModel('profileolabs_shoppingflux/export_flux')->checkForDeletedProducts();
 
 
87
  $storeId = Mage::app()->getStore()->getId();
88
  $productCollection = Mage::getModel('catalog/product')
89
  ->getCollection()
@@ -114,7 +121,7 @@ class Profileolabs_Shoppingflux_Export_FluxController extends Mage_Core_Controll
114
  if(!headers_sent()) {
115
  header('Content-type: text/xml; charset=UTF-8');
116
  }
117
- echo "<status>";
118
  echo "<feed_generation>";
119
  echo "<product_count>{$productCount}</product_count>";
120
  echo "<feed_count>{$feedCount}</feed_count>";
23
  //Mage::getModel('profileolabs_shoppingflux/export_flux')->checkForDeletedProducts();
24
  //Mage::helper('profileolabs_shoppingflux')->newInstallation();
25
 
26
+
27
+ //$installer = Mage::getResourceModel('catalog/setup','profileolabs_shoppingflux_setup');
28
+ //$sql = "delete from `".$installer->getTable('core/config_data')."` where `path` = 'shoppingflux_export/attributes_mapping/additional,'";
29
+ //$sql = sprintf("UPDATE `%s` SET `path` = '%s' WHERE `path` = '%s'",$installer->getTable('core/config_data'), 'shoppingflux_export/attributes_mapping/additional', 'shoppingflux_export/attributes_additionnal/list');
30
+ //$installer->run($sql);
31
  die('TESTS_END');
32
  }
33
 
88
  }
89
 
90
  public function statusAction() {
91
+ /*if(!$this->getRequest()->getParam('bypasscheck', false)) {
92
+ Mage::getModel('profileolabs_shoppingflux/export_flux')->checkForDeletedProducts();
93
+ }*/
94
  $storeId = Mage::app()->getStore()->getId();
95
  $productCollection = Mage::getModel('catalog/product')
96
  ->getCollection()
121
  if(!headers_sent()) {
122
  header('Content-type: text/xml; charset=UTF-8');
123
  }
124
+ echo '<status version="'.Mage::getConfig()->getModuleConfig("Profileolabs_Shoppingflux")->version.'">';
125
  echo "<feed_generation>";
126
  echo "<product_count>{$productCount}</product_count>";
127
  echo "<feed_count>{$feedCount}</feed_count>";
app/code/community/Profileolabs/Shoppingflux/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Profileolabs_Shoppingflux>
5
- <version>0.8.5</version>
6
  </Profileolabs_Shoppingflux>
7
  </modules>
8
  <admin>
@@ -47,6 +47,12 @@
47
  <to_customer_address>country_id</to_customer_address>
48
  </Country>
49
  </shoppingflux_convert_customer>
 
 
 
 
 
 
50
  </fieldsets>
51
  <blocks>
52
  <profileolabs_shoppingflux>
@@ -172,6 +178,15 @@
172
  </shoppingflux_catalogrule_after_apply>
173
  </observers>
174
  </catalogrule_after_apply>
 
 
 
 
 
 
 
 
 
175
  </events>
176
  <template>
177
  <email>
@@ -182,6 +197,17 @@
182
  </shoppingflux_alert>
183
  </email>
184
  </template>
 
 
 
 
 
 
 
 
 
 
 
185
  </global>
186
  <frontend>
187
 
2
  <config>
3
  <modules>
4
  <Profileolabs_Shoppingflux>
5
+ <version>0.8.7</version>
6
  </Profileolabs_Shoppingflux>
7
  </modules>
8
  <admin>
47
  <to_customer_address>country_id</to_customer_address>
48
  </Country>
49
  </shoppingflux_convert_customer>
50
+ <sales_convert_order>
51
+ <fees_shoppingflux>
52
+ <to_invoice>*</to_invoice>
53
+ <to_cm>*</to_cm>
54
+ </fees_shoppingflux>
55
+ </sales_convert_order>
56
  </fieldsets>
57
  <blocks>
58
  <profileolabs_shoppingflux>
178
  </shoppingflux_catalogrule_after_apply>
179
  </observers>
180
  </catalogrule_after_apply>
181
+ <sales_order_place_after>
182
+ <observers>
183
+ <shoppingflux_sales_order_place_after>
184
+ <type>singleton</type>
185
+ <class>Profileolabs_Shoppingflux_Model_Manageorders_Observer</class>
186
+ <method>observeSalesOrderPlaceAfter</method>
187
+ </shoppingflux_sales_order_place_after>
188
+ </observers>
189
+ </sales_order_place_after>
190
  </events>
191
  <template>
192
  <email>
197
  </shoppingflux_alert>
198
  </email>
199
  </template>
200
+ <pdf>
201
+ <totals>
202
+ <fees_shoppingflux translate="title">
203
+ <title>Commission Marketplace</title>
204
+ <source_field>fees_shoppingflux</source_field>
205
+ <font_size>7</font_size>
206
+ <display_zero>0</display_zero>
207
+ <sort_order>650</sort_order>
208
+ </fees_shoppingflux>
209
+ </totals>
210
+ </pdf>
211
  </global>
212
  <frontend>
213
 
app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-install-0.8.6.php ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @category ShoppingFlux
5
+ * @author vincent enjalbert
6
+ */
7
+
8
+
9
+ /* CUSTOMER */
10
+
11
+ $installerCustomer = new Mage_Customer_Model_Entity_Setup('profileolabs_shoppingflux_setup');
12
+ /* @var $installerCustomer Mage_Customer_Model_Entity_Setup */
13
+
14
+ $installerCustomer->startSetup();
15
+
16
+ //$attribute = Mage::getModel('eav/config')->getAttribute('customer', 'from_shoppingflux');
17
+ $entityId = $installerCustomer->getEntityTypeId('customer');
18
+ $attribute = $installerCustomer->getAttribute($entityId, 'from_shoppingflux');
19
+ if (!$attribute) {
20
+
21
+ $installerCustomer->addAttribute('customer', 'from_shoppingflux', array(
22
+ 'type' => 'int',
23
+ 'label' => 'From ShoppingFlux',
24
+ 'visible' => true,
25
+ 'required' => false,
26
+ 'unique' => false,
27
+ 'sort_order' => 700,
28
+ 'default' => 0,
29
+ 'input' => 'select',
30
+ 'source' => 'eav/entity_attribute_source_boolean',
31
+ ));
32
+
33
+ $usedInForms = array(
34
+ 'adminhtml_customer',
35
+ );
36
+
37
+ $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'from_shoppingflux');
38
+ $attribute->setData('used_in_forms', $usedInForms);
39
+ $attribute->setData('sort_order', 700);
40
+
41
+ $attribute->save();
42
+ }
43
+
44
+ $installerCustomer->endSetup();
45
+
46
+
47
+ /* SALES */
48
+
49
+ $installerSales = new Mage_Sales_Model_Mysql4_Setup('profileolabs_shoppingflux_setup');
50
+ /* @var $installerSales Mage_Sales_Model_Mysql4_Setup */
51
+
52
+ $installerSales->startSetup();
53
+
54
+ $entityId = $installerSales->getEntityTypeId('order');
55
+ $attribute = $installerSales->getAttribute($entityId, 'from_shoppingflux');
56
+ if (!$attribute)
57
+ $installerSales->addAttribute('order', 'from_shoppingflux', array(
58
+ 'type' => 'int',
59
+ 'label' => 'From ShoppingFlux',
60
+ 'visible' => true,
61
+ 'required' => false,
62
+ 'unique' => false,
63
+ 'sort_order' => 700,
64
+ 'default' => 0,
65
+ 'input' => 'select',
66
+ 'source' => 'eav/entity_attribute_source_boolean',
67
+ 'grid' => true,
68
+ ));
69
+
70
+ $attribute = $installerSales->getAttribute($entityId, 'order_id_shoppingflux');
71
+ if (!$attribute)
72
+ $installerSales->addAttribute('order', 'order_id_shoppingflux', array(
73
+ 'type' => 'varchar',
74
+ 'label' => 'ID Order ShoppingFlux',
75
+ 'visible' => true,
76
+ 'required' => false,
77
+ 'unique' => false,
78
+ 'sort_order' => 705,
79
+ 'input' => 'text',
80
+ 'grid' => true,
81
+ ));
82
+
83
+ $attribute = $installerSales->getAttribute($entityId, 'marketplace_shoppingflux');
84
+ if (!$attribute)
85
+ $installerSales->addAttribute('order', 'marketplace_shoppingflux', array(
86
+ 'type' => 'varchar',
87
+ 'label' => 'Marketplace ShoppingFlux',
88
+ 'visible' => true,
89
+ 'required' => false,
90
+ 'unique' => false,
91
+ 'sort_order' => 710,
92
+ 'input' => 'text',
93
+ 'grid' => true,
94
+ ));
95
+
96
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
97
+ if (!$attribute)
98
+ $installerSales->addAttribute('order', 'fees_shoppingflux', array(
99
+ 'type' => 'decimal',
100
+ 'label' => 'Fees ShoppingFlux',
101
+ 'visible' => true,
102
+ 'required' => false,
103
+ 'unique' => false,
104
+ 'sort_order' => 720,
105
+ 'input' => 'text',
106
+ 'grid' => true,
107
+ ));
108
+
109
+ $attribute = $installerSales->getAttribute($entityId, 'other_shoppingflux');
110
+ if (!$attribute)
111
+ $installerSales->addAttribute('order', 'other_shoppingflux', array(
112
+ 'type' => 'varchar',
113
+ 'label' => 'ShoppingFlux Note',
114
+ 'visible' => true,
115
+ 'required' => false,
116
+ 'unique' => false,
117
+ 'sort_order' => 710,
118
+ 'input' => 'text',
119
+ 'grid' => true,
120
+ ));
121
+
122
+
123
+ $attribute = $installerSales->getAttribute($entityId, 'shoppingflux_shipment_flag');
124
+ if (!$attribute) {
125
+ $installerSales->addAttribute('order', 'shoppingflux_shipment_flag', array(
126
+ 'type' => 'int',
127
+ 'label' => 'Is shipped in ShoppingFlux',
128
+ 'visible' => true,
129
+ 'required' => false,
130
+ 'unique' => false,
131
+ 'sort_order' => 705,
132
+ 'default' => 0,
133
+ 'input' => 'select',
134
+ 'source' => 'eav/entity_attribute_source_boolean',
135
+ 'grid' => true,
136
+ ));
137
+ }
138
+
139
+
140
+ $entityId = $installerSales->getEntityTypeId('invoice');
141
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
142
+ if (!$attribute) {
143
+ $installerSales->addAttribute('invoice', 'fees_shoppingflux', array(
144
+ 'type' => 'decimal',
145
+ 'label' => 'Fees ShoppingFlux',
146
+ 'visible' => true,
147
+ 'required' => false,
148
+ 'unique' => false,
149
+ 'sort_order' => 720,
150
+ 'input' => 'text',
151
+ 'grid' => true,
152
+ ));
153
+ }
154
+
155
+
156
+ $entityId = $installerSales->getEntityTypeId('creditmemo');
157
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
158
+ if (!$attribute) {
159
+ $installerSales->addAttribute('creditmemo', 'fees_shoppingflux', array(
160
+ 'type' => 'decimal',
161
+ 'label' => 'Fees ShoppingFlux',
162
+ 'visible' => true,
163
+ 'required' => false,
164
+ 'unique' => false,
165
+ 'sort_order' => 720,
166
+ 'input' => 'text',
167
+ 'grid' => true,
168
+ ));
169
+ }
170
+
171
+
172
+ $installerSales->endSetup();
173
+
174
+
175
+ //CATALOG
176
+ $installer = Mage::getResourceModel('catalog/setup','profileolabs_shoppingflux_setup');
177
+
178
+ $installer->startSetup();
179
+
180
+ $entityId = $installer->getEntityTypeId('catalog_product');
181
+
182
+ $attribute = $installer->getAttribute($entityId,'shoppingflux_product');
183
+ if(!$attribute)
184
+ $installer->addAttribute('catalog_product', 'shoppingflux_product', array(
185
+ 'type' => 'int',
186
+ 'backend' => '',
187
+ 'frontend' => '',
188
+ 'label' => 'Filtrer la présence dans le flux',
189
+ 'input' => 'boolean',
190
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
191
+ 'visible' => 1,
192
+ 'required' => 0,
193
+ 'user_defined' => 0,
194
+ 'default' => 1,
195
+ 'searchable' => 0,
196
+ 'filterable' => 0,
197
+ 'comparable' => 0,
198
+ 'visible_on_front' => 0,
199
+ 'unique' => 0,
200
+ 'used_in_product_listing' => 1
201
+ ));
202
+
203
+ $attribute = $installer->getAttribute($entityId, 'shoppingflux_default_category');
204
+
205
+ if (!$attribute) {
206
+
207
+ $installer->addAttribute('catalog_product', 'shoppingflux_default_category', array(
208
+ 'group' => 'General',
209
+ 'type' => 'int',
210
+ 'backend' => '',
211
+ 'frontend_input' => '',
212
+ 'frontend' => '',
213
+ 'label' => 'Default Shoppingflux Category',
214
+ 'input' => 'select',
215
+ 'class' => '',
216
+ 'source' => 'profileolabs_shoppingflux/attribute_source_category',
217
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
218
+ 'visible' => true,
219
+ 'used_in_product_listing' => true,
220
+ 'frontend_class' => '',
221
+ 'required' => false,
222
+ 'user_defined' => true,
223
+ 'default' => '',
224
+ 'searchable' => false,
225
+ 'filterable' => false,
226
+ 'comparable' => false,
227
+ 'visible_on_front' => false,
228
+ 'unique' => false,
229
+ 'position' => 60,
230
+ ));
231
+ }
232
+
233
+ $entityTypeId = $installer->getEntityTypeId(Mage_Catalog_Model_Product::ENTITY);
234
+ $attrSetIds = $installer->getAllAttributeSetIds($entityTypeId);
235
+ foreach ($attrSetIds as $attrSetId) {
236
+ $group = $installer->getAttributeGroup($entityTypeId, $attrSetId, 'Shopping Flux');
237
+ if (!$group) {
238
+ $installer->addAttributeGroup(Mage_Catalog_Model_Product::ENTITY, $attrSetId, 'Shopping Flux');
239
+ }
240
+ $groupId = $installer->getAttributeGroupId(Mage_Catalog_Model_Product::ENTITY, $attrSetId, 'Shopping Flux');
241
+
242
+
243
+ $attributeId = $installer->getAttributeId($entityTypeId, 'shoppingflux_product');
244
+ $installer->addAttributeToGroup($entityTypeId, $attrSetId, $groupId, $attributeId);
245
+ $attributeId = $installer->getAttributeId($entityTypeId, 'shoppingflux_default_category');
246
+ $installer->addAttributeToGroup($entityTypeId, $attrSetId, $groupId, $attributeId);
247
+ }
248
+
249
+ $installer->endSetup();
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+ // DEFAULT
258
+
259
+ $installer = $this;
260
+
261
+ $installer->startSetup();
262
+
263
+ $installer->run(
264
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_log')}` (
265
+ `id` int(11) NOT NULL auto_increment,
266
+ `date` timestamp NOT NULL default CURRENT_TIMESTAMP,
267
+ `message` text NOT NULL,
268
+ PRIMARY KEY (`id`)
269
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
270
+ $installer->run(
271
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_export_updates')}` (
272
+ `update_id` int(11) NOT NULL auto_increment,
273
+ `store_id` int(11) NOT NULL,
274
+ `product_sku` varchar(255) NOT NULL,
275
+ `stock_value` int(11) NOT NULL,
276
+ `price_value` decimal(12,4) NOT NULL,
277
+ `old_price_value` decimal(12,4) NOT NULL,
278
+ `updated_at` timestamp NOT NULL default CURRENT_TIMESTAMP,
279
+ PRIMARY KEY (`update_id`)
280
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
281
+
282
+
283
+ $installer->run(
284
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_export_flux')}` (
285
+ `id` int(11) NOT NULL auto_increment,
286
+ `product_id` int(11) NOT NULL default 0,
287
+ `sku` varchar(255) NOT NULL default '',
288
+ `store_id` smallint(5) NOT NULL default 1,
289
+ `xml` MEDIUMTEXT NOT NULL,
290
+ `stock_value` INT( 11 ) NOT NULL,
291
+ `price_value` DECIMAL( 12,4 ) NOT NULL,
292
+ `is_in_stock` tinyint(1) NOT NULL,
293
+ `salable` tinyint(1) NOT NULL,
294
+ `is_in_flux` tinyint(1) NOT NULL,
295
+ `type` varchar(50) NOT NULL,
296
+ `visibility` varchar(50) NOT NULL,
297
+ `update_needed` tinyint(1) NOT NULL,
298
+ `should_export` tinyint(1) NOT NULL,
299
+ `updated_at` datetime NOT NULL,
300
+ PRIMARY KEY (`id`),
301
+ CONSTRAINT SF_E_F_UNIQUE UNIQUE (`sku`, `store_id`),
302
+ INDEX (`update_needed`),
303
+ INDEX (`is_in_stock`),
304
+ INDEX (`is_in_flux`),
305
+ INDEX (`type`),
306
+ INDEX (`visibility`),
307
+ INDEX (`should_export`),
308
+ INDEX (`type`, `is_in_stock`, `is_in_flux`, `visibility`, `store_id`, `should_export`),
309
+ INDEX (`type`, `is_in_flux`, `visibility`, `store_id`,`should_export`),
310
+ INDEX (`type`, `is_in_stock`, `visibility`, `store_id`, `should_export`),
311
+ INDEX (`type`, `visibility`, `store_id`, `should_export`),
312
+ INDEX (`sku`),
313
+ INDEX (`store_id`)
314
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
315
+
316
+ $installer->run(
317
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_shipping_methods')}` (
318
+ `id` int(11) NOT NULL auto_increment,
319
+ `shipping_method` varchar(255) NOT NULL default '',
320
+ `marketplace` varchar(127) NOT NULL default '',
321
+ `last_seen_at` datetime NOT NULL,
322
+ PRIMARY KEY (`id`),
323
+ CONSTRAINT SF_S_M_UNIQUE UNIQUE (`shipping_method`, `marketplace`)
324
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
325
+
326
+ $installer->run(
327
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_manageorders_export_shipments')}` (
328
+ `update_id` int(11) NOT NULL auto_increment,
329
+ `shipment_id` int(11) NOT NULL,
330
+ `updated_at` timestamp NOT NULL default CURRENT_TIMESTAMP,
331
+ PRIMARY KEY (`update_id`)
332
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
333
+ $installer->endSetup();
334
+
335
+ Mage::helper('profileolabs_shoppingflux')->generateTokens();
336
+ Mage::helper('profileolabs_shoppingflux')->newInstallation();
app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-install-0.8.7.php ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @category ShoppingFlux
5
+ * @author vincent enjalbert
6
+ */
7
+
8
+
9
+ /* CUSTOMER */
10
+
11
+ $installerCustomer = new Mage_Customer_Model_Entity_Setup('profileolabs_shoppingflux_setup');
12
+ /* @var $installerCustomer Mage_Customer_Model_Entity_Setup */
13
+
14
+ $installerCustomer->startSetup();
15
+
16
+ //$attribute = Mage::getModel('eav/config')->getAttribute('customer', 'from_shoppingflux');
17
+ $entityId = $installerCustomer->getEntityTypeId('customer');
18
+ $attribute = $installerCustomer->getAttribute($entityId, 'from_shoppingflux');
19
+ if (!$attribute) {
20
+
21
+ $installerCustomer->addAttribute('customer', 'from_shoppingflux', array(
22
+ 'type' => 'int',
23
+ 'label' => 'From ShoppingFlux',
24
+ 'visible' => true,
25
+ 'required' => false,
26
+ 'unique' => false,
27
+ 'sort_order' => 700,
28
+ 'default' => 0,
29
+ 'input' => 'select',
30
+ 'source' => 'eav/entity_attribute_source_boolean',
31
+ ));
32
+
33
+ $usedInForms = array(
34
+ 'adminhtml_customer',
35
+ );
36
+
37
+ $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'from_shoppingflux');
38
+ $attribute->setData('used_in_forms', $usedInForms);
39
+ $attribute->setData('sort_order', 700);
40
+
41
+ $attribute->save();
42
+ }
43
+
44
+ $installerCustomer->endSetup();
45
+
46
+
47
+ /* SALES */
48
+
49
+ $installerSales = new Mage_Sales_Model_Mysql4_Setup('profileolabs_shoppingflux_setup');
50
+ /* @var $installerSales Mage_Sales_Model_Mysql4_Setup */
51
+
52
+ $installerSales->startSetup();
53
+
54
+ $entityId = $installerSales->getEntityTypeId('order');
55
+ $attribute = $installerSales->getAttribute($entityId, 'from_shoppingflux');
56
+ if (!$attribute)
57
+ $installerSales->addAttribute('order', 'from_shoppingflux', array(
58
+ 'type' => 'int',
59
+ 'label' => 'From ShoppingFlux',
60
+ 'visible' => true,
61
+ 'required' => false,
62
+ 'unique' => false,
63
+ 'sort_order' => 700,
64
+ 'default' => 0,
65
+ 'input' => 'select',
66
+ 'source' => 'eav/entity_attribute_source_boolean',
67
+ 'grid' => true,
68
+ ));
69
+
70
+ $attribute = $installerSales->getAttribute($entityId, 'order_id_shoppingflux');
71
+ if (!$attribute)
72
+ $installerSales->addAttribute('order', 'order_id_shoppingflux', array(
73
+ 'type' => 'varchar',
74
+ 'label' => 'ID Order ShoppingFlux',
75
+ 'visible' => true,
76
+ 'required' => false,
77
+ 'unique' => false,
78
+ 'sort_order' => 705,
79
+ 'input' => 'text',
80
+ 'grid' => true,
81
+ ));
82
+
83
+ $attribute = $installerSales->getAttribute($entityId, 'marketplace_shoppingflux');
84
+ if (!$attribute)
85
+ $installerSales->addAttribute('order', 'marketplace_shoppingflux', array(
86
+ 'type' => 'varchar',
87
+ 'label' => 'Marketplace ShoppingFlux',
88
+ 'visible' => true,
89
+ 'required' => false,
90
+ 'unique' => false,
91
+ 'sort_order' => 710,
92
+ 'input' => 'text',
93
+ 'grid' => true,
94
+ ));
95
+
96
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
97
+ if (!$attribute)
98
+ $installerSales->addAttribute('order', 'fees_shoppingflux', array(
99
+ 'type' => 'decimal',
100
+ 'label' => 'Fees ShoppingFlux',
101
+ 'visible' => true,
102
+ 'required' => false,
103
+ 'unique' => false,
104
+ 'sort_order' => 720,
105
+ 'input' => 'text',
106
+ 'grid' => true,
107
+ ));
108
+
109
+ $attribute = $installerSales->getAttribute($entityId, 'other_shoppingflux');
110
+ if (!$attribute)
111
+ $installerSales->addAttribute('order', 'other_shoppingflux', array(
112
+ 'type' => 'varchar',
113
+ 'label' => 'ShoppingFlux Note',
114
+ 'visible' => true,
115
+ 'required' => false,
116
+ 'unique' => false,
117
+ 'sort_order' => 710,
118
+ 'input' => 'text',
119
+ 'grid' => true,
120
+ ));
121
+
122
+
123
+ $attribute = $installerSales->getAttribute($entityId, 'shoppingflux_shipment_flag');
124
+ if (!$attribute) {
125
+ $installerSales->addAttribute('order', 'shoppingflux_shipment_flag', array(
126
+ 'type' => 'int',
127
+ 'label' => 'Is shipped in ShoppingFlux',
128
+ 'visible' => true,
129
+ 'required' => false,
130
+ 'unique' => false,
131
+ 'sort_order' => 705,
132
+ 'default' => 0,
133
+ 'input' => 'select',
134
+ 'source' => 'eav/entity_attribute_source_boolean',
135
+ 'grid' => true,
136
+ ));
137
+ }
138
+
139
+
140
+ $entityId = $installerSales->getEntityTypeId('invoice');
141
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
142
+ if (!$attribute) {
143
+ $installerSales->addAttribute('invoice', 'fees_shoppingflux', array(
144
+ 'type' => 'decimal',
145
+ 'label' => 'Fees ShoppingFlux',
146
+ 'visible' => true,
147
+ 'required' => false,
148
+ 'unique' => false,
149
+ 'sort_order' => 720,
150
+ 'input' => 'text',
151
+ 'grid' => true,
152
+ ));
153
+ }
154
+
155
+
156
+ $entityId = $installerSales->getEntityTypeId('creditmemo');
157
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
158
+ if (!$attribute) {
159
+ $installerSales->addAttribute('creditmemo', 'fees_shoppingflux', array(
160
+ 'type' => 'decimal',
161
+ 'label' => 'Fees ShoppingFlux',
162
+ 'visible' => true,
163
+ 'required' => false,
164
+ 'unique' => false,
165
+ 'sort_order' => 720,
166
+ 'input' => 'text',
167
+ 'grid' => true,
168
+ ));
169
+ }
170
+
171
+
172
+ $installerSales->endSetup();
173
+
174
+
175
+ //CATALOG
176
+ $installer = Mage::getResourceModel('catalog/setup','profileolabs_shoppingflux_setup');
177
+
178
+ $installer->startSetup();
179
+
180
+ $entityId = $installer->getEntityTypeId('catalog_product');
181
+
182
+ $attribute = $installer->getAttribute($entityId,'shoppingflux_product');
183
+ if(!$attribute)
184
+ $installer->addAttribute('catalog_product', 'shoppingflux_product', array(
185
+ 'type' => 'int',
186
+ 'backend' => '',
187
+ 'frontend' => '',
188
+ 'label' => 'Filtrer la présence dans le flux',
189
+ 'input' => 'boolean',
190
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
191
+ 'visible' => 1,
192
+ 'required' => 0,
193
+ 'user_defined' => 0,
194
+ 'default' => 1,
195
+ 'searchable' => 0,
196
+ 'filterable' => 0,
197
+ 'comparable' => 0,
198
+ 'visible_on_front' => 0,
199
+ 'unique' => 0,
200
+ 'used_in_product_listing' => 1
201
+ ));
202
+
203
+ $attribute = $installer->getAttribute($entityId, 'shoppingflux_default_category');
204
+
205
+ if (!$attribute) {
206
+
207
+ $installer->addAttribute('catalog_product', 'shoppingflux_default_category', array(
208
+ 'group' => 'General',
209
+ 'type' => 'int',
210
+ 'backend' => '',
211
+ 'frontend_input' => '',
212
+ 'frontend' => '',
213
+ 'label' => 'Default Shoppingflux Category',
214
+ 'input' => 'select',
215
+ 'class' => '',
216
+ 'source' => 'profileolabs_shoppingflux/attribute_source_category',
217
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
218
+ 'visible' => true,
219
+ 'used_in_product_listing' => true,
220
+ 'frontend_class' => '',
221
+ 'required' => false,
222
+ 'user_defined' => true,
223
+ 'default' => '',
224
+ 'searchable' => false,
225
+ 'filterable' => false,
226
+ 'comparable' => false,
227
+ 'visible_on_front' => false,
228
+ 'unique' => false,
229
+ 'position' => 60,
230
+ ));
231
+ }
232
+
233
+ $entityTypeId = $installer->getEntityTypeId(Mage_Catalog_Model_Product::ENTITY);
234
+ $attrSetIds = $installer->getAllAttributeSetIds($entityTypeId);
235
+ foreach ($attrSetIds as $attrSetId) {
236
+ $group = $installer->getAttributeGroup($entityTypeId, $attrSetId, 'Shopping Flux');
237
+ if (!$group) {
238
+ $installer->addAttributeGroup(Mage_Catalog_Model_Product::ENTITY, $attrSetId, 'Shopping Flux');
239
+ }
240
+ $groupId = $installer->getAttributeGroupId(Mage_Catalog_Model_Product::ENTITY, $attrSetId, 'Shopping Flux');
241
+
242
+
243
+ $attributeId = $installer->getAttributeId($entityTypeId, 'shoppingflux_product');
244
+ $installer->addAttributeToGroup($entityTypeId, $attrSetId, $groupId, $attributeId);
245
+ $attributeId = $installer->getAttributeId($entityTypeId, 'shoppingflux_default_category');
246
+ $installer->addAttributeToGroup($entityTypeId, $attrSetId, $groupId, $attributeId);
247
+ }
248
+
249
+ $installer->endSetup();
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+ // DEFAULT
258
+
259
+ $installer = $this;
260
+
261
+ $installer->startSetup();
262
+
263
+ $installer->run(
264
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_log')}` (
265
+ `id` int(11) NOT NULL auto_increment,
266
+ `date` timestamp NOT NULL default CURRENT_TIMESTAMP,
267
+ `message` text NOT NULL,
268
+ PRIMARY KEY (`id`)
269
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
270
+ $installer->run(
271
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_export_updates')}` (
272
+ `update_id` int(11) NOT NULL auto_increment,
273
+ `store_id` int(11) NOT NULL,
274
+ `product_sku` varchar(255) NOT NULL,
275
+ `stock_value` int(11) NOT NULL,
276
+ `price_value` decimal(12,4) NOT NULL,
277
+ `old_price_value` decimal(12,4) NOT NULL,
278
+ `updated_at` timestamp NOT NULL default CURRENT_TIMESTAMP,
279
+ PRIMARY KEY (`update_id`)
280
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
281
+
282
+
283
+ $installer->run(
284
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_export_flux')}` (
285
+ `id` int(11) NOT NULL auto_increment,
286
+ `product_id` int(11) NOT NULL default 0,
287
+ `sku` varchar(255) NOT NULL default '',
288
+ `store_id` smallint(5) NOT NULL default 1,
289
+ `xml` MEDIUMTEXT NOT NULL,
290
+ `stock_value` INT( 11 ) NOT NULL,
291
+ `price_value` DECIMAL( 12,4 ) NOT NULL,
292
+ `is_in_stock` tinyint(1) NOT NULL,
293
+ `salable` tinyint(1) NOT NULL,
294
+ `is_in_flux` tinyint(1) NOT NULL,
295
+ `type` varchar(50) NOT NULL,
296
+ `visibility` varchar(50) NOT NULL,
297
+ `update_needed` tinyint(1) NOT NULL,
298
+ `should_export` tinyint(1) NOT NULL,
299
+ `updated_at` datetime NOT NULL,
300
+ PRIMARY KEY (`id`),
301
+ CONSTRAINT SF_E_F_UNIQUE UNIQUE (`sku`, `store_id`),
302
+ INDEX (`update_needed`),
303
+ INDEX (`product_id`),
304
+ INDEX (`is_in_stock`),
305
+ INDEX (`is_in_flux`),
306
+ INDEX (`type`),
307
+ INDEX (`visibility`),
308
+ INDEX (`should_export`),
309
+ INDEX (`type`, `is_in_stock`, `is_in_flux`, `visibility`, `store_id`, `should_export`),
310
+ INDEX (`type`, `is_in_flux`, `visibility`, `store_id`,`should_export`),
311
+ INDEX (`type`, `is_in_stock`, `visibility`, `store_id`, `should_export`),
312
+ INDEX (`type`, `visibility`, `store_id`, `should_export`),
313
+ INDEX (`sku`),
314
+ INDEX (`store_id`)
315
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
316
+
317
+ $installer->run(
318
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_shipping_methods')}` (
319
+ `id` int(11) NOT NULL auto_increment,
320
+ `shipping_method` varchar(255) NOT NULL default '',
321
+ `marketplace` varchar(127) NOT NULL default '',
322
+ `last_seen_at` datetime NOT NULL,
323
+ PRIMARY KEY (`id`),
324
+ CONSTRAINT SF_S_M_UNIQUE UNIQUE (`shipping_method`, `marketplace`)
325
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
326
+
327
+ $installer->run(
328
+ "CREATE TABLE IF NOT EXISTS `{$this->getTable('shoppingflux_manageorders_export_shipments')}` (
329
+ `update_id` int(11) NOT NULL auto_increment,
330
+ `shipment_id` int(11) NOT NULL,
331
+ `updated_at` timestamp NOT NULL default CURRENT_TIMESTAMP,
332
+ PRIMARY KEY (`update_id`)
333
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
334
+ $installer->endSetup();
335
+
336
+ Mage::helper('profileolabs_shoppingflux')->generateTokens();
337
+ Mage::helper('profileolabs_shoppingflux')->newInstallation();
app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.4-0.8.5.php CHANGED
@@ -19,4 +19,6 @@ $installer->startSetup();
19
  $installer->run("
20
  UPDATE `{$this->getTable('shoppingflux_export_flux')}` SET update_needed = 1, should_export = 1;
21
  ALTER TABLE `{$this->getTable('shoppingflux_export_flux')}` ADD `product_id` int( 11 ) NOT NULL default 0 AFTER `id`;
22
- ");
 
 
19
  $installer->run("
20
  UPDATE `{$this->getTable('shoppingflux_export_flux')}` SET update_needed = 1, should_export = 1;
21
  ALTER TABLE `{$this->getTable('shoppingflux_export_flux')}` ADD `product_id` int( 11 ) NOT NULL default 0 AFTER `id`;
22
+ ");
23
+
24
+ $installer->endSetup();
app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.5-0.8.6.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Shoppinflux
5
+ *
6
+ * @category Profileolabs
7
+ * @package Profileolabs_Shoppingflux
8
+ * @author Vincent Enjalbert - web-cooking.net
9
+ */
10
+ /* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */
11
+
12
+
13
+ //$installer = $this;
14
+
15
+
16
+ $installerSales = new Mage_Sales_Model_Mysql4_Setup('profileolabs_shoppingflux_setup');
17
+ /* @var $installerSales Mage_Sales_Model_Mysql4_Setup */
18
+
19
+ $installerSales->startSetup();
20
+
21
+ $entityId = $installerSales->getEntityTypeId('invoice');
22
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
23
+ if (!$attribute) {
24
+ $installerSales->addAttribute('invoice', 'fees_shoppingflux', array(
25
+ 'type' => 'decimal',
26
+ 'label' => 'Fees ShoppingFlux',
27
+ 'visible' => true,
28
+ 'required' => false,
29
+ 'unique' => false,
30
+ 'sort_order' => 720,
31
+ 'input' => 'text',
32
+ 'grid' => true,
33
+ ));
34
+ }
35
+
36
+
37
+ $entityId = $installerSales->getEntityTypeId('creditmemo');
38
+ $attribute = $installerSales->getAttribute($entityId, 'fees_shoppingflux');
39
+ if (!$attribute) {
40
+ $installerSales->addAttribute('creditmemo', 'fees_shoppingflux', array(
41
+ 'type' => 'decimal',
42
+ 'label' => 'Fees ShoppingFlux',
43
+ 'visible' => true,
44
+ 'required' => false,
45
+ 'unique' => false,
46
+ 'sort_order' => 720,
47
+ 'input' => 'text',
48
+ 'grid' => true,
49
+ ));
50
+ }
51
+
52
+ $installerSales->endSetup();
app/code/community/Profileolabs/Shoppingflux/sql/profileolabs_shoppingflux_setup/mysql4-upgrade-0.8.6-0.8.7.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Shoppinflux
5
+ *
6
+ * @category Profileolabs
7
+ * @package Profileolabs_Shoppingflux
8
+ * @author Vincent Enjalbert - web-cooking.net
9
+ */
10
+ /* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */
11
+
12
+
13
+ //$installer = $this;
14
+
15
+ $installer = Mage::getResourceModel('catalog/setup','profileolabs_shoppingflux_setup');
16
+
17
+ $installer->startSetup();
18
+ $installer->run("
19
+ ALTER TABLE `{$this->getTable('shoppingflux_export_flux')}` ADD INDEX ( `product_id` )
20
+ ");
21
+ $installer->endSetup();
app/design/adminhtml/default/default/layout/profileolabs_shoppingflux.xml CHANGED
@@ -63,7 +63,7 @@
63
  </adminhtml_sales_order_view>
64
  <adminhtml_sales_order_invoice_view>
65
  <reference name="invoice_totals">
66
- <block type="adminhtml/sales_order_totals_tax" name="fees_shoppingflux" template="profileolabs/shoppingflux/manageorders/sales/order/total.phtml"></block>
67
  </reference>
68
  </adminhtml_sales_order_invoice_view>
69
  </layout>
63
  </adminhtml_sales_order_view>
64
  <adminhtml_sales_order_invoice_view>
65
  <reference name="invoice_totals">
66
+ <block type="adminhtml/sales_order_totals_item" name="fees_shoppingflux" template="profileolabs/shoppingflux/manageorders/sales/order/invoice/total.phtml"></block>
67
  </reference>
68
  </adminhtml_sales_order_invoice_view>
69
  </layout>
app/design/adminhtml/default/default/template/profileolabs/shoppingflux/manageorders/sales/order/invoice/total.phtml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $this->setPriceDataObject($this->getSource());
3
+ $feesShoppingFlux = (float)$this->getSource()->getFeesShoppingflux();
4
+ if(!$feesShoppingFlux) {
5
+ $feesShoppingFlux = (float)$this->getSource()->getOrder()->getFeesShoppingflux();
6
+ }
7
+ ?>
8
+
9
+ <?php if (true||$feesShoppingFlux): ?>
10
+ <tr class="shoppingflux">
11
+ <td class="label a-right" <?php echo $this->getColspan()?'colspan="'.$this->getColspan().'"':''?>><?php echo Mage::helper('profileolabs_shoppingflux')->formatFeesDescription($feesShoppingFlux, $this->getSource()->getOrder()->getMarketplaceShoppingflux()) ?></td>
12
+ <td class="a-right">
13
+ <?php echo $this->displayPrices($feesShoppingFlux, $feesShoppingFlux); ?>
14
+ </td>
15
+ </tr>
16
+ <?php endif; ?>
app/design/adminhtml/default/default/template/profileolabs/shoppingflux/manageorders/sales/order/total.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php $this->setPriceDataObject($this->getSource()) ?>
2
  <?php if ((float) $this->getSource()->getFeesShoppingflux()): ?>
3
- <tr class="simplebundle">
4
  <td class="label a-right" <?php echo $this->getColspan()?'colspan="'.$this->getColspan().'"':''?>><?php echo Mage::helper('profileolabs_shoppingflux')->formatFeesDescription($this->getSource()->getFeesShoppingflux(), $this->getSource()->getMarketplaceShoppingflux()) ?></td>
5
  <td class="a-right">
6
  <?php echo $this->displayPrices($this->getSource()->getFeesShoppingflux(), $this->getSource()->getFeesShoppingflux()); ?>
1
  <?php $this->setPriceDataObject($this->getSource()) ?>
2
  <?php if ((float) $this->getSource()->getFeesShoppingflux()): ?>
3
+ <tr class="shoppingflux">
4
  <td class="label a-right" <?php echo $this->getColspan()?'colspan="'.$this->getColspan().'"':''?>><?php echo Mage::helper('profileolabs_shoppingflux')->formatFeesDescription($this->getSource()->getFeesShoppingflux(), $this->getSource()->getMarketplaceShoppingflux()) ?></td>
5
  <td class="a-right">
6
  <?php echo $this->displayPrices($this->getSource()->getFeesShoppingflux(), $this->getSource()->getFeesShoppingflux()); ?>
app/design/frontend/base/default/layout/profileolabs_shoppingflux.xml CHANGED
@@ -1,10 +1,10 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <checkout_onepage_success>
4
  <reference name="before_body_end">
5
  <block type="profileolabs_shoppingflux/tracking_roi" name="sf_tracking_roi" as="sf.track.roi" />
6
  </reference>
7
- </checkout_onepage_success>
8
  <default>
9
  <reference name="before_body_end">
10
  <block type="profileolabs_shoppingflux/tracking_buyline" name="sf_tracking_buyline" as="sf.track.buyline" />
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <!--<checkout_onepage_success>
4
  <reference name="before_body_end">
5
  <block type="profileolabs_shoppingflux/tracking_roi" name="sf_tracking_roi" as="sf.track.roi" />
6
  </reference>
7
+ </checkout_onepage_success>-->
8
  <default>
9
  <reference name="before_body_end">
10
  <block type="profileolabs_shoppingflux/tracking_buyline" name="sf_tracking_buyline" as="sf.track.buyline" />
package.xml CHANGED
@@ -1,19 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Profileolabs_Shoppingflux</name>
4
- <version>0.8.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Export your products on price comparison sites and marketplaces, with lift controls.</summary>
10
  <description>This module will allow you to connect your Magento Shopping-Flux (monthly subscription from 79 &#x20AC; / month) to export your products on price comparison sites and marketplaces, with managing your commands directly into your Magento. You'll increase your sales by making available on: . Google Shopping . LeGuide.com . Shopping . Shopzilla . Twenga (and over a hundred other price comparison sites and buying guides) . eBay . Rue Du Commerce . C Market (CDsicount) . PixPlace (Pixmania) . Amazon . PriceMinister (and all, more than a dozen marketplaces) With rise in orders directly into your Magento for a quick and easy management of your orders for your products and the most profitable. with Shopping Flux, you can also create Adwords campaigns for each of your product descriptions, create a shop on FaceBook, etc. ... Shopping Flux Technology is the most innovative of the French market and has many Ecommer&#xE7;ants Magento. Ask a free trial for 1 month on our website : www.shopping-flux.com</description>
11
- <notes>- Minor bugfixes &amp; improvements&#xD;
 
 
 
12
  </notes>
13
  <authors><author><name>ShoppingFlux</name><user>ShoppingFlux</user><email>olivier.levy@gmail.com</email></author></authors>
14
- <date>2015-02-05</date>
15
- <time>15:01:42</time>
16
- <contents><target name="magecommunity"><dir name="Profileolabs"><dir name="Shoppingflux"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Abstract.php" hash="24b478fb90bc6f55a4a5401c7254be11"/></dir></dir></dir></dir></dir><dir name="Export"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="da466a657f2b80567ef576711a190805"/></dir><dir name="Tab"><file name="Default.php" hash="b66202a43cdb1e3b178287aa1d7c1d2a"/></dir></dir></dir><file name="Feed.php" hash="a6bfac2be7c99ba5631626404e231ab0"/><file name="Process.php" hash="d5cd1471abfc8ea7f364dfb4610e4fd4"/><dir name="Product"><file name="Grid.php" hash="03b7aa3a458a0405d5d22ce7c0566033"/></dir><file name="Product.php" hash="f71a0d0f25e2484f74f1ceaeee514d3f"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Bool.php" hash="2717fd3964299bb372c355427c8136d7"/></dir></dir></dir></dir></dir><file name="Flow.php" hash="51cfa87ab0417ff26669a33bd22b50fa"/><file name="Flux.php" hash="61914062c6ad450ca31e63248bd50dca"/><file name="Tracking.php" hash="a01f384121dda81f8ee3faa80ee3a32a"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Manageorders"><dir name="Adminhtml"><dir name="Cron"><file name="Grid.php" hash="ddfd5d9374446afafef1f545839e869e"/></dir><file name="Cron.php" hash="1a6a4042d3270b56e2dadc80f5c12cfa"/><file name="Import.php" hash="0d675a1731ca646ba57989b8545f4682"/><dir name="Log"><file name="Grid.php" hash="9170b01b3a6d3d558801faeba745390f"/></dir><file name="Log.php" hash="3336bc53002b82b4ab16d18a4e68e0cb"/><dir name="Order"><file name="Grid.php" hash="00cc7d1bb20437d8f7a547e0acfd7f9c"/><dir name="View"><dir name="Tab"><file name="Shoppingflux.php" hash="c0039acf525620c14cc8a1945d44150e"/></dir></dir></dir><file name="Order.php" hash="a6d45eb0146fb448f72348724c3151df"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Shipping"><file name="Method.php" hash="93276aad3f0ce41f8bd5d8664e2554ce"/></dir></dir></dir></dir></dir></dir><dir name="Payment"><dir name="Info"><file name="Purchaseorder.php" hash="df942f5c9a19506ef2bf70ca1d4da809"/></dir></dir></dir><dir name="Tracking"><file name="Buyline.php" hash="a60b19ed533b265a7a2aafe75c03c0fa"/><file name="Roi.php" hash="e34e26dffead694a35798d0397782d55"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e1a1d9e732d1491117136305213b8131"/></dir><dir name="Model"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="49f1f7959c4741c22bbf79b7e0bd24e7"/></dir></dir><dir name="Catalog"><dir name="Product"><file name="Collection.php" hash="8c3a5fe7c329059b6b85a1e0e5ee48fd"/></dir></dir><file name="Config.php" hash="da5de2e75f27c64d01aef782d00b4a95"/><dir name="Export"><dir name="Convert"><dir name="Parser"><file name="Product.php" hash="4e50613b82ba84c35eb87f991645c118"/></dir></dir><file name="Flow.php" hash="842fa4b4a49ea86bdeb1cb0441433ccd"/><file name="Flux.php" hash="e4658eae5d4f3cc9296a15fe92b98e43"/><file name="Observer.php" hash="257b6198822f5fe6551296d1e626c20c"/><dir name="Rewrite"><dir name="Catalog"><file name="Config.php" hash="c87b13b0141123b80cb1ac33eaf75715"/></dir><dir name="CatalogInventory"><dir name="Stock"><file name="Item.php" hash="5249964f31fda6d5b7ff9587e713ca81"/></dir></dir></dir><dir name="Source"><file name="Attributes.php" hash="7c86df4782b77b69c59204a39766a787"/><file name="Attributesprice.php" hash="6cddf3b9562c8dbc56e670b377e341c1"/><dir name="Category"><file name="Level.php" hash="477d3dccefe5720eedc6b5d7a7110c9a"/></dir><file name="Visibility.php" hash="c2a1494bc2e554074d19c58523c450b2"/></dir><file name="Updates.php" hash="6a12528f1ba69f0e0240ba471b471578"/><file name="Xml.php" hash="d6574955d2a108a91c1ebf84feb1b02b"/><file name="Xmlflow.deprecated.php" hash="960d81e05b332cdb16449029b07f0eca"/><file name="Xmlflow.php" hash="82815362cf6b2127ef961be79e48c127"/></dir><dir name="Manageorders"><dir name="Convert"><file name="Customer.php" hash="3ef9c9aba499a9dcaa9d56a820fa3736"/></dir><dir name="Export"><file name="Shipments.php" hash="20e617e183366ef5447ea653aa989065"/></dir><file name="Log.php" hash="392d1811b56df12bccb2e7986e588f3d"/><file name="Observer.php" hash="752cc172b2226da0d0af729e272ec390"/><file name="Order.php" hash="d02dd1893dcc1e1212d0fd1946abf0f8"/><file name="OrderOLD.php" hash="f25b3ce2d3610eecf201e2d2421aa460"/><dir name="Payment"><dir name="Method"><file name="Purchaseorder.php" hash="4ed46b995590d286b3154e0bbf7ebc63"/></dir></dir><file name="Product.php" hash="0041c5ebcd0aa8ca17f5c1a4f07ec03d"/><dir name="Shipping"><dir name="Carrier"><file name="Shoppingflux.php" hash="1d56b8eac4d74d6f9cce1e8c5a6613bb"/></dir><file name="Method.php" hash="a71d621b210ecdb1e69290f3e0c6f6d2"/></dir><dir name="Source"><file name="Attributes.php" hash="c9207872ddd962d6b0166d35cfe98626"/></dir></dir><dir name="Mysql4"><dir name="Export"><dir name="Flux"><file name="Collection.php" hash="25a6420bb66aeefb6a8ac0a9e6fc538f"/></dir><file name="Flux.php" hash="6140eeee9d40615eaaba736377aba17e"/><dir name="Updates"><file name="Collection.php" hash="21b355b1db82e4b8a5d1950ac2ffbd18"/></dir><file name="Updates.php" hash="02ef11d051020470231e470f3232f862"/></dir><dir name="Manageorders"><dir name="Export"><dir name="Shipments"><file name="Collection.php" hash="fcdf3c607a8d479beb10a53a618aa225"/></dir><file name="Shipments.php" hash="e06dfaf254a5fd3d8649685b56874258"/></dir><dir name="Log"><file name="Collection.php" hash="0efd8c68937edf98cc9f9bb35bd76f79"/></dir><file name="Log.php" hash="b30bbf3ead209d69993546b29f72ecd7"/><dir name="Shipping"><dir name="Method"><file name="Collection.php" hash="7b2c8fb56625953ea8cd79cc7ddcc9df"/></dir><file name="Method.php" hash="a919a6c61ad6ddefd19ffc287eaa7325"/></dir></dir></dir><dir name="Service"><dir name="Http"><dir name="Client"><dir name="Adapter"><file name="Curl.php" hash="659ab165cdd8492fdc7ee08b515732ac"/><file name="Stream.php" hash="c3a61972f5ffb625dba59ba53365965d"/></dir></dir></dir></dir><file name="Service.php" hash="1f25ee2f480128d9257c131e66924fef"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="90036cf58c627fcc68920af912171a0c"/><file name="Refresh.php" hash="d53cbdc6ae73c146af67ef5f20d9e4e8"/></dir></dir></dir><file name=".DS_Store" hash="e7218be203fbe7f5c2243a9dea3bf55e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="GeneralController.php" hash="ca99113377d353dbc4eecfdaea767fa2"/></dir><dir name="Export"><dir name="Adminhtml"><file name="CategoryController.php" hash="d882797e1e0fbff25b312768c6569f04"/><file name="ExportController.php" hash="b496415fe06e284c62692813d8000250"/></dir><file name="FluxController.php" hash="7535da948a253a6bd53f866d5fa5c04b"/></dir><dir name="Manageorders"><dir name="Adminhtml"><file name="CronController.php" hash="9c43b1b18fb883b4140aaa1d3f82cb1c"/><file name="ImportController.php" hash="31203b56860d102c1565fb7653b1a770"/><file name="LogController.php" hash="f744619a2283468d03e8a3f7f8f0c080"/><file name="OrderController.php" hash="acec967d5c7fa44fd3f716fc48f500a6"/></dir><file name="LaunchController.php" hash="a8d04ada8f26479dbd6b002b871a612a"/></dir></dir><dir name="doc"><file name="ShoppingFeed_US.pdf" hash="0cd685730056d5f2f9c9f8292dead3ae"/><file name="ShoppingFlux_FR.pdf" hash="5590a49838bd67f70f0cacf9605cea2b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="fa2e007d1511d96ca9b37fe92eab2604"/><file name="config.xml" hash="4875d1c15d2d3322d4116c4ef4743c5c"/><file name="system.xml" hash="6c56c38731a0cb33203a9bf9bbf19684"/></dir><dir name="sql"><dir name="profileolabs_shoppingflux_setup"><file name="mysql4-install-0.1.0.php" hash="87c47ba97a55bd71dada152b52736be2"/><file name="mysql4-install-0.8.0.php" hash="48e14fe6bea37e0813d4e8011d97f9a9"/><file name="mysql4-install-0.8.5.php" hash="1aae90e495b0a281bb6916d425561620"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="0f95646d855413c52928ed4c258aacb1"/><file name="mysql4-upgrade-0.3.13-0.3.14.php" hash="4f6a5399ad06457f0ebf57b33353ebe2"/><file name="mysql4-upgrade-0.3.14-0.3.15.php" hash="6215917eef61544fc6f4193d31956df4"/><file name="mysql4-upgrade-0.3.17-0.3.18.php" hash="112b34baecd80300682bda9ba69c8970"/><file name="mysql4-upgrade-0.4.2-0.4.3.php" hash="2322a9d2b5130bc78699c1953df87a04"/><file name="mysql4-upgrade-0.4.6-0.5.0.php" hash="02be6c02a8c77e642ef3e40ded1ba8be"/><file name="mysql4-upgrade-0.5.1-0.5.2.php" hash="0e5414628efee519deff6aff301651c7"/><file name="mysql4-upgrade-0.5.3-0.5.4.php" hash="9dfb5e5895a9a2973dba57a049d9d379"/><file name="mysql4-upgrade-0.5.5-0.5.6.php" hash="e0ebe03688b7eac8252efa0d5b9b4258"/><file name="mysql4-upgrade-0.6.5-0.6.6.php" hash="c58a1219b2858d50a3d72e77ac6ee43c"/><file name="mysql4-upgrade-0.7.7-0.7.8.php" hash="0804f52786bdd97024dee79eb4b68695"/><file name="mysql4-upgrade-0.7.9-0.8.0.php" hash="7fdd68eda7f3162e979995ed2d7f847d"/><file name="mysql4-upgrade-0.8.4-0.8.5.php" hash="8f0b3f1998b4ba3e3ea60899a209e8cd"/></dir></dir><file name=".DS_Store" hash="70d8319e6c95b1083e4aa566a1e7f8f7"/></dir><file name=".DS_Store" hash="d3146c6d782e4b3220b6aaa51d65eccc"/></dir></target><target name="mageetc"><dir name="modules"><file name="Profileolabs_Shoppingflux.xml" hash="73ec83cf32c72884815a3cac9f754a54"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Profileolabs_Shoppingflux.csv" hash="ff7ff630beba927b74db682bfd01a43e"/></dir><dir name="fr_FR"><file name="Profileolabs_Shoppingflux.csv" hash="538e929f954fb0abb9a7dd33ce93f801"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="1bfeba2cbebbdfa6ce08f202b099d10d"/></dir><dir name="template"><dir name="profileolabs"><dir name="shoppingflux"><dir name="export"><dir name="category"><file name="edit.phtml" hash="8af812638245a0aa59a1c90aa6c20a4f"/></dir><file name="edit.phtml" hash="af3d64c7cb4b179cbf75b2def62d31f1"/><file name="feed.phtml" hash="1cb4146ef5910af093fe928f48332652"/><file name="process.phtml" hash="1dee42b2f14c0862446e5b475aaccad3"/><file name="product.phtml" hash="3d93144b8eb1e16672d610d9c0c35092"/></dir><dir name="manageorders"><file name="import.phtml" hash="6fd3bca397be66fc17d340cfae558fe9"/><dir name="payment"><dir name="info"><file name="purchaseorder.phtml" hash="782768b0e4836b25f46443dda098db29"/></dir></dir><dir name="sales"><dir name="order"><file name="total.phtml" hash="ded51585527ad918412dd5f0d0a9b2a7"/><dir name="view"><dir name="tab"><file name="shoppingflux.phtml" hash="7492846bef04ca1f0419cd804e7c4599"/></dir></dir></dir></dir></dir><file name="register.phtml" hash="614dfd40a4e74c0db2667ba30aeb71e3"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="672feff0a0895f920d4037ff131bf5ac"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="672feff0a0895f920d4037ff131bf5ac"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="shoppingflux"><file name="ad.png" hash="b76c0f3e4a7084a88ba0527be9fdcc25"/><file name="logo_us.jpg" hash="cae9e6bcba9814193a59bb07d541edb6"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Wcmultiselect.php" hash="0b976892dab42c440b15706eec966efb"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Profileolabs_Shoppingflux</name>
4
+ <version>0.8.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Export your products on price comparison sites and marketplaces, with lift controls.</summary>
10
  <description>This module will allow you to connect your Magento Shopping-Flux (monthly subscription from 79 &#x20AC; / month) to export your products on price comparison sites and marketplaces, with managing your commands directly into your Magento. You'll increase your sales by making available on: . Google Shopping . LeGuide.com . Shopping . Shopzilla . Twenga (and over a hundred other price comparison sites and buying guides) . eBay . Rue Du Commerce . C Market (CDsicount) . PixPlace (Pixmania) . Amazon . PriceMinister (and all, more than a dozen marketplaces) With rise in orders directly into your Magento for a quick and easy management of your orders for your products and the most profitable. with Shopping Flux, you can also create Adwords campaigns for each of your product descriptions, create a shop on FaceBook, etc. ... Shopping Flux Technology is the most innovative of the French market and has many Ecommer&#xE7;ants Magento. Ask a free trial for 1 month on our website : www.shopping-flux.com</description>
11
+ <notes>- The feed will now be displayed even if there is still products to add in it (Max product addition by feed call = 1000)&#xD;
12
+ - Tracking is now managed on server side using sales_order_placed_after instead of using javascript on success page&#xD;
13
+ - Add Marketplace Fees information in invoice and creditmemo&#xD;
14
+ - Minor bugfixes &amp; improvements&#xD;
15
  </notes>
16
  <authors><author><name>ShoppingFlux</name><user>ShoppingFlux</user><email>olivier.levy@gmail.com</email></author></authors>
17
+ <date>2015-02-28</date>
18
+ <time>14:41:34</time>
19
+ <contents><target name="magecommunity"><dir name="Profileolabs"><dir name="Shoppingflux"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Abstract.php" hash="24b478fb90bc6f55a4a5401c7254be11"/></dir></dir></dir></dir></dir><dir name="Export"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="da466a657f2b80567ef576711a190805"/></dir><dir name="Tab"><file name="Default.php" hash="b66202a43cdb1e3b178287aa1d7c1d2a"/></dir></dir></dir><file name="Feed.php" hash="a6bfac2be7c99ba5631626404e231ab0"/><file name="Process.php" hash="d5cd1471abfc8ea7f364dfb4610e4fd4"/><dir name="Product"><file name="Grid.php" hash="03b7aa3a458a0405d5d22ce7c0566033"/></dir><file name="Product.php" hash="f71a0d0f25e2484f74f1ceaeee514d3f"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Bool.php" hash="2717fd3964299bb372c355427c8136d7"/></dir></dir></dir></dir></dir><file name="Flow.php" hash="51cfa87ab0417ff26669a33bd22b50fa"/><file name="Flux.php" hash="5dd8a61bd3261f0ed763ce7da97ac365"/><file name="Tracking.php" hash="a01f384121dda81f8ee3faa80ee3a32a"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Manageorders"><dir name="Adminhtml"><dir name="Cron"><file name="Grid.php" hash="ddfd5d9374446afafef1f545839e869e"/></dir><file name="Cron.php" hash="1a6a4042d3270b56e2dadc80f5c12cfa"/><file name="Import.php" hash="0d675a1731ca646ba57989b8545f4682"/><dir name="Log"><file name="Grid.php" hash="9170b01b3a6d3d558801faeba745390f"/></dir><file name="Log.php" hash="3336bc53002b82b4ab16d18a4e68e0cb"/><dir name="Order"><file name="Grid.php" hash="00cc7d1bb20437d8f7a547e0acfd7f9c"/><dir name="View"><dir name="Tab"><file name="Shoppingflux.php" hash="c0039acf525620c14cc8a1945d44150e"/></dir></dir></dir><file name="Order.php" hash="a6d45eb0146fb448f72348724c3151df"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Shipping"><file name="Method.php" hash="93276aad3f0ce41f8bd5d8664e2554ce"/></dir></dir></dir></dir></dir></dir><dir name="Payment"><dir name="Info"><file name="Purchaseorder.php" hash="df942f5c9a19506ef2bf70ca1d4da809"/></dir></dir></dir><dir name="Tracking"><file name="Buyline.php" hash="a60b19ed533b265a7a2aafe75c03c0fa"/><file name="Roi.php" hash="e34e26dffead694a35798d0397782d55"/></dir></dir><dir name="Helper"><file name="Data.php" hash="ac146d5a8029d41dc4e023da89ba966a"/></dir><dir name="Model"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="49f1f7959c4741c22bbf79b7e0bd24e7"/></dir></dir><dir name="Catalog"><dir name="Product"><file name="Collection.php" hash="8c3a5fe7c329059b6b85a1e0e5ee48fd"/></dir></dir><file name="Config.php" hash="da5de2e75f27c64d01aef782d00b4a95"/><dir name="Export"><dir name="Convert"><dir name="Parser"><file name="Product.php" hash="4e50613b82ba84c35eb87f991645c118"/></dir></dir><file name="Flow.php" hash="842fa4b4a49ea86bdeb1cb0441433ccd"/><file name="Flux.php" hash="872e71460a085e74e310683043078ddb"/><file name="Observer.php" hash="22cbaac04d6f47d204b9fc71039f9c5b"/><dir name="Rewrite"><dir name="Catalog"><file name="Config.php" hash="c87b13b0141123b80cb1ac33eaf75715"/></dir><dir name="CatalogInventory"><dir name="Stock"><file name="Item.php" hash="5249964f31fda6d5b7ff9587e713ca81"/></dir></dir></dir><dir name="Source"><file name="Attributes.php" hash="7c86df4782b77b69c59204a39766a787"/><file name="Attributesprice.php" hash="6cddf3b9562c8dbc56e670b377e341c1"/><dir name="Category"><file name="Level.php" hash="477d3dccefe5720eedc6b5d7a7110c9a"/></dir><file name="Visibility.php" hash="c2a1494bc2e554074d19c58523c450b2"/></dir><file name="Updates.php" hash="6a12528f1ba69f0e0240ba471b471578"/><file name="Xml.php" hash="d6574955d2a108a91c1ebf84feb1b02b"/><file name="Xmlflow.deprecated.php" hash="960d81e05b332cdb16449029b07f0eca"/><file name="Xmlflow.php" hash="82815362cf6b2127ef961be79e48c127"/></dir><dir name="Manageorders"><dir name="Convert"><file name="Customer.php" hash="3ef9c9aba499a9dcaa9d56a820fa3736"/></dir><dir name="Export"><file name="Shipments.php" hash="20e617e183366ef5447ea653aa989065"/></dir><file name="Log.php" hash="392d1811b56df12bccb2e7986e588f3d"/><file name="Observer.php" hash="8aed361a97e9e5e6d685232a6a880cbe"/><file name="Order.php" hash="fa657aaabb4bc419dce1f189b1cbdaf2"/><file name="OrderOLD.php" hash="f25b3ce2d3610eecf201e2d2421aa460"/><dir name="Payment"><dir name="Method"><file name="Purchaseorder.php" hash="4ed46b995590d286b3154e0bbf7ebc63"/></dir></dir><file name="Product.php" hash="0041c5ebcd0aa8ca17f5c1a4f07ec03d"/><dir name="Shipping"><dir name="Carrier"><file name="Shoppingflux.php" hash="1d56b8eac4d74d6f9cce1e8c5a6613bb"/></dir><file name="Method.php" hash="a71d621b210ecdb1e69290f3e0c6f6d2"/></dir><dir name="Source"><file name="Attributes.php" hash="c9207872ddd962d6b0166d35cfe98626"/></dir></dir><dir name="Mysql4"><dir name="Export"><dir name="Flux"><file name="Collection.php" hash="25a6420bb66aeefb6a8ac0a9e6fc538f"/></dir><file name="Flux.php" hash="6140eeee9d40615eaaba736377aba17e"/><dir name="Updates"><file name="Collection.php" hash="21b355b1db82e4b8a5d1950ac2ffbd18"/></dir><file name="Updates.php" hash="02ef11d051020470231e470f3232f862"/></dir><dir name="Manageorders"><dir name="Export"><dir name="Shipments"><file name="Collection.php" hash="fcdf3c607a8d479beb10a53a618aa225"/></dir><file name="Shipments.php" hash="e06dfaf254a5fd3d8649685b56874258"/></dir><dir name="Log"><file name="Collection.php" hash="0efd8c68937edf98cc9f9bb35bd76f79"/></dir><file name="Log.php" hash="b30bbf3ead209d69993546b29f72ecd7"/><dir name="Shipping"><dir name="Method"><file name="Collection.php" hash="7b2c8fb56625953ea8cd79cc7ddcc9df"/></dir><file name="Method.php" hash="a919a6c61ad6ddefd19ffc287eaa7325"/></dir></dir></dir><dir name="Service"><dir name="Http"><dir name="Client"><dir name="Adapter"><file name="Curl.php" hash="659ab165cdd8492fdc7ee08b515732ac"/><file name="Stream.php" hash="c3a61972f5ffb625dba59ba53365965d"/></dir></dir></dir></dir><file name="Service.php" hash="aa2aa5dfd36ae9232cf611d603fe27e9"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="90036cf58c627fcc68920af912171a0c"/><file name="Refresh.php" hash="d53cbdc6ae73c146af67ef5f20d9e4e8"/></dir></dir></dir><file name=".DS_Store" hash="e7218be203fbe7f5c2243a9dea3bf55e"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="GeneralController.php" hash="ca99113377d353dbc4eecfdaea767fa2"/></dir><dir name="Export"><dir name="Adminhtml"><file name="CategoryController.php" hash="d882797e1e0fbff25b312768c6569f04"/><file name="ExportController.php" hash="b496415fe06e284c62692813d8000250"/></dir><file name="FluxController.php" hash="4bb221e360c424dbab35967c13f5f52a"/></dir><dir name="Manageorders"><dir name="Adminhtml"><file name="CronController.php" hash="9c43b1b18fb883b4140aaa1d3f82cb1c"/><file name="ImportController.php" hash="31203b56860d102c1565fb7653b1a770"/><file name="LogController.php" hash="f744619a2283468d03e8a3f7f8f0c080"/><file name="OrderController.php" hash="acec967d5c7fa44fd3f716fc48f500a6"/></dir><file name="LaunchController.php" hash="a8d04ada8f26479dbd6b002b871a612a"/></dir></dir><dir name="doc"><file name="ShoppingFeed_US.pdf" hash="0cd685730056d5f2f9c9f8292dead3ae"/><file name="ShoppingFlux_FR.pdf" hash="5590a49838bd67f70f0cacf9605cea2b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="fa2e007d1511d96ca9b37fe92eab2604"/><file name="config.xml" hash="eb1d621969a3aaa850f0f0d2856a8541"/><file name="system.xml" hash="6c56c38731a0cb33203a9bf9bbf19684"/></dir><dir name="sql"><dir name="profileolabs_shoppingflux_setup"><file name="mysql4-install-0.1.0.php" hash="87c47ba97a55bd71dada152b52736be2"/><file name="mysql4-install-0.8.0.php" hash="48e14fe6bea37e0813d4e8011d97f9a9"/><file name="mysql4-install-0.8.5.php" hash="1aae90e495b0a281bb6916d425561620"/><file name="mysql4-install-0.8.6.php" hash="ae6e23c12465b3b091c3235598c20b0e"/><file name="mysql4-install-0.8.7.php" hash="ebc79548b379ff64e5eec85b4c1364d3"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="0f95646d855413c52928ed4c258aacb1"/><file name="mysql4-upgrade-0.3.13-0.3.14.php" hash="4f6a5399ad06457f0ebf57b33353ebe2"/><file name="mysql4-upgrade-0.3.14-0.3.15.php" hash="6215917eef61544fc6f4193d31956df4"/><file name="mysql4-upgrade-0.3.17-0.3.18.php" hash="112b34baecd80300682bda9ba69c8970"/><file name="mysql4-upgrade-0.4.2-0.4.3.php" hash="2322a9d2b5130bc78699c1953df87a04"/><file name="mysql4-upgrade-0.4.6-0.5.0.php" hash="02be6c02a8c77e642ef3e40ded1ba8be"/><file name="mysql4-upgrade-0.5.1-0.5.2.php" hash="0e5414628efee519deff6aff301651c7"/><file name="mysql4-upgrade-0.5.3-0.5.4.php" hash="9dfb5e5895a9a2973dba57a049d9d379"/><file name="mysql4-upgrade-0.5.5-0.5.6.php" hash="e0ebe03688b7eac8252efa0d5b9b4258"/><file name="mysql4-upgrade-0.6.5-0.6.6.php" hash="c58a1219b2858d50a3d72e77ac6ee43c"/><file name="mysql4-upgrade-0.7.7-0.7.8.php" hash="0804f52786bdd97024dee79eb4b68695"/><file name="mysql4-upgrade-0.7.9-0.8.0.php" hash="7fdd68eda7f3162e979995ed2d7f847d"/><file name="mysql4-upgrade-0.8.4-0.8.5.php" hash="edb5ea0572bdc0e75fd402aeaefc4858"/><file name="mysql4-upgrade-0.8.5-0.8.6.php" hash="a80ecd198b298fecbf6807eba980361e"/><file name="mysql4-upgrade-0.8.6-0.8.7.php" hash="c348b1cf3856a06d5af62afeea69d1f8"/></dir></dir><file name=".DS_Store" hash="70d8319e6c95b1083e4aa566a1e7f8f7"/></dir><file name=".DS_Store" hash="d3146c6d782e4b3220b6aaa51d65eccc"/></dir></target><target name="mageetc"><dir name="modules"><file name="Profileolabs_Shoppingflux.xml" hash="73ec83cf32c72884815a3cac9f754a54"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Profileolabs_Shoppingflux.csv" hash="ff7ff630beba927b74db682bfd01a43e"/></dir><dir name="fr_FR"><file name="Profileolabs_Shoppingflux.csv" hash="538e929f954fb0abb9a7dd33ce93f801"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="9eddc50f0a1dfd8b53b44fcee46de6f9"/></dir><dir name="template"><dir name="profileolabs"><dir name="shoppingflux"><dir name="export"><dir name="category"><file name="edit.phtml" hash="8af812638245a0aa59a1c90aa6c20a4f"/></dir><file name="edit.phtml" hash="af3d64c7cb4b179cbf75b2def62d31f1"/><file name="feed.phtml" hash="1cb4146ef5910af093fe928f48332652"/><file name="process.phtml" hash="1dee42b2f14c0862446e5b475aaccad3"/><file name="product.phtml" hash="3d93144b8eb1e16672d610d9c0c35092"/></dir><dir name="manageorders"><file name="import.phtml" hash="6fd3bca397be66fc17d340cfae558fe9"/><dir name="payment"><dir name="info"><file name="purchaseorder.phtml" hash="782768b0e4836b25f46443dda098db29"/></dir></dir><dir name="sales"><dir name="order"><dir name="invoice"><file name="total.phtml" hash="0d8d4aec814c41f80b9d9c475b5da3ae"/></dir><file name="total.phtml" hash="ad58dad0fd4007764f03c74cc5a6ca57"/><dir name="view"><dir name="tab"><file name="shoppingflux.phtml" hash="7492846bef04ca1f0419cd804e7c4599"/></dir></dir></dir></dir></dir><file name="register.phtml" hash="614dfd40a4e74c0db2667ba30aeb71e3"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="ce50864c0302926a6402f4921519ec58"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="profileolabs_shoppingflux.xml" hash="672feff0a0895f920d4037ff131bf5ac"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="shoppingflux"><file name="ad.png" hash="b76c0f3e4a7084a88ba0527be9fdcc25"/><file name="logo_us.jpg" hash="cae9e6bcba9814193a59bb07d541edb6"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Wcmultiselect.php" hash="0b976892dab42c440b15706eec966efb"/></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>