BeezUP_Module_feed_and_tracker - Version 4.6.6

Version Notes

New features :
>Grouped child specific issue solved

Download this release

Release Info

Developer BeezUP
Extension BeezUP_Module_feed_and_tracker
Version 4.6.6
Comparing to
See all releases


Code changes from version 4.6.5 to 4.6.6

app/code/community/BeezUp/Block/Xml.php CHANGED
@@ -1,27 +1,27 @@
1
  <?php
2
  ini_set('memory_limit','1024M');
3
-
4
  class BeezUp_Block_Xml extends Mage_Core_Block_Text
5
  {
6
  /**
7
- Xml permet de r�cup�rer tous les produits simples
8
  **/
9
  public function getXml($paginate = false)
10
  {
11
-
12
  $base_url = Mage::getBaseUrl();
13
  /* Load Model and Helper */
14
  $beezup = Mage::getModel('beezup/products');
15
  $helper = Mage::helper('beezup');
16
  $category_logic = $helper->getConfig('beezup/flux/category_logic');
17
  /* Initially load the useful elements */
18
-
19
  $shipping_logic = $helper->getConfig('beezup/flux/carrier_method');
20
  if($shipping_logic == 1) {
21
  $shipping_carrier = $helper->getConfig('beezup/flux/shipping_carrier');
22
  $default_country = $helper->getConfig('beezup/flux/default_country');
23
  }
24
-
25
  $default_shipping_cost = (int)$helper->getConfig('beezup/flux/default_shipping_cost');
26
  $many_images = $helper->getConfig('beezup/flux/images');
27
  $_ht = $helper->getConfig('beezup/flux/ht');
@@ -39,30 +39,30 @@
39
  ->addAttributeToFilter('level', 2)
40
  ->addAttributeToFilter('is_active', 1);
41
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
42
-
43
- }
44
-
45
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
46
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
47
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
48
  /* Build file */
49
  $xml = "\xEF\xBB\xBF";
50
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
51
-
52
  $products = $beezup->getProducts(false, $paginate);
53
  if($many_images == 1) {
54
  $backendModel = $products->getResource()->getAttribute('media_gallery')->getBackend();
55
  }
56
-
57
  //$productModel = Mage::getModel('catalog/product');
58
  foreach ($products as $p) {
59
  if($category_logic == 1) {
60
  $categories = $beezup->getProductsCategories($p, $_categories);
61
  } else {
62
-
63
- $categories = $beezup->getProductsCategories2($p, $_categories);
64
  }
65
-
66
  if (count($categories)) {
67
  $qty = $beezup->getQty($p->getId());
68
  $stock = $beezup->getIsInStock($qty);
@@ -71,18 +71,18 @@
71
  $final_price = $p->getFinalPrice();
72
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
73
  $image = $p->getSmallImage();
74
-
75
-
76
  //$precio = Mage::getModel('catalogrule/rule')->calcProductPriceRule($p,$p->getPrice());
77
-
78
-
79
  $xml .= '<product>';
80
  // $productModel->load($p->getId());
81
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
82
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
83
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
84
  // $xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
85
-
86
  foreach($_description as $desc) {
87
  if($enable_html == 1) {
88
  $xml .= $helper->tag($this->__('b_'.$desc), $p->getData($desc), 1);
@@ -90,7 +90,7 @@
90
  $xml .= $helper->tag($this->__('b_'.$desc), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($desc))), 1);
91
  }
92
  }
93
-
94
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
95
  $special_price = $p->getSpecialPrice();
96
  if(!empty($special_price) && $special_price > 0) {
@@ -99,12 +99,12 @@
99
  $final_price = $p->getSpecialPrice();
100
  //$xml .= $helper->tag($this->__('precio'), $p->getSpecialPrice(), 1);
101
  }
102
- }
103
-
104
-
105
-
106
-
107
- $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
108
  if($many_images == 1) {
109
  $inc = 1;
110
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
@@ -112,21 +112,21 @@
112
  $backendModel->afterLoad($p); //adding media gallery to the product object
113
  $datos = $p->getData();
114
  foreach ($datos['media_gallery']['images'] as $img) {
115
-
116
  if($img['disabled']==0 && $image !== $img['file']) {
117
  $inc++;
118
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
119
-
120
  }
121
  }
122
-
123
- }
124
-
125
-
126
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
127
  $xml .= $helper->tag($this->__('b_qty'), $qty);
128
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
129
-
130
  if($shipping_logic == 1) {
131
  $shipping_rate = $beezup->_getShippingPrice($p, $shipping_carrier, $default_country);
132
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
@@ -136,8 +136,8 @@
136
  } else {
137
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
138
  }
139
-
140
-
141
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
142
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
143
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
@@ -147,7 +147,7 @@
147
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
148
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
149
  }
150
-
151
  $xml .= '</product>' . PHP_EOL;
152
  }
153
  }
@@ -155,21 +155,21 @@
155
  if($paginate['page'] == 1) {
156
  $xml .= $this->getAssociatedProducto(false);
157
  }
158
-
159
  } else {
160
  $xml .= $this->getAssociatedProducto(false);
161
  }
162
-
163
  $xml .= '</catalog>';
164
-
165
  return $xml;
166
  }
167
-
168
  /**
169
  Configurable permet de r�cup�rer tous les produits (p�re, enfant et simple)
170
  **/
171
  public function getXmlConfigurable($paginate = false)
172
- {
173
  $base_url = Mage::getBaseUrl();
174
  /* Load Model and Helper */
175
  $beezup = Mage::getModel('beezup/products');
@@ -198,49 +198,49 @@
198
  ->addAttributeToFilter('level', 2)
199
  ->addAttributeToFilter('is_active', 1);
200
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
201
-
202
- }
203
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
204
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
205
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
206
-
207
  /* Build file */
208
  $xml = "\xEF\xBB\xBF";
209
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
210
-
211
  //r�cup�re tous les produits
212
  $products = $beezup->getProducts(false, $paginate);
213
  $childs = $beezup->getConfigurableProducts(true);
214
  $backendModel = $products->getResource()->getAttribute('media_gallery')->getBackend();
215
  $products->addAttributeToFilter('type_id', Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE);
216
-
217
-
218
  $mediaBackend = Mage::getModel('catalog/product_attribute_backend_media');
219
  $mediaGalleryAttribute = Mage::getModel('eav/config')->getAttribute(Mage::getModel('catalog/product')->getResource()->getTypeId(), 'media_gallery');
220
  $mediaBackend->setAttribute($mediaGalleryAttribute);
221
-
222
  //parcours les produits
223
  foreach ($products as $p) {
224
-
225
  if($many_images == 1) {
226
  $backendModel->afterLoad($p); //adding media gallery to the product object
227
  $datos = $p->getData();
228
-
229
  }
230
  if($category_logic == 1) {
231
  $categories = $beezup->getProductsCategories($p, $_categories);
232
  } else {
233
-
234
- $categories = $beezup->getProductsCategories2($p, $_categories);
235
  }
236
  // $varationTheme = $beezup->getOptions($p);
237
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
238
-
239
  if (count($categories)) {
240
  //si l'�l�ment est un p�re, on va traiter ces enfants
241
- if(isset($childs[$p->getId()])) {
242
  $childrens = $childs[$p->getId()];
243
-
244
  foreach($childrens as $c) {
245
  $qty = $beezup->getQty($c->getId());
246
  $stock = $beezup->getIsInStock($qty);
@@ -248,7 +248,7 @@
248
  $price = $c->getPrice();
249
  $final_price = $c->getFinalPrice();
250
  $image = $this->fillImageUrl($p, $c);
251
-
252
  //DBG
253
  if (0)
254
  {
@@ -258,8 +258,8 @@
258
  echo "Parent Id : " .$p->getId() ."<br/>";
259
  echo "Url : " .$p->getProductUrl() ."<br/>";
260
  echo "Image : " .$helper->getImageDir().$image ."<br/>";
261
-
262
-
263
  echo "SKU : " .$c->getSku() ."<br/>";
264
  echo "Quantity : " .$qty ."<br/>";
265
  echo "Stock : " .$stock ."<br/>";
@@ -268,16 +268,16 @@
268
  // echo "finalprice : ".$final_price ."<br/>";
269
  echo "specialprice : ".$c->getSpecialPrice() ."<br/>";
270
  }
271
-
272
-
273
  $xml .= '<product>';
274
  $xml .= $helper->tag($this->__('b_unique_id'), $c->getId());
275
  $xml .= $helper->tag($this->__('b_sku'), trim($c->getSku()), 1);
276
-
277
  $xml .= $helper->tag($this->__('parent_or_child'), 'child', 1);
278
  $xml .= $helper->tag($this->__('parent_id'), $p->getId());
279
  //$xml .= $helper->tag($this->__('variation-theme'), $varationTheme, 1);
280
-
281
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
282
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
283
  foreach($_description as $desc) {
@@ -287,43 +287,43 @@
287
  $xml .= $helper->tag($this->__('b_'.$desc), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($desc))), 1);
288
  }
289
  }
290
-
291
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
292
-
293
  $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
294
  $mediaBackend->afterLoad($c);
295
-
296
-
297
  if($many_images==1) {
298
  $cDatos = $c->getData();
299
  $inc = 1;
300
  foreach ($cDatos['media_gallery']['images'] as $img) {
301
-
302
  if($img['disabled']==0 && $image !== $img['file']) {
303
  $inc++;
304
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
305
-
306
  }
307
  }
308
-
309
-
310
  if($inc==1 && ($c->getImage() == "no_selection" || $c->getImage()=="" || $c->getSmallImage() == "no_selection" || $c->getSmallImage() == "")) { //if there are no child pictures
311
-
312
  foreach ($datos['media_gallery']['images'] as $img) {
313
-
314
  if($img['disabled']==0 && $image !== $img['file']) {
315
  $inc++;
316
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
317
-
318
  }
319
  }
320
-
321
  }
322
- }
323
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
324
  $xml .= $helper->tag($this->__('b_qty'), $qty);
325
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
326
-
327
  if($shipping_logic == 1) {
328
  $shipping_rate = $beezup->_getShippingPrice($c, $shipping_carrier, $default_country);
329
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
@@ -332,23 +332,23 @@
332
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
333
  } else {
334
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($c->getWeight(), $_tablerates)));
335
- }
336
-
337
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($c->getWeight()));
338
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
339
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
340
  $i = 1;
341
-
342
-
343
  foreach ($categories as $v) $xml .= $helper->tag($this->__('b_category_%s', $i++), $v, 1);
344
  foreach ($_attributes as $a) {
345
  $value = $c->getResource()->getAttribute($a)->getFrontend()->getValue($c);
346
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
347
  }
348
  $xml .= '</product>' . PHP_EOL;
349
-
350
  }
351
-
352
  $qty = $beezup->getQty($p->getId());
353
  $stock = $beezup->getIsInStock($qty);
354
  $shipping = $beezup->getDelivery($qty);
@@ -356,17 +356,17 @@
356
  $final_price = $p->getFinalPrice();
357
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
358
  $image = $p->getSmallImage();
359
-
360
-
361
  // si c'est un �l�ment parent
362
  $xml .= '<product>';
363
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
364
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
365
-
366
  $xml .= $helper->tag($this->__('parent_or_child'), 'parent', 1);
367
  $xml .= $helper->tag($this->__('parent_id'), '');
368
  // $xml .= $helper->tag($this->__('variation-theme'), $varationTheme, 1);
369
-
370
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
371
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
372
  foreach($_description as $desc) {
@@ -377,27 +377,27 @@
377
  }
378
  }
379
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
380
- $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
381
  if($many_images == 1) {
382
  $inc = 1;
383
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
384
  //$product = Mage::getModel('catalog/product')->load( $p->getId());
385
-
386
  foreach ($datos['media_gallery']['images'] as $img) {
387
-
388
  if($img['disabled']==0 && $image !== $img['file']) {
389
  $inc++;
390
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
391
-
392
  }
393
  }
394
-
395
- }
396
-
397
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
398
  $xml .= $helper->tag($this->__('b_qty'), $qty);
399
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
400
-
401
  if($shipping_logic == 1) {
402
  $shipping_rate = $beezup->_getShippingPrice($p, $shipping_carrier, $default_country);
403
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
@@ -406,8 +406,8 @@
406
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
407
  } else {
408
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
409
- }
410
-
411
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
412
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
413
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
@@ -417,7 +417,7 @@
417
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
418
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
419
  }
420
-
421
  $xml .= '</product>' . PHP_EOL;
422
  }
423
  }
@@ -426,16 +426,16 @@
426
  $product_simple = $beezup->getProductsSimple();
427
  $backendModelSimple = $product_simple->getResource()->getAttribute('media_gallery')->getBackend();
428
  foreach ($product_simple as $p) {
429
-
430
- $prodAttributeSet = Mage::getModel('eav/entity_attribute_set')->load($p->getAttributeSetId())->getAttributeSetName();
431
-
432
  if($category_logic == 1) {
433
  $categories = $beezup->getProductsCategories($p, $_categories);
434
  } else {
435
-
436
- $categories = $beezup->getProductsCategories2($p, $_categories);
437
  }
438
-
439
  if (count($categories)) {
440
  $qty = $beezup->getQty($p->getId());
441
  $stock = $beezup->getIsInStock($qty);
@@ -444,16 +444,16 @@
444
  $final_price = $p->getFinalPrice();
445
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
446
  $image = $p->getSmallImage();
447
-
448
-
449
  $xml .= '<product>';
450
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
451
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
452
-
453
  $xml .= $helper->tag($this->__('parent_or_child'), 'simple', 1);
454
  $xml .= $helper->tag($this->__('parent_id'), '');
455
  $xml .= $helper->tag($this->__('variation-theme'), '', 1);
456
-
457
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
458
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
459
  foreach($_description as $desc) {
@@ -472,16 +472,16 @@
472
  $backendModelSimple->afterLoad($p); //adding media gallery to the product object
473
  $datos = $p->getData();
474
  foreach ($datos['media_gallery']['images'] as $img) {
475
-
476
  if($img['disabled']==0 && $image !== $img['file']) {
477
  $inc++;
478
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
479
-
480
  }
481
  }
482
-
483
- }
484
-
485
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
486
  $xml .= $helper->tag($this->__('b_qty'), $qty);
487
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
@@ -493,7 +493,7 @@
493
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
494
  } else {
495
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
496
- }
497
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
498
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
499
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
@@ -503,7 +503,7 @@
503
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
504
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
505
  }
506
-
507
  $xml .= '</product>' . PHP_EOL;
508
  }
509
  }
@@ -513,18 +513,18 @@
513
  if($paginate['page'] == 1) {
514
  $xml .= $this->getAssociatedProducto(true);
515
  }
516
-
517
  } else {
518
  $xml .= $this->getAssociatedProducto(true);
519
  }
520
  $xml .= '</catalog>';
521
-
522
  return $xml;
523
  }
524
-
525
-
526
  /**
527
- Children permet de r�cup�rer tous les produits enfants
528
  **/
529
  public function getXmlChild($paginate = false)
530
  {
@@ -555,38 +555,38 @@
555
  ->addAttributeToFilter('level', 2)
556
  ->addAttributeToFilter('is_active', 1);
557
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
558
-
559
- }
560
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
561
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
562
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
563
-
564
  /* Build file */
565
  $xml = "\xEF\xBB\xBF";
566
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
567
-
568
  $childs = $beezup->getConfigurableProducts(false, $paginate);
569
-
570
  foreach ($childs as $c) {
571
-
572
  //r�cup�rer l'image sur le p�re
573
  $productParentIds=Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($c->getId());
574
  foreach($productParentIds as $productParentId){
575
  $productParent = Mage::getModel('catalog/product')->load($productParentId);
576
- $image=$productParent->getImage();
577
  if($category_logic == 1) {
578
  $categories = $beezup->getProductsCategories($p, $_categories);
579
  } else {
580
-
581
- $categories = $beezup->getProductsCategories2($p, $_categories);
582
  }
583
  $url = $productParent->getProductUrl();
584
  $name = $productParent->getName();
585
  $description_short = $productParent->getData("short_description");
586
  $description = $productParent->getData("description");
587
-
588
  }
589
-
590
  if(count($categories)){
591
  $qty = $beezup->getQty($c->getId());
592
  $stock = $beezup->getIsInStock($qty);
@@ -594,23 +594,23 @@
594
  $price = $c->getPrice();
595
  $final_price = $c->getFinalPrice();
596
  $image = $this->fillImageUrl($productParent, $c);
597
-
598
  $xml .= '<product>';
599
  $xml .= $helper->tag($this->__('b_unique_id'), $c->getId());
600
  $xml .= $helper->tag($this->__('b_sku'), trim($c->getSku()), 1);
601
-
602
  $xml .= $helper->tag($this->__('parent_or_child'), 'child', 1);
603
- $xml .= $helper->tag($this->__('parent_id'), $c->getParentId());
604
-
605
  $xml .= $helper->tag($this->__('b_title'), trim($name), 1);
606
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($description)), 1);
607
  $xml .= $helper->tag($this->__('b_description_short'), $description_short, 1);
608
  $xml .= $helper->tag($this->__('b_description'), $description, 1);
609
  $xml .= $helper->tag($this->__('b_product_url'), $url, 1);
610
-
611
-
612
  $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1); //r�cup�re l'image sur le p�re
613
-
614
  if($many_images == 1) {
615
  $product = Mage::getModel('catalog/product')->load( $c->getId());
616
  $inc = 1;
@@ -620,11 +620,11 @@
620
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $img->getUrl(), 1);
621
  }
622
  }
623
-
624
-
625
-
626
- }
627
-
628
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
629
  $xml .= $helper->tag($this->__('b_qty'), $qty);
630
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
@@ -636,8 +636,8 @@
636
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
637
  } else {
638
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($c->getWeight(), $_tablerates)));
639
- }
640
-
641
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($c->getWeight()));
642
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
643
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
@@ -647,23 +647,23 @@
647
  $value = $c->getResource()->getAttribute($a)->getFrontend()->getValue($c);
648
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
649
  }
650
-
651
  $xml .= '</product>' . PHP_EOL;
652
  }
653
  }
654
-
655
  $xml .= '</catalog>';
656
-
657
  return $xml;
658
  }
659
-
660
  /**
661
  Produit groupes
662
  **/
663
-
664
  public function getAssociatedProducto($configurable )
665
  {
666
-
667
  /* Load Model and Helper */
668
  $beezup = Mage::getModel('beezup/products');
669
  $helper = Mage::helper('beezup');
@@ -674,7 +674,7 @@
674
  $shipping_carrier = $helper->getConfig('beezup/flux/shipping_carrier');
675
  $default_country = $helper->getConfig('beezup/flux/default_country');
676
  }
677
-
678
  $default_shipping_cost = (int)$helper->getConfig('beezup/flux/default_shipping_cost');
679
  $many_images = $helper->getConfig('beezup/flux/images');
680
  $_ht = $helper->getConfig('beezup/flux/ht');
@@ -683,41 +683,41 @@
683
  $enable_html = $helper->getConfig('beezup/flux/description_html');
684
  $_tablerates = 0;
685
  $cat_logic = false;
686
-
687
  $_categories = $beezup->getCategoriesAsArray(Mage::helper('catalog/category')->getStoreCategories());
688
-
689
-
690
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
691
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
692
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
693
-
694
  $products = $beezup->getGroupedProduct();
695
 
696
-
697
  $buf = "\xEF\xBB\xBF";
698
  foreach ($products as $product) {
699
  $associatedProducts = $product->getTypeInstance(true)->getAssociatedProducts($product);
700
-
701
  $parentCategories = $beezup->getProductsCategories($product, $_categories);
702
- $parentDesc = $product->getData($_description);
703
  $parentId = $product->getId();
704
  $parentImage = $product->getImage();
705
  $parentUrl = $product->getProductUrl();
706
-
707
  foreach ($associatedProducts as $g) {
708
  $qty = $beezup->getQty($g->getId());
709
  $stock = $beezup->getIsInStock($qty);
710
  $shipping = $beezup->getDelivery($qty);
711
  $price = $g->getPrice();
712
  $final_price = $g->getFinalPrice();
713
-
714
  $image = $this->fillImageUrl($product, $g);
715
-
716
-
717
  //if (($image = $g->getImage()) == "no_selection" || ($image = $g->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
718
  // $image = $g->getSmallImage();
719
-
720
-
721
  //DBG
722
  if (0)
723
  {
@@ -728,8 +728,8 @@
728
  echo "Parent Id : " .$parentId ."<br/>";
729
  echo "Url : " .$parentUrl ."<br/>";
730
  echo "Image : " .$helper->getImageDir().$image ."<br/>";
731
-
732
-
733
  echo "SKU : " .$g->getSku() ."<br/>";
734
  echo "Quantity : " .$qty ."<br/>";
735
  echo "Stock : " .$stock ."<br/>";
@@ -737,27 +737,37 @@
737
  echo "price : " .$price ."<br/>";
738
  echo "finalprice : ".$final_price ."<br/>";
739
  echo "weight : " .$g->getWeight() ."<br/>";
740
-
741
  $i = 1;
742
- foreach ($parentCategories as $v)
743
- echo "Cat�gorie ".$i." : ".$v."<br/>";
744
  }
745
-
746
-
747
  $buf .= "<product>";
748
  $buf .= $helper->tag($this->__('b_unique_id'), $g->getId());
749
  $buf .= $helper->tag($this->__('b_sku'), trim($g->getSku()), 1);
750
  if ($configurable){
751
  $buf .= $helper->tag($this->__('parent_or_child'), 'grouped_child', 1);
752
- $buf .= $helper->tag($this->__('parent_id'), $parentId);
753
  }
754
  $buf .= $helper->tag($this->__('b_title'), $g->getName()/*trim($name)*/, 1);
755
- $buf .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($parentDesc)), 1);
 
 
 
 
 
 
 
 
 
 
756
  $buf .= $helper->tag($this->__('b_product_url'), $parentUrl, 1);
757
  $buf .= $helper->tag($this->__('b_product_image'), $helper->getImageDir() . $image, 1); //r�cup�re l'image sur le p�re
758
-
759
 
760
-
 
761
  $buf .= $helper->tag($this->__('b_availability'), $stock, 1);
762
  $buf .= $helper->tag($this->__('b_qty'), $qty);
763
  $buf .= $helper->tag($this->__('b_delivery'), $shipping, 1);
@@ -769,8 +779,8 @@
769
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
770
  } else {
771
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($g->getWeight(), $_tablerates)));
772
- }
773
-
774
  $buf .= $helper->tag($this->__('b_weight'), $helper->currency($g->getWeight()));
775
  $buf .= $helper->tag($this->__('b_price'), $helper->currency($final_price * $_vat));
776
  if ($price != $final_price) $buf .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
@@ -785,8 +795,8 @@
785
  }
786
  return $buf;
787
  }
788
-
789
-
790
  protected function fillImageUrl($p, $c)
791
  {
792
  $image = $c->getImage();
@@ -797,12 +807,12 @@
797
  {
798
  $image = $p->getImage();
799
  if ($image == "no_selection" || $image == "")
800
- $image = $p->getSmallImage();
801
  }
802
  }
803
  return ($image);
804
  }
805
-
806
  protected function createFile($type, $xmlData)
807
  {
808
  $fp = fopen(Mage::getBaseDir('base').'/beezup/tmp/'.$type, 'w');
@@ -813,16 +823,16 @@
813
  fwrite($fp, $xmlData);
814
  fclose($fp);
815
  }
816
-
817
  protected function deleteFeed($type)
818
  {
819
  unlink(Mage::getBaseDir('base').'/beezup/tmp/'.$type);
820
  }
821
-
822
  protected function needRefreshing($type)
823
  {
824
  $helper = Mage::helper('beezup');
825
-
826
  $delay = $helper->getConfig('beezup/flux/cachedelay') * 60;
827
  $nowtime = time();
828
  $fileTime = filemtime(Mage::getBaseDir('base').'/beezup/tmp/'.$type);
@@ -831,7 +841,7 @@
831
  else
832
  return (false);
833
  }
834
-
835
  protected function createFolder()
836
  {
837
  $helper = Mage::helper('beezup');
@@ -841,22 +851,22 @@
841
  return (true);
842
  if (!mkdir('beezup/tmp', 0777, true))
843
  {
844
- echo "[ERROR] : Seems we can't create 'beezup' directory inside your root directory."."<br/>"
845
- ."You can try one of these solutions :"."<br/>"
846
  ."1 - Create by yourself the beezup/tmp inside your root directory with 777 permissions"."<br/>"
847
  ."2 - Change the permissions on your root directory (777)"."<br/>"
848
- ."3 - Change the 'cache delay' option to 'None' inside beezup plugin settings"."<br/>";
849
  return (false);
850
  }
851
  return (true);
852
  }
853
-
854
-
855
-
856
  /**
857
  C'est ici que tout commence ...
858
  **/
859
-
860
  protected function _toHtml()
861
  {
862
  set_time_limit(0);
@@ -908,4 +918,3 @@
908
  return parent::_toHtml();
909
  }
910
  }
911
-
1
  <?php
2
  ini_set('memory_limit','1024M');
3
+
4
  class BeezUp_Block_Xml extends Mage_Core_Block_Text
5
  {
6
  /**
7
+ Xml permet de r�cup�rer tous les produits simples
8
  **/
9
  public function getXml($paginate = false)
10
  {
11
+
12
  $base_url = Mage::getBaseUrl();
13
  /* Load Model and Helper */
14
  $beezup = Mage::getModel('beezup/products');
15
  $helper = Mage::helper('beezup');
16
  $category_logic = $helper->getConfig('beezup/flux/category_logic');
17
  /* Initially load the useful elements */
18
+
19
  $shipping_logic = $helper->getConfig('beezup/flux/carrier_method');
20
  if($shipping_logic == 1) {
21
  $shipping_carrier = $helper->getConfig('beezup/flux/shipping_carrier');
22
  $default_country = $helper->getConfig('beezup/flux/default_country');
23
  }
24
+
25
  $default_shipping_cost = (int)$helper->getConfig('beezup/flux/default_shipping_cost');
26
  $many_images = $helper->getConfig('beezup/flux/images');
27
  $_ht = $helper->getConfig('beezup/flux/ht');
39
  ->addAttributeToFilter('level', 2)
40
  ->addAttributeToFilter('is_active', 1);
41
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
42
+
43
+ }
44
+
45
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
46
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
47
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
48
  /* Build file */
49
  $xml = "\xEF\xBB\xBF";
50
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
51
+
52
  $products = $beezup->getProducts(false, $paginate);
53
  if($many_images == 1) {
54
  $backendModel = $products->getResource()->getAttribute('media_gallery')->getBackend();
55
  }
56
+
57
  //$productModel = Mage::getModel('catalog/product');
58
  foreach ($products as $p) {
59
  if($category_logic == 1) {
60
  $categories = $beezup->getProductsCategories($p, $_categories);
61
  } else {
62
+
63
+ $categories = $beezup->getProductsCategories2($p, $_categories);
64
  }
65
+
66
  if (count($categories)) {
67
  $qty = $beezup->getQty($p->getId());
68
  $stock = $beezup->getIsInStock($qty);
71
  $final_price = $p->getFinalPrice();
72
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
73
  $image = $p->getSmallImage();
74
+
75
+
76
  //$precio = Mage::getModel('catalogrule/rule')->calcProductPriceRule($p,$p->getPrice());
77
+
78
+
79
  $xml .= '<product>';
80
  // $productModel->load($p->getId());
81
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
82
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
83
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
84
  // $xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
85
+
86
  foreach($_description as $desc) {
87
  if($enable_html == 1) {
88
  $xml .= $helper->tag($this->__('b_'.$desc), $p->getData($desc), 1);
90
  $xml .= $helper->tag($this->__('b_'.$desc), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($desc))), 1);
91
  }
92
  }
93
+
94
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
95
  $special_price = $p->getSpecialPrice();
96
  if(!empty($special_price) && $special_price > 0) {
99
  $final_price = $p->getSpecialPrice();
100
  //$xml .= $helper->tag($this->__('precio'), $p->getSpecialPrice(), 1);
101
  }
102
+ }
103
+
104
+
105
+
106
+
107
+ $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
108
  if($many_images == 1) {
109
  $inc = 1;
110
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
112
  $backendModel->afterLoad($p); //adding media gallery to the product object
113
  $datos = $p->getData();
114
  foreach ($datos['media_gallery']['images'] as $img) {
115
+
116
  if($img['disabled']==0 && $image !== $img['file']) {
117
  $inc++;
118
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
119
+
120
  }
121
  }
122
+
123
+ }
124
+
125
+
126
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
127
  $xml .= $helper->tag($this->__('b_qty'), $qty);
128
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
129
+
130
  if($shipping_logic == 1) {
131
  $shipping_rate = $beezup->_getShippingPrice($p, $shipping_carrier, $default_country);
132
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
136
  } else {
137
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
138
  }
139
+
140
+
141
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
142
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
143
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
147
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
148
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
149
  }
150
+
151
  $xml .= '</product>' . PHP_EOL;
152
  }
153
  }
155
  if($paginate['page'] == 1) {
156
  $xml .= $this->getAssociatedProducto(false);
157
  }
158
+
159
  } else {
160
  $xml .= $this->getAssociatedProducto(false);
161
  }
162
+
163
  $xml .= '</catalog>';
164
+
165
  return $xml;
166
  }
167
+
168
  /**
169
  Configurable permet de r�cup�rer tous les produits (p�re, enfant et simple)
170
  **/
171
  public function getXmlConfigurable($paginate = false)
172
+ {
173
  $base_url = Mage::getBaseUrl();
174
  /* Load Model and Helper */
175
  $beezup = Mage::getModel('beezup/products');
198
  ->addAttributeToFilter('level', 2)
199
  ->addAttributeToFilter('is_active', 1);
200
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
201
+
202
+ }
203
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
204
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
205
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
206
+
207
  /* Build file */
208
  $xml = "\xEF\xBB\xBF";
209
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
210
+
211
  //r�cup�re tous les produits
212
  $products = $beezup->getProducts(false, $paginate);
213
  $childs = $beezup->getConfigurableProducts(true);
214
  $backendModel = $products->getResource()->getAttribute('media_gallery')->getBackend();
215
  $products->addAttributeToFilter('type_id', Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE);
216
+
217
+
218
  $mediaBackend = Mage::getModel('catalog/product_attribute_backend_media');
219
  $mediaGalleryAttribute = Mage::getModel('eav/config')->getAttribute(Mage::getModel('catalog/product')->getResource()->getTypeId(), 'media_gallery');
220
  $mediaBackend->setAttribute($mediaGalleryAttribute);
221
+
222
  //parcours les produits
223
  foreach ($products as $p) {
224
+
225
  if($many_images == 1) {
226
  $backendModel->afterLoad($p); //adding media gallery to the product object
227
  $datos = $p->getData();
228
+
229
  }
230
  if($category_logic == 1) {
231
  $categories = $beezup->getProductsCategories($p, $_categories);
232
  } else {
233
+
234
+ $categories = $beezup->getProductsCategories2($p, $_categories);
235
  }
236
  // $varationTheme = $beezup->getOptions($p);
237
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
238
+
239
  if (count($categories)) {
240
  //si l'�l�ment est un p�re, on va traiter ces enfants
241
+ if(isset($childs[$p->getId()])) {
242
  $childrens = $childs[$p->getId()];
243
+
244
  foreach($childrens as $c) {
245
  $qty = $beezup->getQty($c->getId());
246
  $stock = $beezup->getIsInStock($qty);
248
  $price = $c->getPrice();
249
  $final_price = $c->getFinalPrice();
250
  $image = $this->fillImageUrl($p, $c);
251
+
252
  //DBG
253
  if (0)
254
  {
258
  echo "Parent Id : " .$p->getId() ."<br/>";
259
  echo "Url : " .$p->getProductUrl() ."<br/>";
260
  echo "Image : " .$helper->getImageDir().$image ."<br/>";
261
+
262
+
263
  echo "SKU : " .$c->getSku() ."<br/>";
264
  echo "Quantity : " .$qty ."<br/>";
265
  echo "Stock : " .$stock ."<br/>";
268
  // echo "finalprice : ".$final_price ."<br/>";
269
  echo "specialprice : ".$c->getSpecialPrice() ."<br/>";
270
  }
271
+
272
+
273
  $xml .= '<product>';
274
  $xml .= $helper->tag($this->__('b_unique_id'), $c->getId());
275
  $xml .= $helper->tag($this->__('b_sku'), trim($c->getSku()), 1);
276
+
277
  $xml .= $helper->tag($this->__('parent_or_child'), 'child', 1);
278
  $xml .= $helper->tag($this->__('parent_id'), $p->getId());
279
  //$xml .= $helper->tag($this->__('variation-theme'), $varationTheme, 1);
280
+
281
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
282
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
283
  foreach($_description as $desc) {
287
  $xml .= $helper->tag($this->__('b_'.$desc), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($desc))), 1);
288
  }
289
  }
290
+
291
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
292
+
293
  $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
294
  $mediaBackend->afterLoad($c);
295
+
296
+
297
  if($many_images==1) {
298
  $cDatos = $c->getData();
299
  $inc = 1;
300
  foreach ($cDatos['media_gallery']['images'] as $img) {
301
+
302
  if($img['disabled']==0 && $image !== $img['file']) {
303
  $inc++;
304
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
305
+
306
  }
307
  }
308
+
309
+
310
  if($inc==1 && ($c->getImage() == "no_selection" || $c->getImage()=="" || $c->getSmallImage() == "no_selection" || $c->getSmallImage() == "")) { //if there are no child pictures
311
+
312
  foreach ($datos['media_gallery']['images'] as $img) {
313
+
314
  if($img['disabled']==0 && $image !== $img['file']) {
315
  $inc++;
316
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
317
+
318
  }
319
  }
320
+
321
  }
322
+ }
323
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
324
  $xml .= $helper->tag($this->__('b_qty'), $qty);
325
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
326
+
327
  if($shipping_logic == 1) {
328
  $shipping_rate = $beezup->_getShippingPrice($c, $shipping_carrier, $default_country);
329
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
332
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
333
  } else {
334
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($c->getWeight(), $_tablerates)));
335
+ }
336
+
337
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($c->getWeight()));
338
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
339
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
340
  $i = 1;
341
+
342
+
343
  foreach ($categories as $v) $xml .= $helper->tag($this->__('b_category_%s', $i++), $v, 1);
344
  foreach ($_attributes as $a) {
345
  $value = $c->getResource()->getAttribute($a)->getFrontend()->getValue($c);
346
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
347
  }
348
  $xml .= '</product>' . PHP_EOL;
349
+
350
  }
351
+
352
  $qty = $beezup->getQty($p->getId());
353
  $stock = $beezup->getIsInStock($qty);
354
  $shipping = $beezup->getDelivery($qty);
356
  $final_price = $p->getFinalPrice();
357
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
358
  $image = $p->getSmallImage();
359
+
360
+
361
  // si c'est un �l�ment parent
362
  $xml .= '<product>';
363
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
364
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
365
+
366
  $xml .= $helper->tag($this->__('parent_or_child'), 'parent', 1);
367
  $xml .= $helper->tag($this->__('parent_id'), '');
368
  // $xml .= $helper->tag($this->__('variation-theme'), $varationTheme, 1);
369
+
370
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
371
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
372
  foreach($_description as $desc) {
377
  }
378
  }
379
  $xml .= $helper->tag($this->__('b_product_url'), $p->getProductUrl(), 1);
380
+ $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1);
381
  if($many_images == 1) {
382
  $inc = 1;
383
  //we get product object from catalog/product reason(beezup/products gets products from catalog/product_collection, didn't find the way to get image collection from there *will check)
384
  //$product = Mage::getModel('catalog/product')->load( $p->getId());
385
+
386
  foreach ($datos['media_gallery']['images'] as $img) {
387
+
388
  if($img['disabled']==0 && $image !== $img['file']) {
389
  $inc++;
390
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
391
+
392
  }
393
  }
394
+
395
+ }
396
+
397
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
398
  $xml .= $helper->tag($this->__('b_qty'), $qty);
399
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
400
+
401
  if($shipping_logic == 1) {
402
  $shipping_rate = $beezup->_getShippingPrice($p, $shipping_carrier, $default_country);
403
  if($shipping_rate == 0 && $default_shipping_cost > 0) {
406
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
407
  } else {
408
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
409
+ }
410
+
411
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
412
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
413
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
417
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
418
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
419
  }
420
+
421
  $xml .= '</product>' . PHP_EOL;
422
  }
423
  }
426
  $product_simple = $beezup->getProductsSimple();
427
  $backendModelSimple = $product_simple->getResource()->getAttribute('media_gallery')->getBackend();
428
  foreach ($product_simple as $p) {
429
+
430
+ $prodAttributeSet = Mage::getModel('eav/entity_attribute_set')->load($p->getAttributeSetId())->getAttributeSetName();
431
+
432
  if($category_logic == 1) {
433
  $categories = $beezup->getProductsCategories($p, $_categories);
434
  } else {
435
+
436
+ $categories = $beezup->getProductsCategories2($p, $_categories);
437
  }
438
+
439
  if (count($categories)) {
440
  $qty = $beezup->getQty($p->getId());
441
  $stock = $beezup->getIsInStock($qty);
444
  $final_price = $p->getFinalPrice();
445
  if (($image = $p->getImage()) == "no_selection" || ($image = $p->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
446
  $image = $p->getSmallImage();
447
+
448
+
449
  $xml .= '<product>';
450
  $xml .= $helper->tag($this->__('b_unique_id'), $p->getId());
451
  $xml .= $helper->tag($this->__('b_sku'), trim($p->getSku()), 1);
452
+
453
  $xml .= $helper->tag($this->__('parent_or_child'), 'simple', 1);
454
  $xml .= $helper->tag($this->__('parent_id'), '');
455
  $xml .= $helper->tag($this->__('variation-theme'), '', 1);
456
+
457
  $xml .= $helper->tag($this->__('b_title'), trim($p->getName()), 1);
458
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($p->getData($_description))), 1);
459
  foreach($_description as $desc) {
472
  $backendModelSimple->afterLoad($p); //adding media gallery to the product object
473
  $datos = $p->getData();
474
  foreach ($datos['media_gallery']['images'] as $img) {
475
+
476
  if($img['disabled']==0 && $image !== $img['file']) {
477
  $inc++;
478
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $helper->getImageDir() .$img['file'], 1);
479
+
480
  }
481
  }
482
+
483
+ }
484
+
485
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
486
  $xml .= $helper->tag($this->__('b_qty'), $qty);
487
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
493
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
494
  } else {
495
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($p->getWeight(), $_tablerates)));
496
+ }
497
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($p->getWeight()));
498
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
499
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
503
  $value = $p->getResource()->getAttribute($a)->getFrontend()->getValue($p);
504
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
505
  }
506
+
507
  $xml .= '</product>' . PHP_EOL;
508
  }
509
  }
513
  if($paginate['page'] == 1) {
514
  $xml .= $this->getAssociatedProducto(true);
515
  }
516
+
517
  } else {
518
  $xml .= $this->getAssociatedProducto(true);
519
  }
520
  $xml .= '</catalog>';
521
+
522
  return $xml;
523
  }
524
+
525
+
526
  /**
527
+ Children permet de r�cup�rer tous les produits enfants
528
  **/
529
  public function getXmlChild($paginate = false)
530
  {
555
  ->addAttributeToFilter('level', 2)
556
  ->addAttributeToFilter('is_active', 1);
557
  $_categories = $beezup->getCategoriesAsArray( $categories, true);
558
+
559
+ }
560
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
561
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
562
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
563
+
564
  /* Build file */
565
  $xml = "\xEF\xBB\xBF";
566
  $xml .= '<?xml version="1.0" encoding="utf-8"?>' . PHP_EOL . '<catalog>' . PHP_EOL;
567
+
568
  $childs = $beezup->getConfigurableProducts(false, $paginate);
569
+
570
  foreach ($childs as $c) {
571
+
572
  //r�cup�rer l'image sur le p�re
573
  $productParentIds=Mage::getResourceSingleton('catalog/product_type_configurable')->getParentIdsByChild($c->getId());
574
  foreach($productParentIds as $productParentId){
575
  $productParent = Mage::getModel('catalog/product')->load($productParentId);
576
+ $image=$productParent->getImage();
577
  if($category_logic == 1) {
578
  $categories = $beezup->getProductsCategories($p, $_categories);
579
  } else {
580
+
581
+ $categories = $beezup->getProductsCategories2($p, $_categories);
582
  }
583
  $url = $productParent->getProductUrl();
584
  $name = $productParent->getName();
585
  $description_short = $productParent->getData("short_description");
586
  $description = $productParent->getData("description");
587
+
588
  }
589
+
590
  if(count($categories)){
591
  $qty = $beezup->getQty($c->getId());
592
  $stock = $beezup->getIsInStock($qty);
594
  $price = $c->getPrice();
595
  $final_price = $c->getFinalPrice();
596
  $image = $this->fillImageUrl($productParent, $c);
597
+
598
  $xml .= '<product>';
599
  $xml .= $helper->tag($this->__('b_unique_id'), $c->getId());
600
  $xml .= $helper->tag($this->__('b_sku'), trim($c->getSku()), 1);
601
+
602
  $xml .= $helper->tag($this->__('parent_or_child'), 'child', 1);
603
+ $xml .= $helper->tag($this->__('parent_id'), $c->getParentId());
604
+
605
  $xml .= $helper->tag($this->__('b_title'), trim($name), 1);
606
  //$xml .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($description)), 1);
607
  $xml .= $helper->tag($this->__('b_description_short'), $description_short, 1);
608
  $xml .= $helper->tag($this->__('b_description'), $description, 1);
609
  $xml .= $helper->tag($this->__('b_product_url'), $url, 1);
610
+
611
+
612
  $xml .= $helper->tag($this->__('url_image'), $helper->getImageDir() . $image, 1); //r�cup�re l'image sur le p�re
613
+
614
  if($many_images == 1) {
615
  $product = Mage::getModel('catalog/product')->load( $c->getId());
616
  $inc = 1;
620
  $xml .= $helper->tag($this->__('url_image')."_".$inc, $img->getUrl(), 1);
621
  }
622
  }
623
+
624
+
625
+
626
+ }
627
+
628
  $xml .= $helper->tag($this->__('b_availability'), $stock, 1);
629
  $xml .= $helper->tag($this->__('b_qty'), $qty);
630
  $xml .= $helper->tag($this->__('b_delivery'), $shipping, 1);
636
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
637
  } else {
638
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($c->getWeight(), $_tablerates)));
639
+ }
640
+
641
  $xml .= $helper->tag($this->__('b_weight'), $helper->currency($c->getWeight()));
642
  $xml .= $helper->tag($this->__('b_price'), $helper->currency($final_price*$_vat));
643
  if ($price != $final_price) $xml .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
647
  $value = $c->getResource()->getAttribute($a)->getFrontend()->getValue($c);
648
  $xml .= $helper->tag($a, is_float($value) ? $helper->currency($value) : $value, is_float($value) ? 0 : 1);
649
  }
650
+
651
  $xml .= '</product>' . PHP_EOL;
652
  }
653
  }
654
+
655
  $xml .= '</catalog>';
656
+
657
  return $xml;
658
  }
659
+
660
  /**
661
  Produit groupes
662
  **/
663
+
664
  public function getAssociatedProducto($configurable )
665
  {
666
+
667
  /* Load Model and Helper */
668
  $beezup = Mage::getModel('beezup/products');
669
  $helper = Mage::helper('beezup');
674
  $shipping_carrier = $helper->getConfig('beezup/flux/shipping_carrier');
675
  $default_country = $helper->getConfig('beezup/flux/default_country');
676
  }
677
+
678
  $default_shipping_cost = (int)$helper->getConfig('beezup/flux/default_shipping_cost');
679
  $many_images = $helper->getConfig('beezup/flux/images');
680
  $_ht = $helper->getConfig('beezup/flux/ht');
683
  $enable_html = $helper->getConfig('beezup/flux/description_html');
684
  $_tablerates = 0;
685
  $cat_logic = false;
686
+
687
  $_categories = $beezup->getCategoriesAsArray(Mage::helper('catalog/category')->getStoreCategories());
688
+
689
+
690
  $_vat = ($_ht && is_numeric($helper->getConfig('beezup/flux/vat'))) ? (preg_replace('(\,+)', '.', $helper->getConfig('beezup/flux/vat')) / 100) + 1 : 1;
691
  $_attributes = $helper->getConfig('beezup/flux/attributes') ? explode(',', $helper->getConfig('beezup/flux/attributes')) : array();
692
  // $_catalog_rules = $helper->getConfig('beezup/flux/catalog_rules');
693
+
694
  $products = $beezup->getGroupedProduct();
695
 
696
+
697
  $buf = "\xEF\xBB\xBF";
698
  foreach ($products as $product) {
699
  $associatedProducts = $product->getTypeInstance(true)->getAssociatedProducts($product);
700
+
701
  $parentCategories = $beezup->getProductsCategories($product, $_categories);
702
+ //$parentDesc = $product->getData($_description);
703
  $parentId = $product->getId();
704
  $parentImage = $product->getImage();
705
  $parentUrl = $product->getProductUrl();
706
+
707
  foreach ($associatedProducts as $g) {
708
  $qty = $beezup->getQty($g->getId());
709
  $stock = $beezup->getIsInStock($qty);
710
  $shipping = $beezup->getDelivery($qty);
711
  $price = $g->getPrice();
712
  $final_price = $g->getFinalPrice();
713
+
714
  $image = $this->fillImageUrl($product, $g);
715
+
716
+
717
  //if (($image = $g->getImage()) == "no_selection" || ($image = $g->getImage()) == "") // Si on ne trouve pas d'image avec getImage on r�cup�re la smallImage
718
  // $image = $g->getSmallImage();
719
+
720
+
721
  //DBG
722
  if (0)
723
  {
728
  echo "Parent Id : " .$parentId ."<br/>";
729
  echo "Url : " .$parentUrl ."<br/>";
730
  echo "Image : " .$helper->getImageDir().$image ."<br/>";
731
+
732
+
733
  echo "SKU : " .$g->getSku() ."<br/>";
734
  echo "Quantity : " .$qty ."<br/>";
735
  echo "Stock : " .$stock ."<br/>";
737
  echo "price : " .$price ."<br/>";
738
  echo "finalprice : ".$final_price ."<br/>";
739
  echo "weight : " .$g->getWeight() ."<br/>";
740
+
741
  $i = 1;
742
+ foreach ($parentCategories as $v)
743
+ echo "Cat�gorie ".$i." : ".$v."<br/>";
744
  }
745
+
746
+
747
  $buf .= "<product>";
748
  $buf .= $helper->tag($this->__('b_unique_id'), $g->getId());
749
  $buf .= $helper->tag($this->__('b_sku'), trim($g->getSku()), 1);
750
  if ($configurable){
751
  $buf .= $helper->tag($this->__('parent_or_child'), 'grouped_child', 1);
752
+ $buf .= $helper->tag($this->__('parent_id'), $parentId);
753
  }
754
  $buf .= $helper->tag($this->__('b_title'), $g->getName()/*trim($name)*/, 1);
755
+ //$buf .= $helper->tag($this->__('b_description'), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($parentDesc)), 1);
756
+
757
+ foreach($_description as $desc) {
758
+ if($enable_html == 1) {
759
+ $buf .= $helper->tag($this->__('b_'.$desc), $product->getData($desc), 1);
760
+ } else {
761
+ $buf .= $helper->tag($this->__('b_'.$desc), preg_replace("/(\r\n|\n|\r)/", ' ', strip_tags($product->getData($desc))), 1);
762
+ }
763
+ }
764
+
765
+
766
  $buf .= $helper->tag($this->__('b_product_url'), $parentUrl, 1);
767
  $buf .= $helper->tag($this->__('b_product_image'), $helper->getImageDir() . $image, 1); //r�cup�re l'image sur le p�re
 
768
 
769
+
770
+
771
  $buf .= $helper->tag($this->__('b_availability'), $stock, 1);
772
  $buf .= $helper->tag($this->__('b_qty'), $qty);
773
  $buf .= $helper->tag($this->__('b_delivery'), $shipping, 1);
779
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($shipping_rate));
780
  } else {
781
  $xml .= $helper->tag($this->__('b_shipping'), $helper->currency($beezup->getShippingAmount($g->getWeight(), $_tablerates)));
782
+ }
783
+
784
  $buf .= $helper->tag($this->__('b_weight'), $helper->currency($g->getWeight()));
785
  $buf .= $helper->tag($this->__('b_price'), $helper->currency($final_price * $_vat));
786
  if ($price != $final_price) $buf .= $helper->tag($this->__('b_regular_price'), $helper->currency($price*$_vat));
795
  }
796
  return $buf;
797
  }
798
+
799
+
800
  protected function fillImageUrl($p, $c)
801
  {
802
  $image = $c->getImage();
807
  {
808
  $image = $p->getImage();
809
  if ($image == "no_selection" || $image == "")
810
+ $image = $p->getSmallImage();
811
  }
812
  }
813
  return ($image);
814
  }
815
+
816
  protected function createFile($type, $xmlData)
817
  {
818
  $fp = fopen(Mage::getBaseDir('base').'/beezup/tmp/'.$type, 'w');
823
  fwrite($fp, $xmlData);
824
  fclose($fp);
825
  }
826
+
827
  protected function deleteFeed($type)
828
  {
829
  unlink(Mage::getBaseDir('base').'/beezup/tmp/'.$type);
830
  }
831
+
832
  protected function needRefreshing($type)
833
  {
834
  $helper = Mage::helper('beezup');
835
+
836
  $delay = $helper->getConfig('beezup/flux/cachedelay') * 60;
837
  $nowtime = time();
838
  $fileTime = filemtime(Mage::getBaseDir('base').'/beezup/tmp/'.$type);
841
  else
842
  return (false);
843
  }
844
+
845
  protected function createFolder()
846
  {
847
  $helper = Mage::helper('beezup');
851
  return (true);
852
  if (!mkdir('beezup/tmp', 0777, true))
853
  {
854
+ echo "[ERROR] : Seems we can't create 'beezup' directory inside your root directory."."<br/>"
855
+ ."You can try one of these solutions :"."<br/>"
856
  ."1 - Create by yourself the beezup/tmp inside your root directory with 777 permissions"."<br/>"
857
  ."2 - Change the permissions on your root directory (777)"."<br/>"
858
+ ."3 - Change the 'cache delay' option to 'None' inside beezup plugin settings"."<br/>";
859
  return (false);
860
  }
861
  return (true);
862
  }
863
+
864
+
865
+
866
  /**
867
  C'est ici que tout commence ...
868
  **/
869
+
870
  protected function _toHtml()
871
  {
872
  set_time_limit(0);
918
  return parent::_toHtml();
919
  }
920
  }
 
app/code/community/BeezUp/Model/Products.php CHANGED
@@ -80,7 +80,11 @@
80
  {
81
  $products = Mage::getModel('catalog/product')
82
  ->getCollection()
83
- ->addAttributeToSelect(Mage::getStoreConfig('beezup/flux/description'))
 
 
 
 
84
  ->addAttributeToSelect('small_image')
85
  ->addAttributeToSelect('image')
86
  ->addAttributeToFilter('type_id', array('eq' => 'grouped'));
80
  {
81
  $products = Mage::getModel('catalog/product')
82
  ->getCollection()
83
+ ->addAttributeToSelect("description")
84
+ ->addAttributeToSelect("short_description")
85
+ ->addAttributeToSelect("meta_description")
86
+ ->addAttributeToSelect("meta_title")
87
+ ->addAttributeToSelect("meta_keyword")
88
  ->addAttributeToSelect('small_image')
89
  ->addAttributeToSelect('image')
90
  ->addAttributeToFilter('type_id', array('eq' => 'grouped'));
app/code/community/BeezUp/etc/config.xml CHANGED
@@ -2,12 +2,12 @@
2
  <config>
3
  <modules>
4
  <BeezUp>
5
- <version>4.6.5</version>
6
  </BeezUp>
7
  </modules>
8
  <global>
9
-
10
-
11
  <resources>
12
  <beezup_setup>
13
  <setup>
@@ -17,25 +17,25 @@
17
  <connection>
18
  <use>core_setup</use>
19
  </connection>
20
- </beezup_setup>
21
-
22
  </resources>
23
 
24
  <blocks>
25
-
26
-
27
  <beezup>
28
  <class>BeezUp_Block</class>
29
  </beezup>
30
-
31
  <adminhtml>
32
  <rewrite>
33
-
34
  <sales_order_totals>BeezUp_Block_Adminhtml_Sales_Order_Totals</sales_order_totals>
35
  <sales_order_invoice_totals>BeezUp_Block_Adminhtml_Sales_Order_Invoice_Totals</sales_order_invoice_totals>
36
 
37
 
38
-
39
  </rewrite>
40
  </adminhtml>
41
 
@@ -51,7 +51,7 @@
51
  <carrier_flatrate>BeezUp_Model_Flatrate</carrier_flatrate>
52
  </rewrite>
53
  </shipping>
54
-
55
  <beezup>
56
  <class>BeezUp_Model</class>
57
  </beezup>
@@ -62,10 +62,10 @@
62
  </beezup>
63
  </helpers>
64
  </global>
65
-
66
 
67
-
68
-
 
69
  <frontend>
70
  <routers>
71
  <beezup>
@@ -117,7 +117,7 @@
117
  <acl>
118
  <resources>
119
 
120
-
121
  <admin>
122
  <children>
123
  <system>
@@ -146,7 +146,7 @@
146
  </translate>
147
  </adminhtml>
148
  <default>
149
-
150
  <beezup>
151
 
152
  <tracking>
@@ -175,16 +175,16 @@
175
  <key></key>
176
  <ip></ip>
177
  <images></images>
178
-
179
  </flux>
180
  </beezup>
181
  </default>
182
-
183
-
184
  <admin>
185
  <routers>
186
  <adminhtml>
187
- <use>admin</use>
188
  <args>
189
  <modules>
190
  <BeezUp before="Mage_Adminhtml">BeezUp</BeezUp>
@@ -193,7 +193,7 @@
193
  </adminhtml>
194
  </routers>
195
  </admin>
196
-
197
-
198
-
199
  </config>
2
  <config>
3
  <modules>
4
  <BeezUp>
5
+ <version>4.6.6</version>
6
  </BeezUp>
7
  </modules>
8
  <global>
9
+
10
+
11
  <resources>
12
  <beezup_setup>
13
  <setup>
17
  <connection>
18
  <use>core_setup</use>
19
  </connection>
20
+ </beezup_setup>
21
+
22
  </resources>
23
 
24
  <blocks>
25
+
26
+
27
  <beezup>
28
  <class>BeezUp_Block</class>
29
  </beezup>
30
+
31
  <adminhtml>
32
  <rewrite>
33
+
34
  <sales_order_totals>BeezUp_Block_Adminhtml_Sales_Order_Totals</sales_order_totals>
35
  <sales_order_invoice_totals>BeezUp_Block_Adminhtml_Sales_Order_Invoice_Totals</sales_order_invoice_totals>
36
 
37
 
38
+
39
  </rewrite>
40
  </adminhtml>
41
 
51
  <carrier_flatrate>BeezUp_Model_Flatrate</carrier_flatrate>
52
  </rewrite>
53
  </shipping>
54
+
55
  <beezup>
56
  <class>BeezUp_Model</class>
57
  </beezup>
62
  </beezup>
63
  </helpers>
64
  </global>
 
65
 
66
+
67
+
68
+
69
  <frontend>
70
  <routers>
71
  <beezup>
117
  <acl>
118
  <resources>
119
 
120
+
121
  <admin>
122
  <children>
123
  <system>
146
  </translate>
147
  </adminhtml>
148
  <default>
149
+
150
  <beezup>
151
 
152
  <tracking>
175
  <key></key>
176
  <ip></ip>
177
  <images></images>
178
+
179
  </flux>
180
  </beezup>
181
  </default>
182
+
183
+
184
  <admin>
185
  <routers>
186
  <adminhtml>
187
+ <use>admin</use>
188
  <args>
189
  <modules>
190
  <BeezUp before="Mage_Adminhtml">BeezUp</BeezUp>
193
  </adminhtml>
194
  </routers>
195
  </admin>
196
+
197
+
198
+
199
  </config>
app/code/community/BeezUp/etc/system.xml CHANGED
@@ -1,7 +1,7 @@
1
  <config>
2
  <sections>
3
-
4
-
5
  <beezup translate="label" module="beezup">
6
  <label>BeezUP</label>
7
  <tab>catalog</tab>
@@ -13,7 +13,7 @@
13
  <tracking translate="label">
14
  <label>Tracking</label>
15
  <frontend_type>text</frontend_type>
16
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP V4.6.5) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
17
  <sort_order>1</sort_order>
18
  <show_in_default>1</show_in_default>
19
  <show_in_website>1</show_in_website>
@@ -69,21 +69,21 @@
69
  </fields>
70
  </tracking>
71
  </groups>
72
-
73
-
74
-
75
-
76
  <groups>
77
  <marketplace tanslate="label">
78
  <label>Marketplace</label>
79
  <frontend_type>text</frontend_type>
80
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP V4.6.5) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
81
  <sort_order>2</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
  <show_in_store>1</show_in_store>
85
  <fields>
86
-
87
  <api_credentials translate="comment">
88
  <label>BeezUP API Credentials:</label>
89
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -92,7 +92,7 @@
92
  <show_in_website>1</show_in_website>
93
  <show_in_store>1</show_in_store>
94
  </api_credentials>
95
-
96
  <connection_status translate="label">
97
  <label>API BeezUP Connection status:</label>
98
  <frontend_type>text</frontend_type>
@@ -102,8 +102,8 @@
102
  <show_in_default>1</show_in_default>
103
  <show_in_website>1</show_in_website>
104
  <show_in_store>1</show_in_store>
105
- </connection_status>
106
-
107
  <sync_status translate="label">
108
  <label>Sync Status:</label>
109
  <frontend_type>text</frontend_type>
@@ -112,9 +112,9 @@
112
  <show_in_default>1</show_in_default>
113
  <show_in_website>1</show_in_website>
114
  <show_in_store>1</show_in_store>
115
- </sync_status>
116
-
117
-
118
  <syncro_time translate="label">
119
  <label>Last synchronization time :</label>
120
  <frontend_type>text</frontend_type>
@@ -124,34 +124,34 @@
124
  <show_in_default>1</show_in_default>
125
  <show_in_website>1</show_in_website>
126
  <show_in_store>1</show_in_store>
127
- </syncro_time>
128
-
129
-
130
  <cron_url translate="label">
131
  <label>Manual orders retrieval link:</label>
132
  <frontend_type>text</frontend_type>
133
  <frontend_model>beezup/adminhtml_system_config_manualcron</frontend_model>
134
-
135
  <sort_order>4</sort_order>
136
  <show_in_default>1</show_in_default>
137
  <show_in_website>1</show_in_website>
138
  <show_in_store>1</show_in_store>
139
  <depends><connection_status>1</connection_status></depends>
140
- </cron_url>
141
-
142
  <cron_call translate="label">
143
  <label>Cron Call</label>
144
  <frontend_type>text</frontend_type>
145
  <frontend_model>beezup/adminhtml_system_config_cron</frontend_model>
146
-
147
  <sort_order>5</sort_order>
148
  <show_in_default>1</show_in_default>
149
  <show_in_website>1</show_in_website>
150
  <show_in_store>1</show_in_store>
151
  <depends><connection_status>1</connection_status></depends>
152
- </cron_call>
153
-
154
-
155
  <userid translate="label">
156
  <label>User Id</label>
157
  <frontend_type>text</frontend_type>
@@ -170,23 +170,23 @@
170
  <show_in_website>1</show_in_website>
171
  <show_in_store>1</show_in_store>
172
  </usertoken>
173
-
174
  <order_link translate="label">
175
  <label>Synchronize a specific order</label>
176
  <frontend_type>text</frontend_type>
177
  <frontend_model>beezup/adminhtml_system_config_orderlink</frontend_model>
178
-
179
  <sort_order>8</sort_order>
180
  <show_in_default>1</show_in_default>
181
  <show_in_website>1</show_in_website>
182
  <show_in_store>1</show_in_store>
183
  <depends><connection_status>1</connection_status></depends>
184
- </order_link>
185
-
186
-
187
-
188
-
189
-
190
  <status_mapping translate="comment">
191
  <label>BeezUP API Status mapping :</label>
192
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -195,8 +195,8 @@
195
  <show_in_website>1</show_in_website>
196
  <show_in_store>1</show_in_store>
197
  </status_mapping>
198
-
199
-
200
  <status_new translate="comment">
201
  <label>New (New) </label>
202
  <frontend_type>select</frontend_type>
@@ -206,10 +206,10 @@
206
  <show_in_website>1</show_in_website>
207
  <show_in_store>1</show_in_store>
208
  <comment></comment>
209
-
210
  </status_new>
211
-
212
-
213
  <status_progress translate="comment">
214
  <label>In progress (InProgress)</label>
215
  <frontend_type>select</frontend_type>
@@ -219,10 +219,10 @@
219
  <show_in_website>1</show_in_website>
220
  <show_in_store>1</show_in_store>
221
  <comment></comment>
222
-
223
  </status_progress>
224
-
225
-
226
  <status_cancelled translate="comment">
227
  <label>Cancelled (Canceled)</label>
228
  <frontend_type>select</frontend_type>
@@ -232,9 +232,9 @@
232
  <show_in_website>1</show_in_website>
233
  <show_in_store>1</show_in_store>
234
  <comment></comment>
235
-
236
  </status_cancelled>
237
-
238
  <status_shipped translate="comment">
239
  <label>Shipped (Shipped)</label>
240
  <frontend_type>select</frontend_type>
@@ -244,9 +244,9 @@
244
  <show_in_website>1</show_in_website>
245
  <show_in_store>1</show_in_store>
246
  <comment></comment>
247
-
248
  </status_shipped>
249
-
250
  <status_closed translate="comment">
251
  <label>Closed (Closed)</label>
252
  <frontend_type>select</frontend_type>
@@ -256,10 +256,10 @@
256
  <show_in_website>1</show_in_website>
257
  <show_in_store>1</show_in_store>
258
  <comment></comment>
259
-
260
  </status_closed>
261
-
262
-
263
  <status_aborted translate="comment">
264
  <label>(Aborted)</label>
265
  <frontend_type>select</frontend_type>
@@ -269,12 +269,12 @@
269
  <show_in_website>1</show_in_website>
270
  <show_in_store>1</show_in_store>
271
  <comment></comment>
272
-
273
  </status_aborted>
274
-
275
-
276
-
277
-
278
  <stores_mapping translate="comment">
279
  <label>BeezUP Stores mapping :</label>
280
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -283,8 +283,8 @@
283
  <show_in_website>1</show_in_website>
284
  <show_in_store>1</show_in_store>
285
  </stores_mapping>
286
-
287
-
288
  <stores translate="comment">
289
  <label>BeezUP Stores mapping :</label>
290
  <frontend_model>beezup/adminhtml_system_config_stores</frontend_model>
@@ -294,10 +294,10 @@
294
  <show_in_website>1</show_in_website>
295
  <show_in_store>1</show_in_store>
296
  <comment></comment>
297
-
298
  </stores>
299
-
300
-
301
  <field_mapping translate="comment">
302
  <label>BeezUP id field mapping :</label>
303
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -306,7 +306,7 @@
306
  <show_in_website>1</show_in_website>
307
  <show_in_store>1</show_in_store>
308
  </field_mapping>
309
-
310
  <attributes translate="comment">
311
  <label>BeezUP id field mapping</label>
312
  <frontend_model>beezup/adminhtml_system_config_attributes</frontend_model>
@@ -316,11 +316,11 @@
316
  <show_in_website>1</show_in_website>
317
  <show_in_store>1</show_in_store>
318
  <comment></comment>
319
-
320
  </attributes>
321
-
322
-
323
-
324
  <main_config_block translate="comment">
325
  <label>BeezUP Config:</label>
326
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -329,9 +329,9 @@
329
  <show_in_website>1</show_in_website>
330
  <show_in_store>1</show_in_store>
331
  </main_config_block>
332
-
333
-
334
-
335
  <payment_method translate="label">
336
  <label>Default payment </label>
337
  <frontend_type>select</frontend_type>
@@ -340,10 +340,10 @@
340
  <show_in_default>1</show_in_default>
341
  <show_in_website>1</show_in_website>
342
  <show_in_store>1</show_in_store>
343
- </payment_method>
344
-
345
-
346
-
347
  <available_products translate="label">
348
  <label>Allow creating orders with non available products (Beta Version)</label>
349
  <frontend_type>select</frontend_type>
@@ -352,8 +352,8 @@
352
  <show_in_default>1</show_in_default>
353
  <show_in_website>1</show_in_website>
354
  <show_in_store>1</show_in_store>
355
- </available_products>
356
-
357
  <create_customers translate="label">
358
  <label>Create customer for each order</label>
359
  <frontend_type>select</frontend_type>
@@ -364,10 +364,10 @@
364
  <show_in_website>1</show_in_website>
365
  <show_in_store>1</show_in_store>
366
  </create_customers>
367
-
368
-
369
-
370
-
371
  <debug_mode translate="label">
372
  <label>Debug Mode</label>
373
  <frontend_type>select</frontend_type>
@@ -378,9 +378,9 @@
378
  <show_in_default>1</show_in_default>
379
  <show_in_website>1</show_in_website>
380
  <show_in_store>1</show_in_store>
381
- </debug_mode>
382
-
383
-
384
  <log_block translate="comment">
385
  <label>Last execution Logs:</label>
386
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
@@ -389,8 +389,8 @@
389
  <show_in_website>1</show_in_website>
390
  <show_in_store>1</show_in_store>
391
  </log_block>
392
-
393
-
394
  <log translate="comment">
395
  <label></label>
396
  <frontend_model>beezup/adminhtml_system_config_log</frontend_model>
@@ -399,17 +399,17 @@
399
  <show_in_website>1</show_in_website>
400
  <show_in_store>1</show_in_store>
401
  </log>
402
-
403
  </fields>
404
  </marketplace>
405
  </groups>
406
-
407
-
408
  <groups>
409
  <flux translate="label">
410
  <label>Catalog Flow</label>
411
  <frontend_type>text</frontend_type>
412
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP V4.6.5) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
413
  <sort_order>2</sort_order>
414
  <show_in_default>1</show_in_default>
415
  <show_in_website>1</show_in_website>
@@ -444,8 +444,8 @@
444
  <show_in_website>1</show_in_website>
445
  <show_in_store>1</show_in_store>
446
  </stock>
447
-
448
-
449
  <ht translate="label">
450
  <label>Catalog Price</label>
451
  <frontend_type>select</frontend_type>
@@ -483,8 +483,8 @@
483
  <show_in_website>1</show_in_website>
484
  <show_in_store>1</show_in_store>
485
  </days_out>
486
-
487
-
488
  <carrier_method translate="label">
489
  <label>Shipping cost - Carrier</label>
490
  <frontend_type>select</frontend_type>
@@ -495,8 +495,8 @@
495
  <show_in_website>1</show_in_website>
496
  <show_in_store>1</show_in_store>
497
  </carrier_method>
498
-
499
-
500
  <shipping_carrier translate="label">
501
  <label>Default Shipping Carrier</label>
502
  <frontend_type>select</frontend_type>
@@ -508,7 +508,7 @@
508
  <show_in_store>1</show_in_store>
509
  <depends><carrier_method>1</carrier_method></depends>
510
  </shipping_carrier>
511
-
512
  <ship translate="label">
513
  <label>Default Shipping Cost (with tax)</label>
514
  <frontend_type>text</frontend_type>
@@ -518,8 +518,8 @@
518
  <show_in_store>1</show_in_store>
519
  <depends><carrier_method>0</carrier_method></depends>
520
  </ship>
521
-
522
-
523
  <default_country translate="label">
524
  <label>Default Country</label>
525
  <frontend_type>select</frontend_type>
@@ -531,7 +531,7 @@
531
  <show_in_store>1</show_in_store>
532
  <depends><carrier_method>1</carrier_method></depends>
533
  </default_country>
534
-
535
  <default_shipping_cost translate="label">
536
  <label>Shipping Cost (if no value found)</label>
537
  <frontend_type>text</frontend_type>
@@ -542,10 +542,10 @@
542
  <show_in_store>1</show_in_store>
543
  <depends><carrier_method>1</carrier_method></depends>
544
  </default_shipping_cost>
545
-
546
-
547
-
548
-
549
  <description translate="label">
550
  <label>Product description</label>
551
  <frontend_type>multiselect</frontend_type>
@@ -564,8 +564,8 @@
564
  <show_in_website>1</show_in_website>
565
  <show_in_store>1</show_in_store>
566
  </description_html>
567
-
568
-
569
  <attributes translate="label">
570
  <label>Specific Attributes</label>
571
  <frontend_type>multiselect</frontend_type>
@@ -613,7 +613,7 @@
613
  <show_in_website>1</show_in_website>
614
  <show_in_store>1</show_in_store>
615
  </images>
616
-
617
  <category_logic translate="label">
618
  <label>Category Logic</label>
619
  <frontend_type>select</frontend_type>
@@ -624,10 +624,10 @@
624
  <show_in_website>1</show_in_website>
625
  <show_in_store>1</show_in_store>
626
  </category_logic>
627
-
628
-
629
 
630
-
 
 
631
  <visibility translate="label">
632
  <label>Choice of exported products</label>
633
  <frontend_type>select</frontend_type>
@@ -637,11 +637,11 @@
637
  <show_in_website>1</show_in_website>
638
  <show_in_store>1</show_in_store>
639
  </visibility>
640
-
641
-
642
  </fields>
643
  </flux>
644
  </groups>
645
  </beezup>
646
  </sections>
647
- </config>
1
  <config>
2
  <sections>
3
+
4
+
5
  <beezup translate="label" module="beezup">
6
  <label>BeezUP</label>
7
  <tab>catalog</tab>
13
  <tracking translate="label">
14
  <label>Tracking</label>
15
  <frontend_type>text</frontend_type>
16
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.6.6) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
17
  <sort_order>1</sort_order>
18
  <show_in_default>1</show_in_default>
19
  <show_in_website>1</show_in_website>
69
  </fields>
70
  </tracking>
71
  </groups>
72
+
73
+
74
+
75
+
76
  <groups>
77
  <marketplace tanslate="label">
78
  <label>Marketplace</label>
79
  <frontend_type>text</frontend_type>
80
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.6.6) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
81
  <sort_order>2</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
  <show_in_store>1</show_in_store>
85
  <fields>
86
+
87
  <api_credentials translate="comment">
88
  <label>BeezUP API Credentials:</label>
89
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
92
  <show_in_website>1</show_in_website>
93
  <show_in_store>1</show_in_store>
94
  </api_credentials>
95
+
96
  <connection_status translate="label">
97
  <label>API BeezUP Connection status:</label>
98
  <frontend_type>text</frontend_type>
102
  <show_in_default>1</show_in_default>
103
  <show_in_website>1</show_in_website>
104
  <show_in_store>1</show_in_store>
105
+ </connection_status>
106
+
107
  <sync_status translate="label">
108
  <label>Sync Status:</label>
109
  <frontend_type>text</frontend_type>
112
  <show_in_default>1</show_in_default>
113
  <show_in_website>1</show_in_website>
114
  <show_in_store>1</show_in_store>
115
+ </sync_status>
116
+
117
+
118
  <syncro_time translate="label">
119
  <label>Last synchronization time :</label>
120
  <frontend_type>text</frontend_type>
124
  <show_in_default>1</show_in_default>
125
  <show_in_website>1</show_in_website>
126
  <show_in_store>1</show_in_store>
127
+ </syncro_time>
128
+
129
+
130
  <cron_url translate="label">
131
  <label>Manual orders retrieval link:</label>
132
  <frontend_type>text</frontend_type>
133
  <frontend_model>beezup/adminhtml_system_config_manualcron</frontend_model>
134
+
135
  <sort_order>4</sort_order>
136
  <show_in_default>1</show_in_default>
137
  <show_in_website>1</show_in_website>
138
  <show_in_store>1</show_in_store>
139
  <depends><connection_status>1</connection_status></depends>
140
+ </cron_url>
141
+
142
  <cron_call translate="label">
143
  <label>Cron Call</label>
144
  <frontend_type>text</frontend_type>
145
  <frontend_model>beezup/adminhtml_system_config_cron</frontend_model>
146
+
147
  <sort_order>5</sort_order>
148
  <show_in_default>1</show_in_default>
149
  <show_in_website>1</show_in_website>
150
  <show_in_store>1</show_in_store>
151
  <depends><connection_status>1</connection_status></depends>
152
+ </cron_call>
153
+
154
+
155
  <userid translate="label">
156
  <label>User Id</label>
157
  <frontend_type>text</frontend_type>
170
  <show_in_website>1</show_in_website>
171
  <show_in_store>1</show_in_store>
172
  </usertoken>
173
+
174
  <order_link translate="label">
175
  <label>Synchronize a specific order</label>
176
  <frontend_type>text</frontend_type>
177
  <frontend_model>beezup/adminhtml_system_config_orderlink</frontend_model>
178
+
179
  <sort_order>8</sort_order>
180
  <show_in_default>1</show_in_default>
181
  <show_in_website>1</show_in_website>
182
  <show_in_store>1</show_in_store>
183
  <depends><connection_status>1</connection_status></depends>
184
+ </order_link>
185
+
186
+
187
+
188
+
189
+
190
  <status_mapping translate="comment">
191
  <label>BeezUP API Status mapping :</label>
192
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
195
  <show_in_website>1</show_in_website>
196
  <show_in_store>1</show_in_store>
197
  </status_mapping>
198
+
199
+
200
  <status_new translate="comment">
201
  <label>New (New) </label>
202
  <frontend_type>select</frontend_type>
206
  <show_in_website>1</show_in_website>
207
  <show_in_store>1</show_in_store>
208
  <comment></comment>
209
+
210
  </status_new>
211
+
212
+
213
  <status_progress translate="comment">
214
  <label>In progress (InProgress)</label>
215
  <frontend_type>select</frontend_type>
219
  <show_in_website>1</show_in_website>
220
  <show_in_store>1</show_in_store>
221
  <comment></comment>
222
+
223
  </status_progress>
224
+
225
+
226
  <status_cancelled translate="comment">
227
  <label>Cancelled (Canceled)</label>
228
  <frontend_type>select</frontend_type>
232
  <show_in_website>1</show_in_website>
233
  <show_in_store>1</show_in_store>
234
  <comment></comment>
235
+
236
  </status_cancelled>
237
+
238
  <status_shipped translate="comment">
239
  <label>Shipped (Shipped)</label>
240
  <frontend_type>select</frontend_type>
244
  <show_in_website>1</show_in_website>
245
  <show_in_store>1</show_in_store>
246
  <comment></comment>
247
+
248
  </status_shipped>
249
+
250
  <status_closed translate="comment">
251
  <label>Closed (Closed)</label>
252
  <frontend_type>select</frontend_type>
256
  <show_in_website>1</show_in_website>
257
  <show_in_store>1</show_in_store>
258
  <comment></comment>
259
+
260
  </status_closed>
261
+
262
+
263
  <status_aborted translate="comment">
264
  <label>(Aborted)</label>
265
  <frontend_type>select</frontend_type>
269
  <show_in_website>1</show_in_website>
270
  <show_in_store>1</show_in_store>
271
  <comment></comment>
272
+
273
  </status_aborted>
274
+
275
+
276
+
277
+
278
  <stores_mapping translate="comment">
279
  <label>BeezUP Stores mapping :</label>
280
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
283
  <show_in_website>1</show_in_website>
284
  <show_in_store>1</show_in_store>
285
  </stores_mapping>
286
+
287
+
288
  <stores translate="comment">
289
  <label>BeezUP Stores mapping :</label>
290
  <frontend_model>beezup/adminhtml_system_config_stores</frontend_model>
294
  <show_in_website>1</show_in_website>
295
  <show_in_store>1</show_in_store>
296
  <comment></comment>
297
+
298
  </stores>
299
+
300
+
301
  <field_mapping translate="comment">
302
  <label>BeezUP id field mapping :</label>
303
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
306
  <show_in_website>1</show_in_website>
307
  <show_in_store>1</show_in_store>
308
  </field_mapping>
309
+
310
  <attributes translate="comment">
311
  <label>BeezUP id field mapping</label>
312
  <frontend_model>beezup/adminhtml_system_config_attributes</frontend_model>
316
  <show_in_website>1</show_in_website>
317
  <show_in_store>1</show_in_store>
318
  <comment></comment>
319
+
320
  </attributes>
321
+
322
+
323
+
324
  <main_config_block translate="comment">
325
  <label>BeezUP Config:</label>
326
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
329
  <show_in_website>1</show_in_website>
330
  <show_in_store>1</show_in_store>
331
  </main_config_block>
332
+
333
+
334
+
335
  <payment_method translate="label">
336
  <label>Default payment </label>
337
  <frontend_type>select</frontend_type>
340
  <show_in_default>1</show_in_default>
341
  <show_in_website>1</show_in_website>
342
  <show_in_store>1</show_in_store>
343
+ </payment_method>
344
+
345
+
346
+
347
  <available_products translate="label">
348
  <label>Allow creating orders with non available products (Beta Version)</label>
349
  <frontend_type>select</frontend_type>
352
  <show_in_default>1</show_in_default>
353
  <show_in_website>1</show_in_website>
354
  <show_in_store>1</show_in_store>
355
+ </available_products>
356
+
357
  <create_customers translate="label">
358
  <label>Create customer for each order</label>
359
  <frontend_type>select</frontend_type>
364
  <show_in_website>1</show_in_website>
365
  <show_in_store>1</show_in_store>
366
  </create_customers>
367
+
368
+
369
+
370
+
371
  <debug_mode translate="label">
372
  <label>Debug Mode</label>
373
  <frontend_type>select</frontend_type>
378
  <show_in_default>1</show_in_default>
379
  <show_in_website>1</show_in_website>
380
  <show_in_store>1</show_in_store>
381
+ </debug_mode>
382
+
383
+
384
  <log_block translate="comment">
385
  <label>Last execution Logs:</label>
386
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
389
  <show_in_website>1</show_in_website>
390
  <show_in_store>1</show_in_store>
391
  </log_block>
392
+
393
+
394
  <log translate="comment">
395
  <label></label>
396
  <frontend_model>beezup/adminhtml_system_config_log</frontend_model>
399
  <show_in_website>1</show_in_website>
400
  <show_in_store>1</show_in_store>
401
  </log>
402
+
403
  </fields>
404
  </marketplace>
405
  </groups>
406
+
407
+
408
  <groups>
409
  <flux translate="label">
410
  <label>Catalog Flow</label>
411
  <frontend_type>text</frontend_type>
412
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.6.6) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
413
  <sort_order>2</sort_order>
414
  <show_in_default>1</show_in_default>
415
  <show_in_website>1</show_in_website>
444
  <show_in_website>1</show_in_website>
445
  <show_in_store>1</show_in_store>
446
  </stock>
447
+
448
+
449
  <ht translate="label">
450
  <label>Catalog Price</label>
451
  <frontend_type>select</frontend_type>
483
  <show_in_website>1</show_in_website>
484
  <show_in_store>1</show_in_store>
485
  </days_out>
486
+
487
+
488
  <carrier_method translate="label">
489
  <label>Shipping cost - Carrier</label>
490
  <frontend_type>select</frontend_type>
495
  <show_in_website>1</show_in_website>
496
  <show_in_store>1</show_in_store>
497
  </carrier_method>
498
+
499
+
500
  <shipping_carrier translate="label">
501
  <label>Default Shipping Carrier</label>
502
  <frontend_type>select</frontend_type>
508
  <show_in_store>1</show_in_store>
509
  <depends><carrier_method>1</carrier_method></depends>
510
  </shipping_carrier>
511
+
512
  <ship translate="label">
513
  <label>Default Shipping Cost (with tax)</label>
514
  <frontend_type>text</frontend_type>
518
  <show_in_store>1</show_in_store>
519
  <depends><carrier_method>0</carrier_method></depends>
520
  </ship>
521
+
522
+
523
  <default_country translate="label">
524
  <label>Default Country</label>
525
  <frontend_type>select</frontend_type>
531
  <show_in_store>1</show_in_store>
532
  <depends><carrier_method>1</carrier_method></depends>
533
  </default_country>
534
+
535
  <default_shipping_cost translate="label">
536
  <label>Shipping Cost (if no value found)</label>
537
  <frontend_type>text</frontend_type>
542
  <show_in_store>1</show_in_store>
543
  <depends><carrier_method>1</carrier_method></depends>
544
  </default_shipping_cost>
545
+
546
+
547
+
548
+
549
  <description translate="label">
550
  <label>Product description</label>
551
  <frontend_type>multiselect</frontend_type>
564
  <show_in_website>1</show_in_website>
565
  <show_in_store>1</show_in_store>
566
  </description_html>
567
+
568
+
569
  <attributes translate="label">
570
  <label>Specific Attributes</label>
571
  <frontend_type>multiselect</frontend_type>
613
  <show_in_website>1</show_in_website>
614
  <show_in_store>1</show_in_store>
615
  </images>
616
+
617
  <category_logic translate="label">
618
  <label>Category Logic</label>
619
  <frontend_type>select</frontend_type>
624
  <show_in_website>1</show_in_website>
625
  <show_in_store>1</show_in_store>
626
  </category_logic>
 
 
627
 
628
+
629
+
630
+
631
  <visibility translate="label">
632
  <label>Choice of exported products</label>
633
  <frontend_type>select</frontend_type>
637
  <show_in_website>1</show_in_website>
638
  <show_in_store>1</show_in_store>
639
  </visibility>
640
+
641
+
642
  </fields>
643
  </flux>
644
  </groups>
645
  </beezup>
646
  </sections>
647
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BeezUP_Module_feed_and_tracker</name>
4
- <version>4.6.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
@@ -42,11 +42,11 @@ After Set-up, the following files are added :&lt;/p&gt;&#xD;
42
  &#xD;
43
  &lt;p&gt;By BeezUP &amp; Magentix&lt;/p&gt;</description>
44
  <notes>New features :&#xD;
45
- &gt;Images generation for grouped children</notes>
46
  <authors><author><name>BeezUP</name><user>BeezUP</user><email>charles@beezup.com</email></author></authors>
47
- <date>2016-05-19</date>
48
- <time>11:56:59</time>
49
- <contents><target name="magecommunity"><dir name="BeezUp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e18c65bc83cab8795b4ffd0d46e04c8a"/><dir name="Invoice"><file name="Totals.php" hash="ac065cd586fd2534de7e12762ab9b335"/></dir><file name="Totals.php" hash="5972281aa467d63da56a297a8df3da55"/><dir name="View"><dir name="Tab"><file name="Custom.php" hash="a60f500d604038645b826fa74e9b6619"/></dir></dir></dir><file name="Order.php" hash="c038c302f2c86f79431b49c7282c3f5c"/></dir><dir name="System"><dir name="Config"><file name="Attributes.php" hash="a504265fe4dc2df69b311d8219c88fbf"/><file name="Button.php" hash="476b33034b0c7d36e1bbd85f38b841db"/><file name="Childgroup.php" hash="388d3dee8f9d66a56c43c2790a44b45a"/><file name="Credentials.php" hash="b86f361800bebfd6fcf3564d9fe87c95"/><file name="Cron.php" hash="e1d47b095623593beb7f166d2ad7fecc"/><file name="Filter.php" hash="ad7ba55e18c080e25a08309dc428402a"/><file name="Log.php" hash="86221765980c0aee2381d5efd740949d"/><file name="Manualcron.php" hash="cbac01f15d256a43f0388f58449bffd0"/><file name="Orderlink.php" hash="9b9242ea9ccc4cfa746036b72aed2cc1"/><file name="Stores.php" hash="4297f4c94f136bb9778c9ddcd0cb336c"/><file name="Syncstatus.php" hash="49164eb19331aadabc0581472cd3c567"/><file name="Time.php" hash="ac5c2e4a40e9c6ff68cea1097dfa1e7b"/></dir></dir></dir><file name="Omstatus.php" hash="a40f2918627077264132594cfe028290"/><file name="Order.php" hash="f911b2962639f9f96018237eb51b8892"/><file name="Tracking.php" hash="e6dcd6b89e782b2eb6cb83abfb1b7f56"/><file name="Xml.php" hash="228c716e1f569e2a4c968134eca76ff5"/></dir><dir name="Helper"><file name="Data.php" hash="867a2562b255beaf3faa047d4130304f"/></dir><dir name="Model"><file name="Flatrate.php" hash="27d078203781d9b923605f685bfe5c25"/><file name="Observer.php" hash="3bcb925df1965ef23ef1fb08ab64de08"/><file name="Products.php" hash="61c2d49c312360e6a0a8d9ed6395b67c"/><dir name="Quote"><file name="Item.php" hash="13cef88e165932990fa032b57e8905a0"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><file name="Invoice.php" hash="9eaf28084db176b41c6007da3d529d18"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="174aee475c6a6a8b0b4f2e8e076c6a25"/><file name="Credentials.php" hash="09ef9fab57f64eb6415d71ba8aec2412"/><file name="Time.php" hash="a70e4d748a9b300ec7b718168fa4d5f8"/><file name="Token.php" hash="60247c8b4d5889433ae1f92e998cc889"/></dir><dir name="Source"><file name="Attributes.php" hash="8f57313a41349c7a8132b8d8e2de275e"/><file name="Availableproducts.php" hash="d9d4b3705f5fbd98efbae0289a1b6d6d"/><file name="Cache.php" hash="0ca6ccc2fed56e2c602d76880d062053"/><file name="Carriers.php" hash="8d6a9940891902a0a8d5a99c366432ce"/><file name="Categories.php" hash="c4e9f0a54f1d9c688543f26f02f99142"/><file name="Countries.php" hash="b6f1a9a75d5368d6365f06b42524e002"/><file name="Customercreate.php" hash="ca5d2b2d1ad4e18f9a1135af21b10bc2"/><file name="Debug.php" hash="6538ebc0cd0d61c124e5adc806e71aff"/><file name="Description.php" hash="1746e688692fc99524f02fb18e707dcf"/><file name="Images.php" hash="78fb5e2054bbfaa2e76263b1aa9197cc"/><file name="Montant.php" hash="3a46b8d564f1c2f0ed3b62354ac8964f"/><file name="Payment.php" hash="4bebe8e6ab0f980c1ada872b46e86503"/><file name="Position.php" hash="f1d6f89f5db5bfeedc506c539e76e3a8"/><file name="Price.php" hash="71707a69106cdd4990767351ab78fc04"/><file name="Shipping.php" hash="3b38e6a923d98f2739b70c9960958dd6"/><file name="Status.php" hash="d32004ad97adac6de361703a403a6a97"/><file name="Userid.php" hash="3d028bc3bfcaf7541b57676c014c94db"/><file name="Visibility.php" hash="91c69e8f967c13162eb38306c0391080"/></dir></dir></dir></dir><dir name="controllers"><file name="CacheController.php" hash="512cc26abd39d556104d5e69c0ac8a0d"/><file name="CatalogController.php" hash="0b65f6951e26283ea8c60bffa397186d"/><file name="CronController.php" hash="026ddcd6df9a51a41037687ca8d53a0b"/><file name="LogController.php" hash="5eff0d0a2c5621456e580e214d05c745"/><file name="OmstatusController.php" hash="95ae171ef21f861a7eaf74931b62a9db"/><file name="OrderController.php" hash="a2b8df2fb01fb4df8e7f04bcd7689bb3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e50ed10cb5025ff3a6dd7c90a6f7e0a4"/><file name="config.xml" hash="df2a26138f350a721cfc4d7dbbd35999"/><file name="system.xml" hash="b35727352ac72b8a8c09cc49cbfb1c6a"/></dir><dir name="img"><file name="ajax-loader.gif" hash="2a6692973429d7a74513bfa8bcb5be20"/></dir><dir name="lib"><file name="BeezupMageOrders.php" hash="cb62e5d5322912447cf829599013c17f"/><file name="BeezupOMDataHandler.php" hash="cf738987179f3125fc0f4626fd70f1a0"/><file name="BeezupOMOrderService.php" hash="47c09c14dce66f914023ff09374cd674"/><file name="BeezupOMOrderServiceInterface.php" hash="9b18485ae224c32f46ae5a2ec5966e5b"/><file name="BeezupOMRepositoryInterface.php" hash="c2a8267c01c3e5def25ed41f715fa4b4"/><file name="BeezupOMRequestData.php" hash="162196502ecc6078ac6b7dec6f068c80"/><file name="BeezupOMResponseData.php" hash="955ce5316129e837190f2ccf9962d74f"/><file name="BeezupOMServiceClientProxy.php" hash="82821826016c467657d56b568a42bd35"/><file name="BeezupOMStatus.php" hash="5ebcc05f1b763887e420c8f4f459bfdb"/><file name="BeezupRepository.php" hash="4a4eaabcd0a5d7427154e93757c3733d"/><dir name="Common"><file name="BeezupOMCredential.php" hash="7f45272d16860058af07005dda39672e"/><file name="BeezupOMErrorSummary.php" hash="418db7b85beb030b2d28aee6c8b35bf1"/><file name="BeezupOMExpectedOrderChangeMetaInfo.php" hash="be802f69a3474d6cc6a5899711c7018c"/><file name="BeezupOMInfoSummaries.php" hash="cdece780cf38e3f09ce2d5550b93a567"/><file name="BeezupOMInfoSummary.php" hash="3b0d49f22882e239c87060aa58beb643"/><file name="BeezupOMLink.php" hash="9fa99dce0b51e235e101259b2f0304f8"/><file name="BeezupOMOrderIdentifier.php" hash="334f410bf0794cb2ce02b4b1e6d3e0f4"/><file name="BeezupOMProcessingStatus.php" hash="b70c4c23a75360b5bee4d9ddec9e7915"/><file name="BeezupOMRequest.php" hash="2497b1ed30c12d179a5629479aee418d"/><file name="BeezupOMResponse.php" hash="690688115873ac9a3172bf67a0d62b50"/><file name="BeezupOMResult.php" hash="5cb890ce4ad4205114dd94cd1f28222d"/><file name="BeezupOMSuccessSummary.php" hash="791c6c186ed15ec1b872905b820cd03c"/><file name="BeezupOMSummary.php" hash="6cc3712480eff9f19b80b0ab887155f0"/><file name="BeezupOMWarningSummary.php" hash="03cfd6a98901b6b460b974b8e938a659"/></dir><dir name="Harvest"><file name="BeezupOMHarvestAbstractReporting.php" hash="3d499a69ea7b646eaeef5b80f0a919f3"/><file name="BeezupOMHarvestClientReporting.php" hash="1e40eca349352912e408718f3b218777"/><file name="BeezupOMHarvestOrderReporting.php" hash="778ba93a7673f35b2072003e3510ba6b"/></dir><file name="KLogger.php" hash="fe1d31bbfdf4d59a858ffd43453536c2"/><dir name="LOV"><file name="BeezupOMLOVRequest.php" hash="165c873b3fea4201a3b35596d24ffe36"/><file name="BeezupOMLOVResponse.php" hash="586749fb17b16d5ff9f07909e516b3c7"/><file name="BeezupOMLOVResult.php" hash="c0e3cc917a1d625ac6094917481a7b52"/><file name="BeezupOMLOVValue.php" hash="0dd13ae88e99c2537df8804f3af248b9"/></dir><dir name="Order"><file name="BeezupOMOrderItem.php" hash="a770b90ae4fcb6535563be6ff59f7528"/><file name="BeezupOMOrderRequest.php" hash="9afa0f18fc0aef344c3f71d054db23a0"/><file name="BeezupOMOrderResponse.php" hash="e8793a8754ec75a92ca6266357462307"/><file name="BeezupOMOrderResult.php" hash="b82fd5d86b578f2eb1d162a1169f3a9b"/></dir><dir name="OrderChange"><file name="BeezupOMOrderChangeMetaInfo.php" hash="abdbdfd6c3bf291fd38f9b3ddc419405"/><file name="BeezupOMOrderChangeRequest.php" hash="f43b9c0a052fe5346a1b309c6d96ae9c"/><file name="BeezupOMOrderChangeResponse.php" hash="bbb4e49e5ddb90991e763daa439a5642"/><file name="BeezupOMOrderChangeResult.php" hash="e7314addf6c2e51196577055d583f350"/></dir><dir name="OrderHistory"><file name="BeezupOMOrderChangeReporting.php" hash="fc7a7d7ee8bc53f8c5b7ed19793a911a"/><file name="BeezupOMOrderHarvestReporting.php" hash="e4cb500ef347d8e8543e0bf278d3d77c"/><file name="BeezupOMOrderHistoryRequest.php" hash="2e39c26d8d9dd4d5a92a2cde06c41353"/><file name="BeezupOMOrderHistoryResponse.php" hash="dc6a0c6dc89bf1f376d1ecfebd052a4b"/><file name="BeezupOMOrderHistoryResult.php" hash="d85d9b4ecf6c0456b5c8453cc3b9cfdd"/></dir><dir name="OrderList"><file name="BeezupOMOrderHeader.php" hash="af366bc39855f1315678f01b53859c1c"/><file name="BeezupOMOrderListRequest.php" hash="817c20c7c82fd5f05e0efb19ee19ec4b"/><file name="BeezupOMOrderListResponse.php" hash="b1b0ed33ba495f6e2c2f3a39ade2a5cd"/><file name="BeezupOMOrderListResult.php" hash="8befe82305a6c6fe3cacf113b3722585"/><file name="BeezupOMPaginationResult.php" hash="1e1ef534ddef8ac43d98839b4ed7f941"/></dir><dir name="SetOrderId"><file name="BeezupOMSetOrderIdRequest.php" hash="40b4a05023396115f582c2e907834e3b"/><file name="BeezupOMSetOrderIdResponse.php" hash="c4cb1f9013ae32dfdff8ca80e4725282"/><file name="BeezupOMSetOrderIdResult.php" hash="8b35abb55c52f6acdfd55bf20b370bf0"/><file name="BeezupOMSetOrderIdValues.php" hash="978b41465512c15bfe160463ca23d24f"/></dir><dir name="Stores"><file name="BeezupOMStore.php" hash="0882efcae2eff339d6cdcceee83135a7"/><file name="BeezupOMStoresRequest.php" hash="a6b1391e306f2ed21fd5e2fcdbcbbec5"/><file name="BeezupOMStoresResponse.php" hash="21535a8957506ef7da343a0526b57b02"/><file name="BeezupOMStoresResult.php" hash="d4ceed947e9e8086638497e75bbd20e8"/></dir><file name="bootstrap.php" hash="9e0e69bc9e9a932c7c80f8480c025bd2"/></dir><dir name="sql"><dir name="beezup_setup"><file name="mysql4-install-4.0.0.php" hash="75dacb26e3f96975a873c906eb37fbb0"/><file name="mysql4-upgrade-4.5.0-4.6.0.php" hash="34d1bc3a9b7658923a389fd6653ed4c9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BeezUp.xml" hash="93df32f86c55b57363b9abc62cf68474"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="BeezUp.csv" hash="3ae5819ffc7157b01772a15a9b16d2a2"/></dir><dir name="en_US"><file name="BeezUp.csv" hash="05b26592c14245824173936807731db4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="beezup_salestab.xml" hash="784925d72538a1eeb0ca695417147a7a"/></dir><dir name="template"><dir name="beezup"><file name="custom.phtml" hash="ea83d17a2e8814c3a9ae9e056c7926a8"/></dir></dir></dir></dir></dir></target></contents>
50
  <compatible/>
51
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
52
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BeezUP_Module_feed_and_tracker</name>
4
+ <version>4.6.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
42
  &#xD;
43
  &lt;p&gt;By BeezUP &amp; Magentix&lt;/p&gt;</description>
44
  <notes>New features :&#xD;
45
+ &gt;Grouped child specific issue solved</notes>
46
  <authors><author><name>BeezUP</name><user>BeezUP</user><email>charles@beezup.com</email></author></authors>
47
+ <date>2016-06-09</date>
48
+ <time>17:13:59</time>
49
+ <contents><target name="magecommunity"><dir name="BeezUp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e18c65bc83cab8795b4ffd0d46e04c8a"/><dir name="Invoice"><file name="Totals.php" hash="ac065cd586fd2534de7e12762ab9b335"/></dir><file name="Totals.php" hash="5972281aa467d63da56a297a8df3da55"/><dir name="View"><dir name="Tab"><file name="Custom.php" hash="a60f500d604038645b826fa74e9b6619"/></dir></dir></dir><file name="Order.php" hash="c038c302f2c86f79431b49c7282c3f5c"/></dir><dir name="System"><dir name="Config"><file name="Attributes.php" hash="a504265fe4dc2df69b311d8219c88fbf"/><file name="Button.php" hash="476b33034b0c7d36e1bbd85f38b841db"/><file name="Childgroup.php" hash="388d3dee8f9d66a56c43c2790a44b45a"/><file name="Credentials.php" hash="b86f361800bebfd6fcf3564d9fe87c95"/><file name="Cron.php" hash="e1d47b095623593beb7f166d2ad7fecc"/><file name="Filter.php" hash="ad7ba55e18c080e25a08309dc428402a"/><file name="Log.php" hash="86221765980c0aee2381d5efd740949d"/><file name="Manualcron.php" hash="cbac01f15d256a43f0388f58449bffd0"/><file name="Orderlink.php" hash="9b9242ea9ccc4cfa746036b72aed2cc1"/><file name="Stores.php" hash="4297f4c94f136bb9778c9ddcd0cb336c"/><file name="Syncstatus.php" hash="49164eb19331aadabc0581472cd3c567"/><file name="Time.php" hash="ac5c2e4a40e9c6ff68cea1097dfa1e7b"/></dir></dir></dir><file name="Omstatus.php" hash="a40f2918627077264132594cfe028290"/><file name="Order.php" hash="f911b2962639f9f96018237eb51b8892"/><file name="Tracking.php" hash="e6dcd6b89e782b2eb6cb83abfb1b7f56"/><file name="Xml.php" hash="86b1ad684f82ed146e68de66d6c88df0"/></dir><dir name="Helper"><file name="Data.php" hash="867a2562b255beaf3faa047d4130304f"/></dir><dir name="Model"><file name="Flatrate.php" hash="27d078203781d9b923605f685bfe5c25"/><file name="Observer.php" hash="3bcb925df1965ef23ef1fb08ab64de08"/><file name="Products.php" hash="e2ffaec55b84d4c1923547fc2aad47b6"/><dir name="Quote"><file name="Item.php" hash="13cef88e165932990fa032b57e8905a0"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><file name="Invoice.php" hash="9eaf28084db176b41c6007da3d529d18"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="174aee475c6a6a8b0b4f2e8e076c6a25"/><file name="Credentials.php" hash="09ef9fab57f64eb6415d71ba8aec2412"/><file name="Time.php" hash="a70e4d748a9b300ec7b718168fa4d5f8"/><file name="Token.php" hash="60247c8b4d5889433ae1f92e998cc889"/></dir><dir name="Source"><file name="Attributes.php" hash="8f57313a41349c7a8132b8d8e2de275e"/><file name="Availableproducts.php" hash="d9d4b3705f5fbd98efbae0289a1b6d6d"/><file name="Cache.php" hash="0ca6ccc2fed56e2c602d76880d062053"/><file name="Carriers.php" hash="8d6a9940891902a0a8d5a99c366432ce"/><file name="Categories.php" hash="c4e9f0a54f1d9c688543f26f02f99142"/><file name="Countries.php" hash="b6f1a9a75d5368d6365f06b42524e002"/><file name="Customercreate.php" hash="ca5d2b2d1ad4e18f9a1135af21b10bc2"/><file name="Debug.php" hash="6538ebc0cd0d61c124e5adc806e71aff"/><file name="Description.php" hash="1746e688692fc99524f02fb18e707dcf"/><file name="Images.php" hash="78fb5e2054bbfaa2e76263b1aa9197cc"/><file name="Montant.php" hash="3a46b8d564f1c2f0ed3b62354ac8964f"/><file name="Payment.php" hash="4bebe8e6ab0f980c1ada872b46e86503"/><file name="Position.php" hash="f1d6f89f5db5bfeedc506c539e76e3a8"/><file name="Price.php" hash="71707a69106cdd4990767351ab78fc04"/><file name="Shipping.php" hash="3b38e6a923d98f2739b70c9960958dd6"/><file name="Status.php" hash="d32004ad97adac6de361703a403a6a97"/><file name="Userid.php" hash="3d028bc3bfcaf7541b57676c014c94db"/><file name="Visibility.php" hash="91c69e8f967c13162eb38306c0391080"/></dir></dir></dir></dir><dir name="controllers"><file name="CacheController.php" hash="512cc26abd39d556104d5e69c0ac8a0d"/><file name="CatalogController.php" hash="0b65f6951e26283ea8c60bffa397186d"/><file name="CronController.php" hash="026ddcd6df9a51a41037687ca8d53a0b"/><file name="LogController.php" hash="5eff0d0a2c5621456e580e214d05c745"/><file name="OmstatusController.php" hash="95ae171ef21f861a7eaf74931b62a9db"/><file name="OrderController.php" hash="a2b8df2fb01fb4df8e7f04bcd7689bb3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e50ed10cb5025ff3a6dd7c90a6f7e0a4"/><file name="config.xml" hash="d021277a36b2845259deb57d6d90f622"/><file name="system.xml" hash="35fadf901ec339848e9266cba2c3f543"/></dir><dir name="img"><file name="ajax-loader.gif" hash="2a6692973429d7a74513bfa8bcb5be20"/></dir><dir name="lib"><file name="BeezupMageOrders.php" hash="cb62e5d5322912447cf829599013c17f"/><file name="BeezupOMDataHandler.php" hash="cf738987179f3125fc0f4626fd70f1a0"/><file name="BeezupOMOrderService.php" hash="47c09c14dce66f914023ff09374cd674"/><file name="BeezupOMOrderServiceInterface.php" hash="9b18485ae224c32f46ae5a2ec5966e5b"/><file name="BeezupOMRepositoryInterface.php" hash="c2a8267c01c3e5def25ed41f715fa4b4"/><file name="BeezupOMRequestData.php" hash="162196502ecc6078ac6b7dec6f068c80"/><file name="BeezupOMResponseData.php" hash="955ce5316129e837190f2ccf9962d74f"/><file name="BeezupOMServiceClientProxy.php" hash="82821826016c467657d56b568a42bd35"/><file name="BeezupOMStatus.php" hash="5ebcc05f1b763887e420c8f4f459bfdb"/><file name="BeezupRepository.php" hash="4a4eaabcd0a5d7427154e93757c3733d"/><dir name="Common"><file name="BeezupOMCredential.php" hash="7f45272d16860058af07005dda39672e"/><file name="BeezupOMErrorSummary.php" hash="418db7b85beb030b2d28aee6c8b35bf1"/><file name="BeezupOMExpectedOrderChangeMetaInfo.php" hash="be802f69a3474d6cc6a5899711c7018c"/><file name="BeezupOMInfoSummaries.php" hash="cdece780cf38e3f09ce2d5550b93a567"/><file name="BeezupOMInfoSummary.php" hash="3b0d49f22882e239c87060aa58beb643"/><file name="BeezupOMLink.php" hash="9fa99dce0b51e235e101259b2f0304f8"/><file name="BeezupOMOrderIdentifier.php" hash="334f410bf0794cb2ce02b4b1e6d3e0f4"/><file name="BeezupOMProcessingStatus.php" hash="b70c4c23a75360b5bee4d9ddec9e7915"/><file name="BeezupOMRequest.php" hash="2497b1ed30c12d179a5629479aee418d"/><file name="BeezupOMResponse.php" hash="690688115873ac9a3172bf67a0d62b50"/><file name="BeezupOMResult.php" hash="5cb890ce4ad4205114dd94cd1f28222d"/><file name="BeezupOMSuccessSummary.php" hash="791c6c186ed15ec1b872905b820cd03c"/><file name="BeezupOMSummary.php" hash="6cc3712480eff9f19b80b0ab887155f0"/><file name="BeezupOMWarningSummary.php" hash="03cfd6a98901b6b460b974b8e938a659"/></dir><dir name="Harvest"><file name="BeezupOMHarvestAbstractReporting.php" hash="3d499a69ea7b646eaeef5b80f0a919f3"/><file name="BeezupOMHarvestClientReporting.php" hash="1e40eca349352912e408718f3b218777"/><file name="BeezupOMHarvestOrderReporting.php" hash="778ba93a7673f35b2072003e3510ba6b"/></dir><file name="KLogger.php" hash="fe1d31bbfdf4d59a858ffd43453536c2"/><dir name="LOV"><file name="BeezupOMLOVRequest.php" hash="165c873b3fea4201a3b35596d24ffe36"/><file name="BeezupOMLOVResponse.php" hash="586749fb17b16d5ff9f07909e516b3c7"/><file name="BeezupOMLOVResult.php" hash="c0e3cc917a1d625ac6094917481a7b52"/><file name="BeezupOMLOVValue.php" hash="0dd13ae88e99c2537df8804f3af248b9"/></dir><dir name="Order"><file name="BeezupOMOrderItem.php" hash="a770b90ae4fcb6535563be6ff59f7528"/><file name="BeezupOMOrderRequest.php" hash="9afa0f18fc0aef344c3f71d054db23a0"/><file name="BeezupOMOrderResponse.php" hash="e8793a8754ec75a92ca6266357462307"/><file name="BeezupOMOrderResult.php" hash="b82fd5d86b578f2eb1d162a1169f3a9b"/></dir><dir name="OrderChange"><file name="BeezupOMOrderChangeMetaInfo.php" hash="abdbdfd6c3bf291fd38f9b3ddc419405"/><file name="BeezupOMOrderChangeRequest.php" hash="f43b9c0a052fe5346a1b309c6d96ae9c"/><file name="BeezupOMOrderChangeResponse.php" hash="bbb4e49e5ddb90991e763daa439a5642"/><file name="BeezupOMOrderChangeResult.php" hash="e7314addf6c2e51196577055d583f350"/></dir><dir name="OrderHistory"><file name="BeezupOMOrderChangeReporting.php" hash="fc7a7d7ee8bc53f8c5b7ed19793a911a"/><file name="BeezupOMOrderHarvestReporting.php" hash="e4cb500ef347d8e8543e0bf278d3d77c"/><file name="BeezupOMOrderHistoryRequest.php" hash="2e39c26d8d9dd4d5a92a2cde06c41353"/><file name="BeezupOMOrderHistoryResponse.php" hash="dc6a0c6dc89bf1f376d1ecfebd052a4b"/><file name="BeezupOMOrderHistoryResult.php" hash="d85d9b4ecf6c0456b5c8453cc3b9cfdd"/></dir><dir name="OrderList"><file name="BeezupOMOrderHeader.php" hash="af366bc39855f1315678f01b53859c1c"/><file name="BeezupOMOrderListRequest.php" hash="817c20c7c82fd5f05e0efb19ee19ec4b"/><file name="BeezupOMOrderListResponse.php" hash="b1b0ed33ba495f6e2c2f3a39ade2a5cd"/><file name="BeezupOMOrderListResult.php" hash="8befe82305a6c6fe3cacf113b3722585"/><file name="BeezupOMPaginationResult.php" hash="1e1ef534ddef8ac43d98839b4ed7f941"/></dir><dir name="SetOrderId"><file name="BeezupOMSetOrderIdRequest.php" hash="40b4a05023396115f582c2e907834e3b"/><file name="BeezupOMSetOrderIdResponse.php" hash="c4cb1f9013ae32dfdff8ca80e4725282"/><file name="BeezupOMSetOrderIdResult.php" hash="8b35abb55c52f6acdfd55bf20b370bf0"/><file name="BeezupOMSetOrderIdValues.php" hash="978b41465512c15bfe160463ca23d24f"/></dir><dir name="Stores"><file name="BeezupOMStore.php" hash="0882efcae2eff339d6cdcceee83135a7"/><file name="BeezupOMStoresRequest.php" hash="a6b1391e306f2ed21fd5e2fcdbcbbec5"/><file name="BeezupOMStoresResponse.php" hash="21535a8957506ef7da343a0526b57b02"/><file name="BeezupOMStoresResult.php" hash="d4ceed947e9e8086638497e75bbd20e8"/></dir><file name="bootstrap.php" hash="9e0e69bc9e9a932c7c80f8480c025bd2"/></dir><dir name="sql"><dir name="beezup_setup"><file name="mysql4-install-4.0.0.php" hash="75dacb26e3f96975a873c906eb37fbb0"/><file name="mysql4-upgrade-4.5.0-4.6.0.php" hash="34d1bc3a9b7658923a389fd6653ed4c9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BeezUp.xml" hash="93df32f86c55b57363b9abc62cf68474"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="BeezUp.csv" hash="3ae5819ffc7157b01772a15a9b16d2a2"/></dir><dir name="en_US"><file name="BeezUp.csv" hash="05b26592c14245824173936807731db4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="beezup_salestab.xml" hash="784925d72538a1eeb0ca695417147a7a"/></dir><dir name="template"><dir name="beezup"><file name="custom.phtml" hash="ea83d17a2e8814c3a9ae9e056c7926a8"/></dir></dir></dir></dir></dir></target></contents>
50
  <compatible/>
51
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
52
  </package>