Version Notes
New version of Lengow's Connector
Download this release
Release Info
Developer | Ludovic |
Extension | Lengow_Export |
Version | 2.0.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.1.0 to 2.0.1.1
- app/code/community/Lengow/Export/Block/Adminhtml/Product.php +1 -1
- app/code/community/Lengow/Export/Block/Adminhtml/Product/Grid.php +1 -1
- app/code/community/Lengow/Export/Model/Catalog/Product.php +4 -0
- app/code/community/Lengow/Export/Model/Feed/Csv.php +1 -1
- app/code/community/Lengow/Export/controllers/Adminhtml/Lengow/ExportController.php +1 -1
- app/code/community/Lengow/Export/etc/config.xml +5 -1
- app/code/community/Lengow/Feed/etc/config.xml +5 -2
- app/code/community/Lengow/Sync/Model/Marketplace.php +67 -8
- app/code/community/Lengow/Sync/Model/Order.php +18 -0
- app/code/community/Lengow/Sync/etc/config.xml +8 -6
- app/code/community/Lengow/Tracker/Block/Tag/Capsule.php +7 -3
- app/code/community/Lengow/Tracker/Block/Tracker.php +1 -0
- app/code/community/Lengow/Tracker/Model/Capsule.php +1 -1
- app/code/community/Lengow/Tracker/Model/System/Config/Source/Identifiant.php +12 -0
- app/code/community/Lengow/Tracker/Model/Tracker.php +13 -1
- app/code/community/Lengow/Tracker/etc/config.xml +7 -0
- app/code/community/Lengow/Tracker/etc/plugins.xml +9 -1
- app/code/community/Lengow/Tracker/etc/system.xml +9 -0
- app/design/adminhtml/default/default/template/lengow/check/point.phtml +5 -5
- app/design/adminhtml/default/default/template/lengow/dashboard/charts.phtml +7 -7
- app/locale/fr_FR/Lengow_Connector.csv +14 -2
- package.xml +4 -4
app/code/community/Lengow/Export/Block/Adminhtml/Product.php
CHANGED
@@ -24,7 +24,7 @@ class Lengow_Export_Block_Adminhtml_Product extends Mage_Adminhtml_Block_Widget_
|
|
24 |
*/
|
25 |
protected function _prepareLayout() {
|
26 |
$this->_addButton('export', array(
|
27 |
-
'label' => Mage::helper('
|
28 |
'onclick' => 'popWin(\''.$this->getUrl('lengow/feed').'\', \'_blank\')',
|
29 |
'class' => 'add'
|
30 |
));
|
24 |
*/
|
25 |
protected function _prepareLayout() {
|
26 |
$this->_addButton('export', array(
|
27 |
+
'label' => Mage::helper('export')->__('See the export feed'),
|
28 |
'onclick' => 'popWin(\''.$this->getUrl('lengow/feed').'\', \'_blank\')',
|
29 |
'class' => 'add'
|
30 |
));
|
app/code/community/Lengow/Export/Block/Adminhtml/Product/Grid.php
CHANGED
@@ -180,7 +180,7 @@ class Lengow_Export_Block_Adminhtml_Product_Grid extends Mage_Adminhtml_Block_Wi
|
|
180 |
$options = array(0 => Mage::helper('catalog')->__('No'),
|
181 |
1 => Mage::helper('catalog')->__('Yes'));
|
182 |
$this->getMassactionBlock()->addItem('publish', array(
|
183 |
-
'label'=> Mage::helper('
|
184 |
'url' => $this->getUrl('*/*/massPublish', array('_current'=>true)),
|
185 |
'additional' => array(
|
186 |
'visibility' => array(
|
180 |
$options = array(0 => Mage::helper('catalog')->__('No'),
|
181 |
1 => Mage::helper('catalog')->__('Yes'));
|
182 |
$this->getMassactionBlock()->addItem('publish', array(
|
183 |
+
'label'=> Mage::helper('export')->__('Change Lengow\'s publication'),
|
184 |
'url' => $this->getUrl('*/*/massPublish', array('_current'=>true)),
|
185 |
'additional' => array(
|
186 |
'visibility' => array(
|
app/code/community/Lengow/Export/Model/Catalog/Product.php
CHANGED
@@ -156,11 +156,14 @@ class Lengow_Export_Model_Catalog_Product extends Mage_Catalog_Model_Product {
|
|
156 |
}
|
157 |
|
158 |
public function getCategories($product_instance, $parent_instance, $id_store) {
|
|
|
159 |
if($product_instance->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE && isset($parent_instance)) {
|
160 |
$categories = $parent_instance->getCategoryCollection()
|
|
|
161 |
->exportToArray();
|
162 |
} else {
|
163 |
$categories = $product_instance->getCategoryCollection()
|
|
|
164 |
->exportToArray();
|
165 |
}
|
166 |
$max_level = $this->_config_model->get('data/levelcategory');
|
@@ -203,6 +206,7 @@ class Lengow_Export_Model_Catalog_Product extends Mage_Catalog_Model_Product {
|
|
203 |
}
|
204 |
$i++;
|
205 |
}
|
|
|
206 |
}
|
207 |
$data['category-breadcrumb'] = implode(' > ', $ariane);
|
208 |
unset($categories, $category, $ariane);
|
156 |
}
|
157 |
|
158 |
public function getCategories($product_instance, $parent_instance, $id_store) {
|
159 |
+
$id_root_category = Mage::app()->getStore($id_store)->getRootCategoryId();
|
160 |
if($product_instance->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE && isset($parent_instance)) {
|
161 |
$categories = $parent_instance->getCategoryCollection()
|
162 |
+
->addPathsFilter('1/' . $id_root_category . '/')
|
163 |
->exportToArray();
|
164 |
} else {
|
165 |
$categories = $product_instance->getCategoryCollection()
|
166 |
+
->addPathsFilter('1/' . $id_root_category . '/')
|
167 |
->exportToArray();
|
168 |
}
|
169 |
$max_level = $this->_config_model->get('data/levelcategory');
|
206 |
}
|
207 |
$i++;
|
208 |
}
|
209 |
+
$c->clearInstance();
|
210 |
}
|
211 |
$data['category-breadcrumb'] = implode(' > ', $ariane);
|
212 |
unset($categories, $category, $ariane);
|
app/code/community/Lengow/Export/Model/Feed/Csv.php
CHANGED
@@ -54,7 +54,7 @@ class Lengow_Export_Model_Feed_Csv extends Lengow_Export_Model_Feed_Abstract {
|
|
54 |
/**
|
55 |
* Clean header
|
56 |
*
|
57 |
-
* @param string $str The fieldname
|
58 |
* @return string The formated header.
|
59 |
*/
|
60 |
private function _clean($str) {
|
54 |
/**
|
55 |
* Clean header
|
56 |
*
|
57 |
+
* @param string $str The fieldname
|
58 |
* @return string The formated header.
|
59 |
*/
|
60 |
private function _clean($str) {
|
app/code/community/Lengow/Export/controllers/Adminhtml/Lengow/ExportController.php
CHANGED
@@ -43,7 +43,7 @@ class Lengow_Export_Adminhtml_Lengow_ExportController extends Mage_Adminhtml_Con
|
|
43 |
|
44 |
}
|
45 |
$this->_getSession()->addSuccess(
|
46 |
-
|
47 |
);
|
48 |
}
|
49 |
catch (Mage_Core_Model_Exception $e) {
|
43 |
|
44 |
}
|
45 |
$this->_getSession()->addSuccess(
|
46 |
+
Mage::helper('export')->__('Total of %d record(s) were successfully updated', count($productIds))
|
47 |
);
|
48 |
}
|
49 |
catch (Mage_Core_Model_Exception $e) {
|
app/code/community/Lengow/Export/etc/config.xml
CHANGED
@@ -124,7 +124,11 @@
|
|
124 |
</system>
|
125 |
<lengow translate="title" module="export">
|
126 |
<title>Lengow</title>
|
127 |
-
<
|
|
|
|
|
|
|
|
|
128 |
</lengow>
|
129 |
</children>
|
130 |
</admin>
|
124 |
</system>
|
125 |
<lengow translate="title" module="export">
|
126 |
<title>Lengow</title>
|
127 |
+
<children>
|
128 |
+
<export translate="title" module="export">
|
129 |
+
<title>Manage Products Export</title>
|
130 |
+
</export>
|
131 |
+
</children>
|
132 |
</lengow>
|
133 |
</children>
|
134 |
</admin>
|
app/code/community/Lengow/Feed/etc/config.xml
CHANGED
@@ -98,8 +98,11 @@
|
|
98 |
</children>
|
99 |
</system>
|
100 |
<lengow translate="title" module="feed">
|
101 |
-
<
|
102 |
-
|
|
|
|
|
|
|
103 |
</lengow>
|
104 |
</children>
|
105 |
</admin>
|
98 |
</children>
|
99 |
</system>
|
100 |
<lengow translate="title" module="feed">
|
101 |
+
<children>
|
102 |
+
<feed translate="title" module="feed">
|
103 |
+
<title>Manage Feeds</title>
|
104 |
+
</feed>
|
105 |
+
</children>
|
106 |
</lengow>
|
107 |
</children>
|
108 |
</admin>
|
app/code/community/Lengow/Sync/Model/Marketplace.php
CHANGED
@@ -68,8 +68,12 @@ class Lengow_Sync_Model_Marketplace {
|
|
68 |
if(count($params)) {
|
69 |
foreach($params as $param) {
|
70 |
$this->actions[(string) $action['type']]['params'][(string) $param->type]['name'] = (string) $param->name;
|
71 |
-
if(isset($param->accepted_values))
|
72 |
$this->actions[(string) $action['type']]['params'][(string) $param->type]['accepted_values'] = $param->accepted_values->value;
|
|
|
|
|
|
|
|
|
73 |
}
|
74 |
}
|
75 |
}
|
@@ -161,26 +165,52 @@ class Lengow_Sync_Model_Marketplace {
|
|
161 |
case 'tracking' :
|
162 |
$trackings = $shipment->getAllTracks();
|
163 |
if(!empty($trackings)) {
|
164 |
-
|
165 |
-
|
|
|
|
|
|
|
166 |
}
|
167 |
break;
|
168 |
case 'carrier' :
|
169 |
$trackings = $shipment->getAllTracks();
|
170 |
if(!empty($trackings)) {
|
171 |
-
|
172 |
-
|
|
|
|
|
|
|
173 |
}
|
174 |
break;
|
175 |
case 'tracking_url' :
|
176 |
break;
|
177 |
case 'shipping_price' :
|
178 |
-
$gets[
|
|
|
|
|
|
|
179 |
break;
|
180 |
}
|
181 |
}
|
182 |
-
|
183 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
}
|
185 |
break;
|
186 |
case 'refuse' :
|
@@ -224,6 +254,35 @@ class Lengow_Sync_Model_Marketplace {
|
|
224 |
}
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
/**
|
228 |
* Load the xml configuration of all marketplaces
|
229 |
*/
|
68 |
if(count($params)) {
|
69 |
foreach($params as $param) {
|
70 |
$this->actions[(string) $action['type']]['params'][(string) $param->type]['name'] = (string) $param->name;
|
71 |
+
if(isset($param->accepted_values)) {
|
72 |
$this->actions[(string) $action['type']]['params'][(string) $param->type]['accepted_values'] = $param->accepted_values->value;
|
73 |
+
$default = self::$DOM->xpath('/marketplaces/marketplace[@name=\'' . $this->name . '\']/additional_params/param[@usedby=\'' . (string) $action['type']. '\']/accepted_values/value[@default=\'true\']');
|
74 |
+
if($default)
|
75 |
+
$this->actions[(string) $action['type']]['params'][(string) $param->type]['accepted_values_default'] = (string) $default[0];
|
76 |
+
}
|
77 |
}
|
78 |
}
|
79 |
}
|
165 |
case 'tracking' :
|
166 |
$trackings = $shipment->getAllTracks();
|
167 |
if(!empty($trackings)) {
|
168 |
+
$first_track = $trackings[0];
|
169 |
+
$gets[$param['name']] = array(
|
170 |
+
'value' => $first_track->getNumber(),
|
171 |
+
'require' => (array_key_exists('require', $param) ? explode(' ', $param['require']) : array())
|
172 |
+
);
|
173 |
}
|
174 |
break;
|
175 |
case 'carrier' :
|
176 |
$trackings = $shipment->getAllTracks();
|
177 |
if(!empty($trackings)) {
|
178 |
+
$first_track = $trackings[0];
|
179 |
+
$gets[$param['name']] = array(
|
180 |
+
'value' => $this->_matchCarrier($param, $first_track->getCarrierCode()),
|
181 |
+
'require' => (array_key_exists('require', $param) ? explode(' ', $param['require']) : array())
|
182 |
+
);
|
183 |
}
|
184 |
break;
|
185 |
case 'tracking_url' :
|
186 |
break;
|
187 |
case 'shipping_price' :
|
188 |
+
$gets[$param['name']] = array(
|
189 |
+
'value' => $order->getShippingInclTax(),
|
190 |
+
'require' => (array_key_exists('require', $param) ? explode(' ', $param['require']) : array())
|
191 |
+
);
|
192 |
break;
|
193 |
}
|
194 |
}
|
195 |
+
// Check dependencies in parameters
|
196 |
+
if(count($gets) > 0) {
|
197 |
+
foreach($gets as $key => $get) {
|
198 |
+
if(array_key_exists('require', $get) && !empty($get['require'])) {
|
199 |
+
foreach($get['require'] as $require) {
|
200 |
+
if($gets[$require]['value'] == '') {
|
201 |
+
unset($gets[$require]);
|
202 |
+
unset($gets[$key]);
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|
206 |
+
}
|
207 |
+
}
|
208 |
+
// Build URL
|
209 |
+
$url = array();
|
210 |
+
foreach($gets as $key => $value) {
|
211 |
+
$url[] = $key . '=' . urlencode($value['value']);
|
212 |
+
}
|
213 |
+
$call_url .= '?' . implode('&', $url);
|
214 |
}
|
215 |
break;
|
216 |
case 'refuse' :
|
254 |
}
|
255 |
}
|
256 |
|
257 |
+
/**
|
258 |
+
* Match carrier's name with accepted values
|
259 |
+
*
|
260 |
+
* @param Simple_Xml_Element $param The node parameters
|
261 |
+
* @param string $name The carrier name
|
262 |
+
*
|
263 |
+
* @return string The matching carrier name
|
264 |
+
*/
|
265 |
+
private function _matchCarrier($param, $name) {
|
266 |
+
// No match
|
267 |
+
if(!isset($param['accepted_values']))
|
268 |
+
return $name;
|
269 |
+
// Exact match
|
270 |
+
foreach($param['accepted_values'] as $value) {
|
271 |
+
$value = (string) $value;
|
272 |
+
if(preg_match('`' . $value . '`i', trim($name)))
|
273 |
+
return $value;
|
274 |
+
|
275 |
+
}
|
276 |
+
// Approximately match
|
277 |
+
foreach($param['accepted_values'] as $value) {
|
278 |
+
$value = (string) $value;
|
279 |
+
if(preg_match('`.*?(' . $name . ').*?`i', $name))
|
280 |
+
return $value;
|
281 |
+
|
282 |
+
}
|
283 |
+
return $param['accepted_values_default'];
|
284 |
+
}
|
285 |
+
|
286 |
/**
|
287 |
* Load the xml configuration of all marketplaces
|
288 |
*/
|
app/code/community/Lengow/Sync/Model/Order.php
CHANGED
@@ -240,6 +240,24 @@ class Lengow_Sync_Model_Order extends Mage_Sales_Model_Order {
|
|
240 |
$order->save();
|
241 |
}
|
242 |
$order = $this->toInvoice($order);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
} catch (Exception $e){
|
244 |
Mage::helper('sync')->log('Error create order : ' . $e->getMessage());
|
245 |
}
|
240 |
$order->save();
|
241 |
}
|
242 |
$order = $this->toInvoice($order);
|
243 |
+
// FIX fields amount & taxes
|
244 |
+
$products = Mage::getResourceModel('sales/order_item_collection')
|
245 |
+
->setOrderFilter($order->getId());
|
246 |
+
foreach($products as $product) {
|
247 |
+
$product->setBaseOriginalPrice($product->getOriginalPrice());
|
248 |
+
$product->setBaseTaxAmount($product->getTaxAmount());
|
249 |
+
$product->setBaseTaxInvoiced($product->getTaxAmount());
|
250 |
+
$product->setBasePriceInclTax($product->getPriceInclTax());
|
251 |
+
$product->setbaseRowTotalInclTax($product->getRowTotalInclTax());
|
252 |
+
$product->save();
|
253 |
+
}
|
254 |
+
$order->setBaseTaxAmount($order->getTaxAmount());
|
255 |
+
$order->setBaseTaxInvoiced($order->getTaxAmount());
|
256 |
+
$order->setBaseTotalInvoiced($order->getTotalPaid());
|
257 |
+
$order->setBaseTotalPaid($order->getTotalPaid());
|
258 |
+
$order->setBaseGrandTotal($order->getTotalPaid());
|
259 |
+
$order->setBaseSubtotalInclTax($order->getSubtotalInclTax());
|
260 |
+
$order->save();
|
261 |
} catch (Exception $e){
|
262 |
Mage::helper('sync')->log('Error create order : ' . $e->getMessage());
|
263 |
}
|
app/code/community/Lengow/Sync/etc/config.xml
CHANGED
@@ -205,7 +205,14 @@
|
|
205 |
</system>
|
206 |
<lengow translate="title" module="sync">
|
207 |
<title>Lengow</title>
|
208 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
</lengow>
|
210 |
</children>
|
211 |
</admin>
|
@@ -225,11 +232,6 @@
|
|
225 |
</jobs>
|
226 |
</crontab>
|
227 |
<default>
|
228 |
-
<tracker>
|
229 |
-
<general>
|
230 |
-
<api_key></api_key>
|
231 |
-
</general>
|
232 |
-
</tracker>
|
233 |
<sync>
|
234 |
<orders>
|
235 |
<period>3</period>
|
205 |
</system>
|
206 |
<lengow translate="title" module="sync">
|
207 |
<title>Lengow</title>
|
208 |
+
<children>
|
209 |
+
<sync translate="title" module="sync">
|
210 |
+
<title>Manage Orders</title>
|
211 |
+
</sync>
|
212 |
+
<log translate="title" module="sync">
|
213 |
+
<title>Manage Logs</title>
|
214 |
+
</log>
|
215 |
+
</children>
|
216 |
</lengow>
|
217 |
</children>
|
218 |
</admin>
|
232 |
</jobs>
|
233 |
</crontab>
|
234 |
<default>
|
|
|
|
|
|
|
|
|
|
|
235 |
<sync>
|
236 |
<orders>
|
237 |
<period>3</period>
|
app/code/community/Lengow/Tracker/Block/Tag/Capsule.php
CHANGED
@@ -43,7 +43,9 @@ class Lengow_Tracker_Block_Tag_Capsule extends Mage_Core_Block_Template {
|
|
43 |
$current_controller = Mage::app()->getFrontController()->getRequest()->getControllerName();
|
44 |
$current_action = '';
|
45 |
|
46 |
-
if
|
|
|
|
|
47 |
if ($current_controller == 'category')
|
48 |
self::$_CURRENT_PAGE_TYPE = self::LENGOW_TRACK_PAGE_LIST;
|
49 |
else if ($current_controller == 'product')
|
@@ -131,17 +133,19 @@ class Lengow_Tracker_Block_Tag_Capsule extends Mage_Core_Block_Template {
|
|
131 |
}
|
132 |
|
133 |
protected function _getCurrentProductId() {
|
|
|
134 |
if($product = Mage::registry('product'))
|
135 |
-
return $product->
|
136 |
return '';
|
137 |
}
|
138 |
|
139 |
protected function _getCurrentProductsIds() {
|
|
|
140 |
$ids = array();
|
141 |
$products = $this->_getProductCollection()->getData();
|
142 |
if($products) {
|
143 |
foreach ($products as $product) {
|
144 |
-
$ids[] = $product['
|
145 |
}
|
146 |
}
|
147 |
return implode('|', $ids);
|
43 |
$current_controller = Mage::app()->getFrontController()->getRequest()->getControllerName();
|
44 |
$current_action = '';
|
45 |
|
46 |
+
if(Mage::getBlockSingleton('page/html_header')->getIsHomePage()) {
|
47 |
+
self::$_CURRENT_PAGE_TYPE = self::LENGOW_TRACK_HOMEPAGE;
|
48 |
+
} else if ($current_module == 'catalog') {
|
49 |
if ($current_controller == 'category')
|
50 |
self::$_CURRENT_PAGE_TYPE = self::LENGOW_TRACK_PAGE_LIST;
|
51 |
else if ($current_controller == 'product')
|
133 |
}
|
134 |
|
135 |
protected function _getCurrentProductId() {
|
136 |
+
$config = Mage::getModel('tracker/config');
|
137 |
if($product = Mage::registry('product'))
|
138 |
+
return $product->getData($config->get('tag/identifiant'));
|
139 |
return '';
|
140 |
}
|
141 |
|
142 |
protected function _getCurrentProductsIds() {
|
143 |
+
$config = Mage::getModel('tracker/config');
|
144 |
$ids = array();
|
145 |
$products = $this->_getProductCollection()->getData();
|
146 |
if($products) {
|
147 |
foreach ($products as $product) {
|
148 |
+
$ids[] = $product[$config->get('tag/identifiant')];
|
149 |
}
|
150 |
}
|
151 |
return implode('|', $ids);
|
app/code/community/Lengow/Tracker/Block/Tracker.php
CHANGED
@@ -61,6 +61,7 @@ class Lengow_Tracker_Block_Tracker extends Mage_Core_Block_Template {
|
|
61 |
$this->setPage('page'); //by default
|
62 |
|
63 |
$handles = $this->getLayout()->getUpdate()->getHandles();
|
|
|
64 |
|
65 |
if (in_array('cms_index_index', $handles))
|
66 |
$this->setPage('homepage');
|
61 |
$this->setPage('page'); //by default
|
62 |
|
63 |
$handles = $this->getLayout()->getUpdate()->getHandles();
|
64 |
+
print_r($handles);
|
65 |
|
66 |
if (in_array('cms_index_index', $handles))
|
67 |
$this->setPage('homepage');
|
app/code/community/Lengow/Tracker/Model/Capsule.php
CHANGED
@@ -23,7 +23,7 @@ class Lengow_Tracker_Model_Capsule extends Lengow_Tracker_Model_Tracker {
|
|
23 |
$list_products = array();
|
24 |
$i = 1;
|
25 |
foreach($quote_items as $item) {
|
26 |
-
$str = 'i'.$i.'='.$item->
|
27 |
$str .= '&p'.$i.'='.$item->getPrice();
|
28 |
$str .= '&q'.$i.'='.$item->getQty();
|
29 |
$list_products[] = $str;
|
23 |
$list_products = array();
|
24 |
$i = 1;
|
25 |
foreach($quote_items as $item) {
|
26 |
+
$str = 'i'.$i.'='.$item->getData($this->_getIdentifier());
|
27 |
$str .= '&p'.$i.'='.$item->getPrice();
|
28 |
$str .= '&q'.$i.'='.$item->getQty();
|
29 |
$list_products[] = $str;
|
app/code/community/Lengow/Tracker/Model/System/Config/Source/Identifiant.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Lengow_Tracker_Model_System_Config_Source_Identifiant extends Mage_Core_Model_Config_Data {
|
4 |
+
|
5 |
+
public function toOptionArray() {
|
6 |
+
return array(
|
7 |
+
array('value' => 'sku', 'label' => Mage::helper('adminhtml')->__('Sku')),
|
8 |
+
array('value' => 'entity_id', 'label' => Mage::helper('adminhtml')->__('ID product')),
|
9 |
+
);
|
10 |
+
}
|
11 |
+
|
12 |
+
}
|
app/code/community/Lengow/Tracker/Model/Tracker.php
CHANGED
@@ -22,11 +22,23 @@ class Lengow_Tracker_Model_Tracker extends Varien_Object {
|
|
22 |
$quote_items = $quote->getAllVisibleItems();
|
23 |
$ids = array();
|
24 |
foreach($quote_items as $item) {
|
25 |
-
$ids[] = $item->
|
26 |
}
|
27 |
return implode('|', $ids);
|
28 |
}
|
29 |
return false;
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
22 |
$quote_items = $quote->getAllVisibleItems();
|
23 |
$ids = array();
|
24 |
foreach($quote_items as $item) {
|
25 |
+
$ids[] = $item->getData($this->_getIdentifier());
|
26 |
}
|
27 |
return implode('|', $ids);
|
28 |
}
|
29 |
return false;
|
30 |
}
|
31 |
|
32 |
+
/**
|
33 |
+
* Return list of order's items id
|
34 |
+
*
|
35 |
+
* @param $order Mage_Sales_Model_Order
|
36 |
+
* @return string
|
37 |
+
*/
|
38 |
+
protected function _getIdentifier() {
|
39 |
+
$config = Mage::getModel('tracker/config');
|
40 |
+
return $config->get('tag/identifiant');
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
}
|
app/code/community/Lengow/Tracker/etc/config.xml
CHANGED
@@ -108,4 +108,11 @@
|
|
108 |
</resources>
|
109 |
</acl>
|
110 |
</adminhtml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
</config>
|
108 |
</resources>
|
109 |
</acl>
|
110 |
</adminhtml>
|
111 |
+
<default>
|
112 |
+
<tracker>
|
113 |
+
<tag>
|
114 |
+
<identifiant>sku</identifiant>
|
115 |
+
</tag>
|
116 |
+
</tracker>
|
117 |
+
</default>
|
118 |
</config>
|
app/code/community/Lengow/Tracker/etc/plugins.xml
CHANGED
@@ -5,7 +5,15 @@
|
|
5 |
<release_date>2014-01-30</release_date>
|
6 |
</plugin>
|
7 |
<plugin name="magento">
|
8 |
-
<version>2.0.1</version>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
<release_date>2014-01-30</release_date>
|
10 |
</plugin>
|
11 |
</plugins>
|
5 |
<release_date>2014-01-30</release_date>
|
6 |
</plugin>
|
7 |
<plugin name="magento">
|
8 |
+
<version>2.0.1.0</version>
|
9 |
+
<release_date>2014-02-12</release_date>
|
10 |
+
</plugin>
|
11 |
+
<plugin name="woomcommerce">
|
12 |
+
<version>1.0.0.0</version>
|
13 |
+
<release_date>2014-01-30</release_date>
|
14 |
+
</plugin>
|
15 |
+
<plugin name="drupal">
|
16 |
+
<version>0.1.0.0</version>
|
17 |
<release_date>2014-01-30</release_date>
|
18 |
</plugin>
|
19 |
</plugins>
|
app/code/community/Lengow/Tracker/etc/system.xml
CHANGED
@@ -76,6 +76,15 @@
|
|
76 |
<show_in_website>1</show_in_website>
|
77 |
<show_in_store>1</show_in_store>
|
78 |
</type>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</fields>
|
80 |
</tag>
|
81 |
<hidden translate="label, comment">
|
76 |
<show_in_website>1</show_in_website>
|
77 |
<show_in_store>1</show_in_store>
|
78 |
</type>
|
79 |
+
<identifiant>
|
80 |
+
<label>Tracker Product's identifiant</label>
|
81 |
+
<frontend_type>select</frontend_type>
|
82 |
+
<source_model>Lengow_Tracker_Model_System_Config_Source_Identifiant</source_model>
|
83 |
+
<sort_order>3</sort_order>
|
84 |
+
<show_in_default>1</show_in_default>
|
85 |
+
<show_in_website>1</show_in_website>
|
86 |
+
<show_in_store>1</show_in_store>
|
87 |
+
</identifiant>
|
88 |
</fields>
|
89 |
</tag>
|
90 |
<hidden translate="label, comment">
|
app/design/adminhtml/default/default/template/lengow/check/point.phtml
CHANGED
@@ -7,25 +7,25 @@
|
|
7 |
<tbody>
|
8 |
<tr id="row_update_module">
|
9 |
<td class="label">
|
10 |
-
<label for="update_module"><?php echo __('Module\'s version'); ?></label>
|
11 |
</td>
|
12 |
<td class="value">
|
13 |
<?php echo $this->getVersion(); ?>
|
14 |
<?php if($this->isLastVersion()): ?>
|
15 |
-
<span class="lengow-check lengow-updated"><?php echo __('Your module is already updated'); ?></span>
|
16 |
<?php else: ?>
|
17 |
-
<span class="lengow-check lengow-must-be-updated"><?php echo __('There is a new version %s of Lengow Module, please update it on your Magento Connect Manager !', $this->getLastVersion()); ?></span>
|
18 |
<?php endif; ?>
|
19 |
</td>
|
20 |
</tr>
|
21 |
<tr id="row_ip_service">
|
22 |
<td class="label">
|
23 |
-
<label for="ip_service"><?php echo __('IP of your server'); ?></label>
|
24 |
</td>
|
25 |
<td class="value">
|
26 |
<?php echo $this->getRealIP(); ?>
|
27 |
<p class="note">
|
28 |
-
<?php echo __('Make sure your website IP (%s) address is filled in your Lengow Dashboard.', $this->getRealIP()); ?> <a href="https://solution.lengow.com/api/" target="_blank"><?php echo __('Click here to update it'); ?></a>
|
29 |
</p>
|
30 |
</td>
|
31 |
</tr>
|
7 |
<tbody>
|
8 |
<tr id="row_update_module">
|
9 |
<td class="label">
|
10 |
+
<label for="update_module"><?php echo Mage::helper('tracker')->__('Module\'s version'); ?></label>
|
11 |
</td>
|
12 |
<td class="value">
|
13 |
<?php echo $this->getVersion(); ?>
|
14 |
<?php if($this->isLastVersion()): ?>
|
15 |
+
<span class="lengow-check lengow-updated"><?php echo Mage::helper('tracker')->__('Your module is already updated'); ?></span>
|
16 |
<?php else: ?>
|
17 |
+
<span class="lengow-check lengow-must-be-updated"><?php echo Mage::helper('tracker')->__('There is a new version %s of Lengow Module, please update it on your Magento Connect Manager !', $this->getLastVersion()); ?></span>
|
18 |
<?php endif; ?>
|
19 |
</td>
|
20 |
</tr>
|
21 |
<tr id="row_ip_service">
|
22 |
<td class="label">
|
23 |
+
<label for="ip_service"><?php echo Mage::helper('tracker')->__('IP of your server'); ?></label>
|
24 |
</td>
|
25 |
<td class="value">
|
26 |
<?php echo $this->getRealIP(); ?>
|
27 |
<p class="note">
|
28 |
+
<?php echo Mage::helper('tracker')->__('Make sure your website IP (%s) address is filled in your Lengow Dashboard.', $this->getRealIP()); ?> <a href="https://solution.lengow.com/api/" target="_blank"><?php echo Mage::helper('tracker')->__('Click here to update it'); ?></a>
|
29 |
</p>
|
30 |
</td>
|
31 |
</tr>
|
app/design/adminhtml/default/default/template/lengow/dashboard/charts.phtml
CHANGED
@@ -60,7 +60,7 @@
|
|
60 |
</script>
|
61 |
<div style="margin: 20px;">
|
62 |
|
63 |
-
<div id="lengow-load"><?php echo __('Dashboard Lengow'); ?></div>
|
64 |
|
65 |
<div class="switcher a-right" style="padding:5px 10px;" id="lengow-change-select"></div>
|
66 |
|
@@ -72,12 +72,12 @@
|
|
72 |
<table id="table-feeds">
|
73 |
<thead>
|
74 |
<tr>
|
75 |
-
<th><span><?php echo __('ID'); ?></span></th>
|
76 |
-
<th><span><?php echo __('Type'); ?></span></th>
|
77 |
-
<th><span><?php echo __('Supplier'); ?></span></th>
|
78 |
-
<th><span><?php echo __('Name'); ?></span></th>
|
79 |
-
<th><span><?php echo __('Products'); ?></span></th>
|
80 |
-
<th><span><?php echo __('Enable\'s products'); ?></span></th>
|
81 |
</tr>
|
82 |
</thead>
|
83 |
<tbody></tbody>
|
60 |
</script>
|
61 |
<div style="margin: 20px;">
|
62 |
|
63 |
+
<div id="lengow-load"><?php echo Mage::helper('dashboard')->__('Dashboard Lengow'); ?></div>
|
64 |
|
65 |
<div class="switcher a-right" style="padding:5px 10px;" id="lengow-change-select"></div>
|
66 |
|
72 |
<table id="table-feeds">
|
73 |
<thead>
|
74 |
<tr>
|
75 |
+
<th><span><?php echo Mage::helper('dashboard')->__('ID'); ?></span></th>
|
76 |
+
<th><span><?php echo Mage::helper('dashboard')->__('Type'); ?></span></th>
|
77 |
+
<th><span><?php echo Mage::helper('dashboard')->__('Supplier'); ?></span></th>
|
78 |
+
<th><span><?php echo Mage::helper('dashboard')->__('Name'); ?></span></th>
|
79 |
+
<th><span><?php echo Mage::helper('dashboard')->__('Products'); ?></span></th>
|
80 |
+
<th><span><?php echo Mage::helper('dashboard')->__('Enable\'s products'); ?></span></th>
|
81 |
</tr>
|
82 |
</thead>
|
83 |
<tbody></tbody>
|
app/locale/fr_FR/Lengow_Connector.csv
CHANGED
@@ -105,8 +105,7 @@
|
|
105 |
"Purchased From (Store)","Acheté sur (Magasin)"
|
106 |
"Bill to Name","Nom (Fact.)"
|
107 |
"Ship to Name","Nom (Livr.)"
|
108 |
-
"G.T. (Base)","Montant total
|
109 |
-
(Devise de base)"
|
110 |
"G.T. (Purchased)","Montant total (Devise de la commande)"
|
111 |
"ID lengow","Id lengow"
|
112 |
"Marketplace","Marketplace"
|
@@ -134,3 +133,16 @@
|
|
134 |
"%d orders are imported","%d commandes ont été importées"
|
135 |
"%d orders are updated","%d commande ont été mises à jour"
|
136 |
"No order available to import","Aucune commande n'est disponible à l'import"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
"Purchased From (Store)","Acheté sur (Magasin)"
|
106 |
"Bill to Name","Nom (Fact.)"
|
107 |
"Ship to Name","Nom (Livr.)"
|
108 |
+
"G.T. (Base)","Montant total (Devise de base)"
|
|
|
109 |
"G.T. (Purchased)","Montant total (Devise de la commande)"
|
110 |
"ID lengow","Id lengow"
|
111 |
"Marketplace","Marketplace"
|
133 |
"%d orders are imported","%d commandes ont été importées"
|
134 |
"%d orders are updated","%d commande ont été mises à jour"
|
135 |
"No order available to import","Aucune commande n'est disponible à l'import"
|
136 |
+
"Module's version","Version du module"
|
137 |
+
"IP of your server","IP du serveur"
|
138 |
+
"Your module is already updated","Votre module est bien à jour"
|
139 |
+
"There is a new version %s of Lengow Module, please update it on your Magento Connect Manager !","Il y a une nouvelle version %s du module Lengow, merci de la mettre à jour avec votre Magento Connect Manager"
|
140 |
+
"Make sure your website IP (%s) address is filled in your Lengow Dashboard.","Vérifier bien que l'adresse IP (%s) de votre site web est bien renseignée dans la Solution Lengow"
|
141 |
+
"Click here to update it","Cliquez-ici pour la mettre à jour"
|
142 |
+
"Tracker Product's identifiant","Identifiant produit à utiliser"
|
143 |
+
"Stock without products ordering","Stock sans les produits en cours de commande"
|
144 |
+
"Images max","Nombre d'image à exporter"
|
145 |
+
"Import with product's title from Lengow","Importer les produits avec les titres provenant de Lengow"
|
146 |
+
"Import an order with the product's name from marketplace","Importe les commandes avec le nom de produit provenant des Marketplaces"
|
147 |
+
"See the export feed","Voir le flux d'export"
|
148 |
+
"Change Lengow's publication","Changer la publication sur Lengow"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lengow_Export</name>
|
4 |
-
<version>2.0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -11,9 +11,9 @@
|
|
11 |
Export your catalog, import your orders from all Marketplaces.</description>
|
12 |
<notes>New version of Lengow's Connector</notes>
|
13 |
<authors><author><name>Ludovic</name><user>ludo</user><email>ludovic@lengow.com</email></author><author><name>Romain</name><user>romain</user><email>romain@lengow.com</email></author></authors>
|
14 |
-
<date>2014-02-
|
15 |
-
<time>
|
16 |
-
<contents><target name="magecommunity"><dir name="Lengow"><dir name="Dashboard"><dir name="Block"><dir name="Adminhtml"><dir name="Dashboard"><file name="Charts.php" hash="dae1bbed1ede93b06f62589e93857396"/><file name="Diagrams.php" hash="001995ea1916ca192021ba52c155a466"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="7129af0e9ab390e0695f84865a02fdb5"/></dir><dir name="Model"><file name="Config.php" hash="9ac1d092bffd109f02518885f89142c7"/></dir><dir name="etc"><file name="config.xml" hash="4f6016d050b7b667ddb3c292b4008334"/></dir></dir><dir name="Export"><dir name="Block"><dir name="Adminhtml"><dir name="Product"><file name="Grid.php" hash="d2b5d56eacd6f3edd45a5fe90c785bbe"/></dir><file name="Product.php" hash="eb02c6d91aaa59cb8235ac0703a16297"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="837edcfbf4d83096f5a23339a11ae9c0"/><file name="Security.php" hash="3ad6b6925ef05884a1501afa6e64a685"/></dir><dir name="Model"><dir name="Catalog"><file name="Product.php" hash="d46788333955a02db904e3d5bb342a30"/></dir><file name="Config.php" hash="5335535993d0fc1d13da0c6be56ea1e6"/><dir name="Convert"><dir name="Parser"><file name="Product.php" hash="bc664380ca9d37256460613ecdbd8f92"/></dir></dir><dir name="Export"><dir name="Rewrite"><dir name="Catalog"><file name="Config.php" hash="e192cd30c6ed7e4cc370953c3ecd2367"/></dir></dir></dir><dir name="Feed"><file name="Abstract.php" hash="ed13409ab1c507b48b9460c8886bef8d"/><file name="Csv.php" hash="0d5efb78f25e58d4b638af54d83fa0bd"/><file name="Json.php" hash="4df743bce6647eea36d2677ab7f6a9a8"/><file name="Xml.php" hash="dee5abfe1fa6f066a89a7de9ca3c9f3e"/><file name="Yaml.php" hash="f0c24bd481039c4fc13fa26ef7a4d1b9"/></dir><file name="Generate.php" hash="ee703e20c527e06e2895b56dbcb41937"/><file name="Observer.php" hash="ee7e08f93e78d06b035060e29c67d82f"/><dir name="Shipping"><dir name="Carrier"><file name="Lengow.php" hash="685809c2367ec3509ecbf9f4d07f4661"/></dir></dir><dir name="Source"><file name="Attributes.php" hash="95b485a452aee5b27af0af618211f13c"/><file name="Types.php" hash="6b125e9e5c0dfd5c93cf304441ed47ac"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="111617eb86ef8dd7374efa0d4eabf781"/></dir><dir name="Source"><dir name="Category"><file name="Level.php" hash="b35d3367815682e0ed2827ae8c722e9a"/></dir><file name="Format.php" hash="fd069f484cc3ae0d914fb7a965789d9f"/><file name="Getattributes.php" hash="9ed9accf926ee7ad15a361d45eae5ff6"/><file name="Images.php" hash="e6ec93f301599ea91d69a1f4847e240d"/><file name="Status.php" hash="c848476436a961877def6ae5ea0b16d8"/><file name="Types.php" hash="56de65acbb13ee5425b95cc5f9c3f2d2"/></dir></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="ExportController.php" hash="29127de9817945fc672af40b3f2961f3"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="FeedController.php" hash="e8fe620214eb352ff4d7cfbb06547a33"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="config.xml" hash="153123fac7e379f12ede4d1ae3183605"/><file name="system.xml" hash="6b727a67ec4c912883769b77f695eb59"/></dir></dir><dir name="Feed"><dir name="Block"><dir name="Adminhtml"><dir name="Feed"><file name="Grid.php" hash="164d0069752cf6327128e2da873c6466"/><dir name="Renderer"><file name="Migrate.php" hash="e59d5a72241165ec1c8194fc257d6e11"/><file name="Select.php" hash="78808e9061b7a5aa73c2273f18bc0746"/><file name="Url.php" hash="c9060f99ffa7f47140392c4392f793e7"/></dir></dir><file name="Feed.php" hash="96aa5aa6ed7c9e4a708df5b391621421"/></dir></dir><dir name="Helper"><file name="Data.php" hash="23ab67ab3d66ce8c35cfe9c8bff76f76"/></dir><dir name="Model"><file name="Config.php" hash="7487c73a3fe292614c9f4a2b66d8a664"/><file name="Feed.php" hash="75e01d41749b61db15f2603ed00f09a4"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="FeedController.php" hash="7a5f760a1768ddd6dca7b04affb1681f"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="98bbd3fef1e7b153177127c5bf443e03"/><file name="system.xml" hash="22ba605f2529396e4edb41c5ec8e65e6"/></dir></dir><dir name="Sync"><dir name="Block"><dir name="Adminhtml"><file name="Import.php" hash="832bc82dde18ae4bc886933b28f41885"/><dir name="Log"><file name="Grid.php" hash="ca9a55f848bccb6e8a34e0217cf905f5"/></dir><file name="Log.php" hash="c8434ba0a97fb13c25fbfbc4f1841b53"/><dir name="Order"><file name="Grid.php" hash="f5423e0e9f88c29a39e494e8ce72c0e1"/><file name="Tab.php" hash="4c913f7d42506bd3e60e10a5142d9b8a"/></dir><file name="Order.php" hash="2ddb7553c4c67faf0bae5bbbe1be16fe"/></dir><dir name="Payment"><dir name="Info"><file name="Purchaseorder.php" hash="72bbeb480299903b16e505ffdd5d73fe"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="05e0c035a6400f6b4b56b33e6bbf424d"/></dir><dir name="Model"><file name="Config.php" hash="e356e499cd34db77a17954fb52443a4f"/><dir name="Connector"><file name="Exception.php" hash="de1fa1b69e24fe7b976c03f1ed1ca7f7"/></dir><file name="Connector.php" hash="63b645168b51d6cbb0cf748f3159d35e"/><dir name="Customer"><file name="Customer.php" hash="e195621601071a4f15d0724839e9aaaa"/></dir><file name="Import.php" hash="4a7e3d1c3c7dba329987afd34d7e9479"/><file name="Log.php" hash="3dd56825227289f380bf5c0e2f8e848e"/><dir name="Marketplace"><file name="Exception.php" hash="bd7ab8db94e241d022cd6e467e8596ec"/></dir><file name="Marketplace.php" hash="46606a1e2b253c603996c794f94b4309"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="e3c7a389004afa2a116560e5501cb9fa"/></dir><file name="Log.php" hash="3cc46747828dc075638b115cb8bdbf68"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="Observer.php" hash="b798657837ade214c3bf3e8a4b53ec64"/><file name="Order.php" hash="dbeee1bd9de5c9509d232de3c02d0e5d"/><dir name="Payment"><dir name="Method"><file name="Lengow.php" hash="41344a615275c14d06707ed63ec58e59"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Quote"><file name="Item.php" hash="5ac5bd4bdfceacabb6d090eaf724c0f4"/></dir><dir name="Shipping"><dir name="Carrier"><file name="Lengow.php" hash="64627df21b7d1d089ce7caa6fb3837a9"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="LogController.php" hash="2eb76e322af63ee3639364ec4bb44017"/><file name="OrderController.php" hash="6d348a79987f24919d32beb454fa9b13"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="ApiController.php" hash="4760695213bf840c18c8473b43304fda"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="config.xml" hash="002ddde4cab11cd48d9cfece51478bd2"/><file name="marketplaces.xml" hash="a6a940eb5ae454fa4a373493a4d3d17f"/><file name="system.xml" hash="be59409e1daec954eeb3b9422fa01b9f"/></dir><dir name="sql"><dir name="lengow_setup"><file name="mysql4-install-2.0.0.0.php" hash="ec6f4fbc56eb98d2439d9e53a6d5906f"/><file name="mysql4-upgrade-2.0.0.0-2.0.0.1.php" hash="8a452156d98da3e2508e7e67fd6b3006"/></dir></dir><file name=".DS_Store" hash="dc971dc7108101d485bfc11f9d1bd4c0"/></dir><dir name="Tracker"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Check"><file name="Point.php" hash="b1b7be8e668e789ddfa26a615b4a5040"/></dir><file name="Check.php" hash="bc55760cc20b6ef21bf894f49454ea1e"/></dir></dir></dir><dir name="Tag"><file name="Capsule.php" hash="5e7bd8c4a7cab7245909cc22cf705f3f"/><file name="Simple.php" hash="5cae14470caf8393ed8eaf0b7b006996"/></dir><file name="Tracker.php" hash="b12dc4b32f1de2fb396620f317ce63bb"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Check.php" hash="cb25e508ce65cdfacef25de6084ae732"/><file name="Data.php" hash="e526694354fe760f266bf925e5e4ac39"/></dir><dir name="Model"><file name="Capsule.php" hash="36210d0a6808cff703abb5ccad12530e"/><file name="Config.php" hash="d475fd6dd049ed712f69e4a1bfc2036c"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Tracker.php" hash="8fdc4f1d9f02300525aeb295e9cd3dfc"/></dir></dir></dir><file name="Tracker.php" hash="51ebd82f9b572eb1242adf8aab7702d3"/></dir><dir name="etc"><file name="config.xml" hash="b9cff080c5e98ea335f95b8a21f44d62"/><file name="plugins.xml" hash="23cf26b5a39cf6fda8d12f27772ba5a4"/><file name="system.xml" hash="dbb8f083e9eceeb8ff47f71ba6cbf8a2"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lengow.xml" hash="8bd6d3c25e5911481a5f105fe55833f1"/></dir><dir name="template"><dir name="lengow"><dir name="check"><file name="point.phtml" hash="5757a62a62b955327936ac9785fb5f31"/></dir><dir name="dashboard"><file name="charts.phtml" hash="7eaa1f13a48c401ca12aec27ebd48826"/></dir><dir name="export"><file name="product.phtml" hash="fcab2dbf0f9ff81992d9b1e75cc1b5c5"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="feed"><file name="grid.phtml" hash="7e965f793beb4847fad559506865a35e"/></dir><dir name="sales"><dir name="order"><dir name="tab"><file name="info.phtml" hash="fd76ca51399fd00b52f8430acce8555c"/></dir></dir><dir name="payment"><dir name="info"><file name="purchaseorder.phtml" hash="8e9e7a287ef57fe72023e28747fb0864"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="lengow.xml" hash="6c936eef50a6394cbb5fce30f2f216d9"/></dir><dir name="template"><dir name="lengow"><dir name="tracker"><file name="simpletag.phtml" hash="2b761f6da02185a6931b30fddd679d64"/><file name="tag.phtml" hash="619f7bc6fe20c3dd6c1d82cdf12811b5"/><file name="tagcapsule.phtml" hash="2916e7693ef8ec9fcce5f5a8079d2beb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Lengow_Connector.csv" hash="2a201fc56652d7dcd61ab2a28a17580d"/></dir></target><target name="mageetc"><dir name="modules"><file name="Lengow_Connector.xml" hash="34b39beecc725740ea1e0bc8d339287a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="lengow"><dir name="css"><file name="admin.css" hash="aa78dc26e735d8110b88d9974f72a502"/></dir><dir name="js"><file name="charts.min.js" hash="6806368c6a0bf73a5236b452fd5c2332"/><file name="tracker.js" hash="6402a4fbbb81a3b0587ec8c4c375e0a0"/></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lengow_Export</name>
|
4 |
+
<version>2.0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
11 |
Export your catalog, import your orders from all Marketplaces.</description>
|
12 |
<notes>New version of Lengow's Connector</notes>
|
13 |
<authors><author><name>Ludovic</name><user>ludo</user><email>ludovic@lengow.com</email></author><author><name>Romain</name><user>romain</user><email>romain@lengow.com</email></author></authors>
|
14 |
+
<date>2014-02-19</date>
|
15 |
+
<time>08:56:01</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Lengow"><dir name="Dashboard"><dir name="Block"><dir name="Adminhtml"><dir name="Dashboard"><file name="Charts.php" hash="dae1bbed1ede93b06f62589e93857396"/><file name="Diagrams.php" hash="001995ea1916ca192021ba52c155a466"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="7129af0e9ab390e0695f84865a02fdb5"/></dir><dir name="Model"><file name="Config.php" hash="9ac1d092bffd109f02518885f89142c7"/></dir><dir name="etc"><file name="config.xml" hash="4f6016d050b7b667ddb3c292b4008334"/></dir></dir><dir name="Export"><dir name="Block"><dir name="Adminhtml"><dir name="Product"><file name="Grid.php" hash="05fd23a72f043f3f67592036c105e3a4"/></dir><file name="Product.php" hash="b4802cfa8249bfe8c7378d65a5147c1b"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="837edcfbf4d83096f5a23339a11ae9c0"/><file name="Security.php" hash="3ad6b6925ef05884a1501afa6e64a685"/></dir><dir name="Model"><dir name="Catalog"><file name="Product.php" hash="390b1e3aeefff6f39bbb39488440f5e3"/></dir><file name="Config.php" hash="5335535993d0fc1d13da0c6be56ea1e6"/><dir name="Convert"><dir name="Parser"><file name="Product.php" hash="bc664380ca9d37256460613ecdbd8f92"/></dir></dir><dir name="Export"><dir name="Rewrite"><dir name="Catalog"><file name="Config.php" hash="e192cd30c6ed7e4cc370953c3ecd2367"/></dir></dir></dir><dir name="Feed"><file name="Abstract.php" hash="ed13409ab1c507b48b9460c8886bef8d"/><file name="Csv.php" hash="9e53191b25324292f962dec130c0c80a"/><file name="Json.php" hash="4df743bce6647eea36d2677ab7f6a9a8"/><file name="Xml.php" hash="dee5abfe1fa6f066a89a7de9ca3c9f3e"/><file name="Yaml.php" hash="f0c24bd481039c4fc13fa26ef7a4d1b9"/></dir><file name="Generate.php" hash="ee703e20c527e06e2895b56dbcb41937"/><file name="Observer.php" hash="ee7e08f93e78d06b035060e29c67d82f"/><dir name="Shipping"><dir name="Carrier"><file name="Lengow.php" hash="685809c2367ec3509ecbf9f4d07f4661"/></dir></dir><dir name="Source"><file name="Attributes.php" hash="95b485a452aee5b27af0af618211f13c"/><file name="Types.php" hash="6b125e9e5c0dfd5c93cf304441ed47ac"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="111617eb86ef8dd7374efa0d4eabf781"/></dir><dir name="Source"><dir name="Category"><file name="Level.php" hash="b35d3367815682e0ed2827ae8c722e9a"/></dir><file name="Format.php" hash="fd069f484cc3ae0d914fb7a965789d9f"/><file name="Getattributes.php" hash="9ed9accf926ee7ad15a361d45eae5ff6"/><file name="Images.php" hash="e6ec93f301599ea91d69a1f4847e240d"/><file name="Status.php" hash="c848476436a961877def6ae5ea0b16d8"/><file name="Types.php" hash="56de65acbb13ee5425b95cc5f9c3f2d2"/></dir></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="ExportController.php" hash="3184ff2ece9482ea5e6039b6d41b0c21"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="FeedController.php" hash="e8fe620214eb352ff4d7cfbb06547a33"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="config.xml" hash="270499db17f7412ec90715768dab9e0c"/><file name="system.xml" hash="6b727a67ec4c912883769b77f695eb59"/></dir></dir><dir name="Feed"><dir name="Block"><dir name="Adminhtml"><dir name="Feed"><file name="Grid.php" hash="164d0069752cf6327128e2da873c6466"/><dir name="Renderer"><file name="Migrate.php" hash="e59d5a72241165ec1c8194fc257d6e11"/><file name="Select.php" hash="78808e9061b7a5aa73c2273f18bc0746"/><file name="Url.php" hash="c9060f99ffa7f47140392c4392f793e7"/></dir></dir><file name="Feed.php" hash="96aa5aa6ed7c9e4a708df5b391621421"/></dir></dir><dir name="Helper"><file name="Data.php" hash="23ab67ab3d66ce8c35cfe9c8bff76f76"/></dir><dir name="Model"><file name="Config.php" hash="7487c73a3fe292614c9f4a2b66d8a664"/><file name="Feed.php" hash="75e01d41749b61db15f2603ed00f09a4"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="FeedController.php" hash="7a5f760a1768ddd6dca7b04affb1681f"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="1e6162e02eeaaaa2dc2a34f1d492d960"/><file name="system.xml" hash="22ba605f2529396e4edb41c5ec8e65e6"/></dir></dir><dir name="Sync"><dir name="Block"><dir name="Adminhtml"><file name="Import.php" hash="832bc82dde18ae4bc886933b28f41885"/><dir name="Log"><file name="Grid.php" hash="ca9a55f848bccb6e8a34e0217cf905f5"/></dir><file name="Log.php" hash="c8434ba0a97fb13c25fbfbc4f1841b53"/><dir name="Order"><file name="Grid.php" hash="f5423e0e9f88c29a39e494e8ce72c0e1"/><file name="Tab.php" hash="4c913f7d42506bd3e60e10a5142d9b8a"/></dir><file name="Order.php" hash="2ddb7553c4c67faf0bae5bbbe1be16fe"/></dir><dir name="Payment"><dir name="Info"><file name="Purchaseorder.php" hash="72bbeb480299903b16e505ffdd5d73fe"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="05e0c035a6400f6b4b56b33e6bbf424d"/></dir><dir name="Model"><file name="Config.php" hash="e356e499cd34db77a17954fb52443a4f"/><dir name="Connector"><file name="Exception.php" hash="de1fa1b69e24fe7b976c03f1ed1ca7f7"/></dir><file name="Connector.php" hash="63b645168b51d6cbb0cf748f3159d35e"/><dir name="Customer"><file name="Customer.php" hash="e195621601071a4f15d0724839e9aaaa"/></dir><file name="Import.php" hash="4a7e3d1c3c7dba329987afd34d7e9479"/><file name="Log.php" hash="3dd56825227289f380bf5c0e2f8e848e"/><dir name="Marketplace"><file name="Exception.php" hash="bd7ab8db94e241d022cd6e467e8596ec"/></dir><file name="Marketplace.php" hash="40f6243e4e106a7f4f77f0985b775d6a"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="e3c7a389004afa2a116560e5501cb9fa"/></dir><file name="Log.php" hash="3cc46747828dc075638b115cb8bdbf68"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="Observer.php" hash="b798657837ade214c3bf3e8a4b53ec64"/><file name="Order.php" hash="8937e9b65b763104b9acc3913fd7fecc"/><dir name="Payment"><dir name="Method"><file name="Lengow.php" hash="41344a615275c14d06707ed63ec58e59"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Quote"><file name="Item.php" hash="5ac5bd4bdfceacabb6d090eaf724c0f4"/></dir><dir name="Shipping"><dir name="Carrier"><file name="Lengow.php" hash="64627df21b7d1d089ce7caa6fb3837a9"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Lengow"><file name="LogController.php" hash="2eb76e322af63ee3639364ec4bb44017"/><file name="OrderController.php" hash="6d348a79987f24919d32beb454fa9b13"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="ApiController.php" hash="4760695213bf840c18c8473b43304fda"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="config.xml" hash="c05abcc1166b6263c00ac5973a6dd03d"/><file name="marketplaces.xml" hash="a6a940eb5ae454fa4a373493a4d3d17f"/><file name="system.xml" hash="be59409e1daec954eeb3b9422fa01b9f"/></dir><dir name="sql"><dir name="lengow_setup"><file name="mysql4-install-2.0.0.0.php" hash="ec6f4fbc56eb98d2439d9e53a6d5906f"/><file name="mysql4-upgrade-2.0.0.0-2.0.0.1.php" hash="8a452156d98da3e2508e7e67fd6b3006"/></dir></dir><file name=".DS_Store" hash="dc971dc7108101d485bfc11f9d1bd4c0"/></dir><dir name="Tracker"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Check"><file name="Point.php" hash="b1b7be8e668e789ddfa26a615b4a5040"/></dir><file name="Check.php" hash="bc55760cc20b6ef21bf894f49454ea1e"/></dir></dir></dir><dir name="Tag"><file name="Capsule.php" hash="14256e8019240284092096ec888a4f58"/><file name="Simple.php" hash="5cae14470caf8393ed8eaf0b7b006996"/></dir><file name="Tracker.php" hash="392f499d21ec1f8658b950a51ca89ff3"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Check.php" hash="cb25e508ce65cdfacef25de6084ae732"/><file name="Data.php" hash="e526694354fe760f266bf925e5e4ac39"/></dir><dir name="Model"><file name="Capsule.php" hash="a13590e2393d76c7d15f5094745b586f"/><file name="Config.php" hash="d475fd6dd049ed712f69e4a1bfc2036c"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Identifiant.php" hash="51943c288cab9456c62a2130405b695b"/><file name="Tracker.php" hash="8fdc4f1d9f02300525aeb295e9cd3dfc"/></dir></dir></dir><file name="Tracker.php" hash="0a753473d269769b507e89400ed528c8"/></dir><dir name="etc"><file name="config.xml" hash="609ebd7fa73ed9214c08efb90e4455a5"/><file name="plugins.xml" hash="136bc0cf82db219c82f6a3993d3debf3"/><file name="system.xml" hash="79f9f43e00295f51c428023e8349ac0d"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lengow.xml" hash="8bd6d3c25e5911481a5f105fe55833f1"/></dir><dir name="template"><dir name="lengow"><dir name="check"><file name="point.phtml" hash="8e221f846b0731f8e3f1a6229e342166"/></dir><dir name="dashboard"><file name="charts.phtml" hash="e03c9e77fe69066ed335669c38d56266"/></dir><dir name="export"><file name="product.phtml" hash="fcab2dbf0f9ff81992d9b1e75cc1b5c5"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="feed"><file name="grid.phtml" hash="7e965f793beb4847fad559506865a35e"/></dir><dir name="sales"><dir name="order"><dir name="tab"><file name="info.phtml" hash="fd76ca51399fd00b52f8430acce8555c"/></dir></dir><dir name="payment"><dir name="info"><file name="purchaseorder.phtml" hash="8e9e7a287ef57fe72023e28747fb0864"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="lengow.xml" hash="6c936eef50a6394cbb5fce30f2f216d9"/></dir><dir name="template"><dir name="lengow"><dir name="tracker"><file name="simpletag.phtml" hash="2b761f6da02185a6931b30fddd679d64"/><file name="tag.phtml" hash="619f7bc6fe20c3dd6c1d82cdf12811b5"/><file name="tagcapsule.phtml" hash="2916e7693ef8ec9fcce5f5a8079d2beb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Lengow_Connector.csv" hash="f8b456f0213aa71cb3c5ad18494c8545"/></dir></target><target name="mageetc"><dir name="modules"><file name="Lengow_Connector.xml" hash="34b39beecc725740ea1e0bc8d339287a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="lengow"><dir name="css"><file name="admin.css" hash="aa78dc26e735d8110b88d9974f72a502"/></dir><dir name="js"><file name="charts.min.js" hash="6806368c6a0bf73a5236b452fd5c2332"/><file name="tracker.js" hash="6402a4fbbb81a3b0587ec8c4c375e0a0"/></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|