Fraisr - Version 0.4.2

Version Notes

* Bugfixes
* Products will be synced now, if something has changed

Download this release

Release Info

Developer Andre Herrn
Extension Fraisr
Version 0.4.2
Comparing to
See all releases


Code changes from version 0.4.0 to 0.4.2

app/code/community/Fraisr/Connect/Block/Catalog/Product/Json/View.php CHANGED
@@ -42,7 +42,7 @@ class Fraisr_Connect_Block_Catalog_Product_Json_View extends Mage_Catalog_Block_
42
  if (!($product instanceof Mage_Catalog_Model_Product)
43
  || true === is_null($product->getId())
44
  || '1' !== $product->getFraisrEnabled()) {
45
- continue;
46
  }
47
 
48
  //Add product entry
42
  if (!($product instanceof Mage_Catalog_Model_Product)
43
  || true === is_null($product->getId())
44
  || '1' !== $product->getFraisrEnabled()) {
45
+ return Zend_Json::encode(null);
46
  }
47
 
48
  //Add product entry
app/code/community/Fraisr/Connect/Model/Config.php CHANGED
@@ -208,7 +208,7 @@ class Fraisr_Connect_Model_Config
208
  */
209
  public function getFrontendWidgetJsUri()
210
  {
211
- return $this->getApiUri().Mage::getStoreConfig('fraisrconnect/static/api/frontend_js');
212
  }
213
 
214
  /**
@@ -218,7 +218,7 @@ class Fraisr_Connect_Model_Config
218
  */
219
  public function getFrontendWidgetCssUri()
220
  {
221
- return $this->getApiUri().Mage::getStoreConfig('fraisrconnect/static/api/frontend_css');
222
  }
223
 
224
  /**
208
  */
209
  public function getFrontendWidgetJsUri()
210
  {
211
+ return Mage::getStoreConfig('fraisrconnect/urls/js');
212
  }
213
 
214
  /**
218
  */
219
  public function getFrontendWidgetCssUri()
220
  {
221
+ return Mage::getStoreConfig('fraisrconnect/urls/css');
222
  }
223
 
224
  /**
app/code/community/Fraisr/Connect/Model/Observer.php CHANGED
@@ -24,6 +24,36 @@
24
  */
25
  class Fraisr_Connect_Model_Observer
26
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  /**
28
  * Initiate cause synchronisation
29
  * & check for products with non-existing causes
@@ -76,6 +106,8 @@ class Fraisr_Connect_Model_Observer
76
  return;
77
  }
78
 
 
 
79
  //Trigger product synchronisation
80
  $productSyncronisation = Mage::getModel('fraisrconnect/product');
81
  $productSyncronisation->synchronize();
@@ -111,6 +143,8 @@ class Fraisr_Connect_Model_Observer
111
  ->setTask(Fraisr_Connect_Model_Log::LOG_TASK_PRODUCT_SYNC)
112
  ->logError();
113
  }
 
 
114
  }
115
 
116
  /**
@@ -125,7 +159,12 @@ class Fraisr_Connect_Model_Observer
125
  if (false === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
126
  return;
127
  }
 
 
 
128
  Mage::getModel('fraisrconnect/product')->markProductsAsToSynchronize();
 
 
129
  }
130
 
131
  /**
@@ -243,6 +282,10 @@ class Fraisr_Connect_Model_Observer
243
  }
244
  }
245
 
 
 
 
 
246
  public function connectToApi(){
247
  $logger = Mage::getModel("fraisrconnect/log");
248
  $config = Mage::getModel("fraisrconnect/config");
@@ -251,6 +294,8 @@ class Fraisr_Connect_Model_Observer
251
  if($config->isActive() !== true)
252
  return;
253
 
 
 
254
  try{
255
  $response = Mage::getModel('fraisrconnect/api_request')->requestPost(
256
  Mage::getModel('fraisrconnect/config')->getConnectApiUri(),
@@ -273,5 +318,106 @@ class Fraisr_Connect_Model_Observer
273
  $logger->setMessage($error->getMessage());
274
  $logger->logError();
275
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  }
277
  }
24
  */
25
  class Fraisr_Connect_Model_Observer
26
  {
27
+ /**
28
+ * Current store code
29
+ * @var String
30
+ */
31
+ protected $_currentStoreCode = null;
32
+
33
+ /**
34
+ * @constructor
35
+ */
36
+ public function __construct(){
37
+ $this->_currentStoreCode = Mage::app()->getStore()->getCode();
38
+ }
39
+
40
+ /**
41
+ * sets to default store
42
+ */
43
+ protected function setDefaultStore(){
44
+ $websites = Mage::app()->getWebsites();
45
+ $code = $websites[1]->getDefaultStore()->getCode();
46
+ Mage::app()->setCurrentStore($code);
47
+ }
48
+
49
+ /**
50
+ * resets store
51
+ * @return [type] [description]
52
+ */
53
+ protected function resetStore(){
54
+ Mage::app()->setCurrentStore($this->_currentStoreCode);
55
+ }
56
+
57
  /**
58
  * Initiate cause synchronisation
59
  * & check for products with non-existing causes
106
  return;
107
  }
108
 
109
+ $this->setDefaultStore();
110
+
111
  //Trigger product synchronisation
112
  $productSyncronisation = Mage::getModel('fraisrconnect/product');
113
  $productSyncronisation->synchronize();
143
  ->setTask(Fraisr_Connect_Model_Log::LOG_TASK_PRODUCT_SYNC)
144
  ->logError();
145
  }
146
+
147
+ $this->resetStore();
148
  }
149
 
150
  /**
159
  if (false === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
160
  return;
161
  }
162
+
163
+ $this->setDefaultStore();
164
+
165
  Mage::getModel('fraisrconnect/product')->markProductsAsToSynchronize();
166
+
167
+ $this->resetStore();
168
  }
169
 
170
  /**
282
  }
283
  }
284
 
285
+ /**
286
+ * Makes an request to api/v1/connect with callback_url
287
+ * @return void
288
+ */
289
  public function connectToApi(){
290
  $logger = Mage::getModel("fraisrconnect/log");
291
  $config = Mage::getModel("fraisrconnect/config");
294
  if($config->isActive() !== true)
295
  return;
296
 
297
+ $this->setDefaultStore();
298
+
299
  try{
300
  $response = Mage::getModel('fraisrconnect/api_request')->requestPost(
301
  Mage::getModel('fraisrconnect/config')->getConnectApiUri(),
318
  $logger->setMessage($error->getMessage());
319
  $logger->logError();
320
  }
321
+
322
+ $this->resetStore();
323
+ }
324
+
325
+ /**
326
+ * Adds an additional options which indivates this order item as a fraisr product
327
+ * @param $observer
328
+ * @return void
329
+ */
330
+ public function catalogProductLoadAfter($observer){
331
+ $action = Mage::app()->getFrontController()->getAction();
332
+
333
+ if($action->getFullActionName() !== "checkout_cart_add")
334
+ return;
335
+
336
+ $product = $observer->getProduct();
337
+
338
+ if(is_null($product->getFraisrId()))
339
+ return;
340
+
341
+ if(is_null($product->getFraisrCause()))
342
+ return;
343
+
344
+ if(is_null($product->getFraisrDonationPercentage()))
345
+ return;
346
+
347
+ $additionalOptions = array();
348
+ if($additionalOption = $product->getCustomOption("additional_options")){
349
+ $additionalOptions = (array) unserialize($additionalOption->getValue());
350
+ }
351
+
352
+ $helper = Mage::helper('fraisrconnect/data');
353
+
354
+ $additionalOptions[] = array(
355
+ "label" => "fraisr",
356
+ "value" => $helper->__("%s%% donation will go to %s",
357
+ $product->getFraisrDonationPercentage(),
358
+ Mage::getModel('fraisrconnect/cause')->load($product->getFraisrCause())->getName()),
359
+ );
360
+
361
+ $product->addCustomOption("additional_options", serialize($additionalOptions));
362
+ }
363
+
364
+ /**
365
+ * adds additional options from quote item to order item
366
+ * @param $observer
367
+ * @return void
368
+ */
369
+ public function salesConvertQuoteItemToOrderItem($observer){
370
+ $quoteItem = $observer->getItem();
371
+
372
+ if ($additionalOptions = $quoteItem->getOptionByCode('additional_options')) {
373
+ $orderItem = $observer->getOrderItem();
374
+ $options = $orderItem->getProductOptions();
375
+ $options['additional_options'] = unserialize($additionalOptions->getValue());
376
+ $orderItem->setProductOptions($options);
377
+ }
378
+ }
379
+
380
+ /**
381
+ * Adding grid collumn "has fraisr items"
382
+ * @param $observer
383
+ * @return void
384
+ */
385
+ public function customgridColumnAppend($observer){
386
+ $block = $observer->getBlock();
387
+
388
+ if(!isset($block))
389
+ return;
390
+
391
+ if($block->getType() !== "adminhtml/sales_order_grid")
392
+ return;
393
+
394
+ $block->addColumnAfter("has_fraisr_items", array(
395
+ "header" => Mage::helper("fraisrconnect/data")->__("Has fraisr items"),
396
+ "index" => "has_fraisr_items",
397
+ 'type' => "options",
398
+ "width" => "70px",
399
+ "options" => array("0" => "no", "1" => "yes"),
400
+ ), "status");
401
+ }
402
+
403
+ /**
404
+ * Set column has_fraisr_id to sales/order table
405
+ * @param $observer
406
+ * @return void
407
+ */
408
+ public function salesConvertQuoteToOrder($observer){
409
+ $quote = $observer->getEvent()->getQuote();
410
+ $order = $observer->getEvent()->getOrder();
411
+ $has_fraisr_items = 0;
412
+
413
+ foreach($quote->getAllVisibleItems() AS $quoteItem){
414
+ if(is_null($quoteItem->getFraisrProductId()))
415
+ continue;
416
+
417
+ $has_fraisr_items = 1;
418
+ break;
419
+ }
420
+
421
+ $order->setHasFraisrItems($has_fraisr_items);
422
  }
423
  }
app/code/community/Fraisr/Connect/Model/Product.php CHANGED
@@ -464,7 +464,22 @@ class Fraisr_Connect_Model_Product extends Mage_Core_Model_Abstract
464
  {
465
  try {
466
  //Get product collection of new and update products
467
- $newAndUpdateFraisrProducts = Mage::helper('fraisrconnect/synchronisation_product')->getNewAndUpdateFraisrProducts();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
 
469
  //Mark as to synchronize
470
  Mage::helper('fraisrconnect/synchronisation_product')->markProductCollectionAsToSynchronize(
@@ -477,7 +492,14 @@ class Fraisr_Connect_Model_Product extends Mage_Core_Model_Abstract
477
  '%s product(s) were successfully marked as to synchronize (create/update) to fraisr.',
478
  count($newAndUpdateFraisrProducts)
479
  ),
480
- Fraisr_Connect_Model_Log::LOG_TASK_CAUSE_SYNC
 
 
 
 
 
 
 
481
  );
482
  }
483
 
@@ -497,7 +519,7 @@ class Fraisr_Connect_Model_Product extends Mage_Core_Model_Abstract
497
  '%s product(s) were successfully marked as to synchronize (delete) to fraisr.',
498
  count($toDeleteProducts) + count($toDeleteProductsByQueue)
499
  ),
500
- Fraisr_Connect_Model_Log::LOG_TASK_CAUSE_SYNC
501
  );
502
  }
503
  } catch (Exception $e) {
464
  {
465
  try {
466
  //Get product collection of new and update products
467
+ $newAndUpdateFraisrProducts = array();
468
+ foreach(Mage::helper('fraisrconnect/synchronisation_product')->getNewAndUpdateFraisrProducts() AS $product){
469
+ $data = $this->buildFaisrProductRequestData($product);
470
+ ksort($data);
471
+ $hash = hash("sha512", implode("", $data));
472
+
473
+ if($hash === $product->getFraisrSyncHash() && !is_null($product->getFraisrId()))
474
+ continue;
475
+
476
+ $product
477
+ ->setFraisrSyncHash($hash)
478
+ ->getResource()
479
+ ->saveAttribute($product, 'fraisr_sync_hash');
480
+
481
+ $newAndUpdateFraisrProducts[] = $product;
482
+ }
483
 
484
  //Mark as to synchronize
485
  Mage::helper('fraisrconnect/synchronisation_product')->markProductCollectionAsToSynchronize(
492
  '%s product(s) were successfully marked as to synchronize (create/update) to fraisr.',
493
  count($newAndUpdateFraisrProducts)
494
  ),
495
+ Fraisr_Connect_Model_Log::LOG_TASK_PRODUCT_SYNC
496
+ );
497
+ }else{
498
+ $this->getAdminHelper()->logAndAdminOutputSuccess(
499
+ $this->getAdminHelper()->__(
500
+ 'There are no products to synchronize.'
501
+ ),
502
+ Fraisr_Connect_Model_Log::LOG_TASK_PRODUCT_SYNC
503
  );
504
  }
505
 
519
  '%s product(s) were successfully marked as to synchronize (delete) to fraisr.',
520
  count($toDeleteProducts) + count($toDeleteProductsByQueue)
521
  ),
522
+ Fraisr_Connect_Model_Log::LOG_TASK_PRODUCT_SYNC
523
  );
524
  }
525
  } catch (Exception $e) {
app/code/community/Fraisr/Connect/controllers/Adminhtml/SynchronisationController.php CHANGED
@@ -23,7 +23,36 @@
23
  * @author André Herrn <andre.herrn@das-medienkombinat.de>
24
  */
25
  class Fraisr_Connect_Adminhtml_SynchronisationController extends Mage_Adminhtml_Controller_Action
26
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  /**
28
  * Check if the admin user is allowed to execute this controller action
29
  *
@@ -93,6 +122,7 @@ class Fraisr_Connect_Adminhtml_SynchronisationController extends Mage_Adminhtml_
93
  */
94
  public function productAction()
95
  {
 
96
  if (true === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
97
  $productSyncronisation = Mage::getModel('fraisrconnect/product');
98
  $productSyncronisation->synchronize();
@@ -103,6 +133,7 @@ class Fraisr_Connect_Adminhtml_SynchronisationController extends Mage_Adminhtml_
103
  );
104
  }
105
  }
 
106
 
107
  $this->_redirectReferer();
108
  return;
@@ -115,10 +146,14 @@ class Fraisr_Connect_Adminhtml_SynchronisationController extends Mage_Adminhtml_
115
  */
116
  public function markProductAction()
117
  {
 
 
118
  if (true === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
119
  Mage::getModel('fraisrconnect/product')->markProductsAsToSynchronize();
120
  }
121
 
 
 
122
  $this->_redirectReferer();
123
  return;
124
  }
23
  * @author André Herrn <andre.herrn@das-medienkombinat.de>
24
  */
25
  class Fraisr_Connect_Adminhtml_SynchronisationController extends Mage_Adminhtml_Controller_Action
26
+ {
27
+ /**
28
+ * Current store code
29
+ * @var String
30
+ */
31
+ protected $_currentStoreCode = null;
32
+
33
+ /**
34
+ * @constructor
35
+ */
36
+ public function _construct(){
37
+ $this->_currentStoreCode = Mage::app()->getStore()->getCode();
38
+ }
39
+
40
+ /**
41
+ * sets to default store
42
+ */
43
+ protected function setDefaultStore(){
44
+ $websites = Mage::app()->getWebsites();
45
+ $code = $websites[1]->getDefaultStore()->getCode();
46
+ Mage::app()->setCurrentStore($code);
47
+ }
48
+
49
+ /**
50
+ * resets store
51
+ * @return [type] [description]
52
+ */
53
+ protected function resetStore(){
54
+ Mage::app()->setCurrentStore($this->_currentStoreCode);
55
+ }
56
  /**
57
  * Check if the admin user is allowed to execute this controller action
58
  *
122
  */
123
  public function productAction()
124
  {
125
+ $this->setDefaultStore();
126
  if (true === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
127
  $productSyncronisation = Mage::getModel('fraisrconnect/product');
128
  $productSyncronisation->synchronize();
133
  );
134
  }
135
  }
136
+ $this->resetStore();
137
 
138
  $this->_redirectReferer();
139
  return;
146
  */
147
  public function markProductAction()
148
  {
149
+ $this->setDefaultStore();
150
+
151
  if (true === Mage::helper('fraisrconnect/adminhtml_data')->isActive(true)) {
152
  Mage::getModel('fraisrconnect/product')->markProductsAsToSynchronize();
153
  }
154
 
155
+ $this->resetStore();
156
+
157
  $this->_redirectReferer();
158
  return;
159
  }
app/code/community/Fraisr/Connect/etc/config.xml CHANGED
@@ -19,7 +19,7 @@
19
  <config>
20
  <modules>
21
  <Fraisr_Connect>
22
- <version>0.4.0</version>
23
  </Fraisr_Connect>
24
  </modules>
25
  <global>
@@ -97,6 +97,42 @@
97
  </fraisr_connect_to_api>
98
  </observers>
99
  </admin_system_config_changed_section_fraisrconnect>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  </events>
101
  </global>
102
  <frontend>
@@ -214,6 +250,10 @@
214
  <synchronisation_days>7</synchronisation_days>
215
  <invoice_items>0</invoice_items>
216
  </order_export>
 
 
 
 
217
  <frontend>
218
  <donation_label>icon</donation_label>
219
  <icon_position>topleft</icon_position>
19
  <config>
20
  <modules>
21
  <Fraisr_Connect>
22
+ <version>0.4.2</version>
23
  </Fraisr_Connect>
24
  </modules>
25
  <global>
97
  </fraisr_connect_to_api>
98
  </observers>
99
  </admin_system_config_changed_section_fraisrconnect>
100
+ <catalog_product_load_after>
101
+ <observers>
102
+ <fraisr_extra_options>
103
+ <type>model</type>
104
+ <class>fraisrconnect/observer</class>
105
+ <method>catalogProductLoadAfter</method>
106
+ </fraisr_extra_options>
107
+ </observers>
108
+ </catalog_product_load_after>
109
+ <sales_convert_quote_item_to_order_item>
110
+ <observers>
111
+ <fraisr_extra_options>
112
+ <type>model</type>
113
+ <class>fraisrconnect/observer</class>
114
+ <method>salesConvertQuoteItemToOrderItem</method>
115
+ </fraisr_extra_options>
116
+ </observers>
117
+ </sales_convert_quote_item_to_order_item>
118
+ <core_block_abstract_prepare_layout_after>
119
+ <observers>
120
+ <fraisr_add_fraisr_filter>
121
+ <type>model</type>
122
+ <class>fraisrconnect/observer</class>
123
+ <method>customgridColumnAppend</method>
124
+ </fraisr_add_fraisr_filter>
125
+ </observers>
126
+ </core_block_abstract_prepare_layout_after>
127
+ <sales_convert_quote_to_order>
128
+ <observers>
129
+ <fraisr_set_has_fraisr_items>
130
+ <type>model</type>
131
+ <class>fraisrconnect/observer</class>
132
+ <method>salesConvertQuoteToOrder</method>
133
+ </fraisr_set_has_fraisr_items>
134
+ </observers>
135
+ </sales_convert_quote_to_order>
136
  </events>
137
  </global>
138
  <frontend>
250
  <synchronisation_days>7</synchronisation_days>
251
  <invoice_items>0</invoice_items>
252
  </order_export>
253
+ <urls>
254
+ <js>https://fraisr-com.s3-eu-west-1.amazonaws.com/assets/magento/fraisr.js</js>
255
+ <css>https://fraisr-com.s3-eu-west-1.amazonaws.com/assets/magento/fraisr.css</css>
256
+ </urls>
257
  <frontend>
258
  <donation_label>icon</donation_label>
259
  <icon_position>topleft</icon_position>
app/code/community/Fraisr/Connect/etc/system.xml CHANGED
@@ -155,6 +155,31 @@
155
  </invoice_items>
156
  </fields>
157
  </order_export>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  <frontend translate="label" module="fraisrconnect">
159
  <label>Donation label product list</label>
160
  <frontend_type>text</frontend_type>
155
  </invoice_items>
156
  </fields>
157
  </order_export>
158
+ <urls translate="label" module="fraisrconnect">
159
+ <label>Embed URLs</label>
160
+ <frontend_type>text</frontend_type>
161
+ <sort_order>300</sort_order>
162
+ <show_in_default>1</show_in_default>
163
+ <show_in_website>1</show_in_website>
164
+ <show_in_store>1</show_in_store>
165
+ <fields>
166
+ <js translate="label comment">
167
+ <label>JS-File</label>
168
+ <frontend_type>text</frontend_type>
169
+ <show_in_default>1</show_in_default>
170
+ <show_in_website>1</show_in_website>
171
+ <show_in_store>1</show_in_store>
172
+ </js>
173
+ <css translate="label comment">
174
+ <label>CSS-File</label>
175
+ <frontend_type>text</frontend_type>
176
+ <validate>required-entry</validate>
177
+ <show_in_default>1</show_in_default>
178
+ <show_in_website>1</show_in_website>
179
+ <show_in_store>1</show_in_store>
180
+ </css>
181
+ </fields>
182
+ </urls>
183
  <frontend translate="label" module="fraisrconnect">
184
  <label>Donation label product list</label>
185
  <frontend_type>text</frontend_type>
app/code/community/Fraisr/Connect/sql/fraisrconnect_setup/mysql4-upgrade-0.4.0-0.4.1.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * @category Fraisr
12
+ * @package Fraisr_Connect
13
+ * @copyright Copyright (c) 2013 das MedienKombinat Gmbh <kontakt@das-medienkombinat.de>
14
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
+ * @author André Herrn <andre.herrn@das-medienkombinat.de>
16
+ */
17
+
18
+ $installer = $this;
19
+ $installer->startSetup();
20
+
21
+ $installer->run("
22
+ ALTER TABLE {$this->getTable('sales/order')} ADD `has_fraisr_items` BOOLEAN NOT NULL DEFAULT FALSE;
23
+ ALTER TABLE {$this->getTable('sales/order_grid')} ADD `has_fraisr_items` BOOLEAN NOT NULL DEFAULT FALSE;
24
+ ");
25
+
26
+ $installer->endSetup();
app/code/community/Fraisr/Connect/sql/fraisrconnect_setup/mysql4-upgrade-0.4.1-0.4.2.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ *
11
+ * @category Fraisr
12
+ * @package Fraisr_Connect
13
+ * @copyright Copyright (c) 2013 fraisr GmbH <hello@fraisr.com>
14
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
15
+ * @author Christopher Knötschke <chris@fraisr.com>
16
+ */
17
+
18
+ $installer = $this;
19
+ $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
20
+ $installer->startSetup();
21
+ $fraisrHelper = Mage::helper("fraisrconnect/data");
22
+
23
+ /**
24
+ * Setup values
25
+ */
26
+ $fraisrAttributeGroup = "fraisr";
27
+ $productTypes = array(
28
+ 'bundle',
29
+ 'virtual',
30
+ 'simple',
31
+ 'configurable',
32
+ 'downloadable'
33
+ );
34
+
35
+ //fraisr sync hash
36
+ $setup->addAttribute(
37
+ 'catalog_product',
38
+ 'fraisr_sync_hash',
39
+ array(
40
+ 'group' => $fraisrAttributeGroup,
41
+ 'input' => 'text',
42
+ 'type' => 'varchar',
43
+ 'default' => null,
44
+ 'label' => $fraisrHelper->__("fraisr Sync Hash"),
45
+ 'note' => $fraisrHelper->__("Wird bei der Produkt-Synchronisation vergeben."),
46
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
47
+ 'apply_to' => implode(",", $productTypes),
48
+ 'sort_order' => 500,
49
+ 'visible' => 0,
50
+ 'required' => 0,
51
+ 'user_defined' => 1,
52
+ 'searchable' => 0,
53
+ 'filterable' => 0,
54
+ 'comparable' => 1,
55
+ 'visible_on_front' => 0,
56
+ 'visible_in_advanced_search' => 0,
57
+ 'is_html_allowed_on_front' => 0,
58
+ 'used_in_product_listing' => 1,
59
+ )
60
+ );
61
+
62
+ $installer->endSetup();
app/design/frontend/base/default/template/fraisrconnect/frontend/widget.phtml CHANGED
@@ -18,11 +18,11 @@
18
 
19
  <script
20
  type="text/javascript"
21
- src="https://s3-eu-west-1.amazonaws.com/fraisr-com/assets/magento/fraisr.js">
22
  </script>
23
 
24
  <link
25
  rel="stylesheet"
26
  type="text/css"
27
- href="https://s3-eu-west-1.amazonaws.com/fraisr-com/assets/magento/fraisr.css"
28
  media="all" />
18
 
19
  <script
20
  type="text/javascript"
21
+ src="<?php echo $this->getFraisrWidgetJsUri(); ?>">
22
  </script>
23
 
24
  <link
25
  rel="stylesheet"
26
  type="text/css"
27
+ href="<?php echo $this->getFraisrWidgetCssUri() ?>"
28
  media="all" />
app/locale/de_DE/Fraisr_Connect.csv CHANGED
@@ -125,4 +125,7 @@
125
  "Product synchronisation","Produkt-Synchronisierung"
126
  "Order synchronisation","Bestellungs-Synchronisierung"
127
  "Invoice items","Rechnungsartikel"
128
- "If activated invoice item amount will be taken as reference instead of order item amount.","Sofern aktiviert, werden anstatt der Anzahl der bestellten Artikel die Anzahl der in Rechnung gestellten Artikel als Referenz verwendet."
 
 
 
125
  "Product synchronisation","Produkt-Synchronisierung"
126
  "Order synchronisation","Bestellungs-Synchronisierung"
127
  "Invoice items","Rechnungsartikel"
128
+ "If activated invoice item amount will be taken as reference instead of order item amount.","Sofern aktiviert, werden anstatt der Anzahl der bestellten Artikel die Anzahl der in Rechnung gestellten Artikel als Referenz verwendet."
129
+ "%s%% donation will go to %s","%s%% Spende gehen an %s"
130
+ "Has fraisr items","Hat fraisr Artikel"
131
+ "There are no products to synchronize.","Es gibt keine Produkte, die synchronisiert werden müssen."
app/locale/en_US/Fraisr_Connect.csv CHANGED
@@ -125,4 +125,7 @@
125
  "Product synchronisation","Product synchronisation"
126
  "Order synchronisation","Order synchronisation"
127
  "Invoice items","Invoice items"
128
- "If activated invoice item amount will be taken as reference instead of order item amount.","If activated invoice item amount will be taken as reference instead of order item amount."
 
 
 
125
  "Product synchronisation","Product synchronisation"
126
  "Order synchronisation","Order synchronisation"
127
  "Invoice items","Invoice items"
128
+ "If activated invoice item amount will be taken as reference instead of order item amount.","If activated invoice item amount will be taken as reference instead of order item amount."
129
+ "%s%% donation will go to %s","%s%% donation will go to %s"
130
+ "Has fraisr items","Has fraisr items"
131
+ "There are no products to synchronize.","There are no products to synchronize."
package.xml CHANGED
@@ -1,19 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fraisr</name>
4
- <version>0.4.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension zur Anbindung von Magento an den fraisr-Marktplatz</summary>
10
  <description>Extension zur Anbindung von Magento an den fraisr-Marktplatz</description>
11
- <notes>* Added language support&#xD;
12
- * Added connection to fraisr</notes>
13
  <authors><author><name>Andre Herrn</name><user>fraisr</user><email>andre.herrn@das-medienkombinat.de</email></author><author><name>Christopher Kn&#xF6;tschke</name><user>fraisr</user><email>chris@fraisr.com</email></author></authors>
14
- <date>2013-10-11</date>
15
- <time>13:28:21</time>
16
- <contents><target name="magecommunity"><dir name="Fraisr"><dir name="Connect"><dir name="Block"><dir name="Adminhtml"><dir name="Entity"><dir name="Attribute"><file name="FraisrId.php" hash="3b5b31fa5ea711b2ff7fd62493af9385"/><file name="FraisrUpdate.php" hash="7c4cd9a33e95d2a6157aa7e19e58faac"/></dir></dir><dir name="Log"><dir name="Edit"><file name="Form.php" hash="738ccce441a380d9e550dbb195d4ca65"/></dir><file name="Edit.php" hash="a7a9d340645576c63d48f878e7f89553"/><file name="Grid.php" hash="5fdad267ad670efa9ff8219aa6e81f58"/></dir><file name="Log.php" hash="70da89bf7cff8f93993701d3e97e57dc"/><dir name="System"><dir name="Config"><file name="Support.php" hash="87cefd408ad58ea5b60aa32960dbfcb9"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Json"><file name="List.php" hash="bac5ca7939aba90877528281ab1c7d67"/><file name="View.php" hash="010195c62bded52ecaad7c5f2040f732"/></dir><dir name="View"><file name="Label.php" hash="de5f606295354b19ac28bdd18370c3b6"/></dir></dir></dir><dir name="Frontend"><file name="Widget.php" hash="104642fb642c5bc4d160df189d033f5a"/></dir></dir><file name="Exception.php" hash="56e65be5923c5095d3741b282d2dfd69"/><dir name="Helper"><dir name="Adminhtml"><file name="Data.php" hash="38160355e1a0e54f9a5306c5b5a413b2"/></dir><file name="Data.php" hash="1e11e42b6d3e5ed038aa5dd3faf07c68"/><dir name="Synchronisation"><file name="Abstract.php" hash="ddb949841004ec8aeb9d03f03753d6aa"/><file name="Order.php" hash="84a2996123f842415675670b37767d4b"/><file name="Product.php" hash="3870e04fb00db2e7f16f148d28509b89"/></dir></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="e07c7c64278f3d1b6982eb36ac08e59f"/><file name="Request.php" hash="8f0359bf541e3fd6404a34976478a650"/><file name="Response.php" hash="6fcff68389fb6bff85b0743066e5f0cd"/></dir><file name="Category.php" hash="82c652c89ea5038e7a0a25a779acd481"/><file name="Cause.php" hash="c9fef8c82e096485a5a8945fe02a6115"/><file name="Config.php" hash="9fdcaf654f4544516ff684ef647dcfc8"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="8516fdca6750d63b4e0c2b1430b12c36"/><file name="Cause.php" hash="45b934d6baa7e60c17b85f0ab444c824"/><file name="DonationPercentage.php" hash="603bccb9c8fcf68f76ed41fa421f4964"/><file name="Visibility.php" hash="eabb285ce7c1d02f88e3a5e909429da2"/></dir></dir></dir><file name="Log.php" hash="afa03219f67f5dfa3d6da9c69525b9f7"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="572bdc6a3a818a644a8afa170bd79a1c"/></dir><file name="Category.php" hash="ec8b07d6447905add97f3934622b839d"/><dir name="Cause"><file name="Collection.php" hash="37294f0c2b82e7dce37ef3aef99c45c2"/></dir><file name="Cause.php" hash="795bab5edab9c89987e09a8f260b2c73"/><dir name="Log"><file name="Collection.php" hash="1f0e9993959e694112be1762691600b3"/></dir><file name="Log.php" hash="88f831dc313b2873871a8db508717a47"/></dir><file name="Observer.php" hash="321a53a41ff22dadca94d1c38958a2fa"/><file name="Order.php" hash="0bb42ff34f3aa898d027df2ec28bd26c"/><file name="Product.php" hash="c7b3a18ce6e0f428929d2dc3e4fccc6f"/><dir name="Resource"><file name="Setup.php" hash="6e188164f57fe01fdade6af0e2b5966c"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="BanderolePosition.php" hash="6950b70d023c8d7ff475b7a1ec157363"/><file name="DonationLabel.php" hash="cad5e736745ec3d81a53c67e9cf2f018"/><file name="IconPosition.php" hash="70d21f296eea0833f8f2b5fd7278e1ec"/><file name="ProductAttribute.php" hash="9cbe063b1adc8e6441d490106cb290a8"/><file name="Scope.php" hash="90070b38db18fc47b07c590337253651"/></dir></dir></dir></dir><dir name="controllers"><file name="AbstractController.php" hash="f31bdb501dd175254a135eb63a760054"/><dir name="Adminhtml"><file name="LogController.php" hash="96be78d8f0bc0b927cb0296434066bed"/><file name="SynchronisationController.php" hash="c5034246cd58b91955a26a0cd1947b31"/></dir><file name="OrdersController.php" hash="4ae0b2dd6cb672485503b5695812439e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c45830aa9aa1d61cb578280836fd1d77"/><file name="config.xml" hash="f50ed64513b12c502c29a1b28e367433"/><file name="system.xml" hash="3d33fe5e508b0667dc141b84d27e296e"/></dir><dir name="sql"><dir name="fraisrconnect_setup"><file name="mysql4-install-0.1.0.php" hash="538c2dda212b55e84facbe02020e8a1c"/><file name="mysql4-upgrade-0.1.0-0.1.2.php" hash="3c3826353e7aef17db3d43614022bd05"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="64341dc3b0e89ea6cce00ade40225305"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="746c98b109deea2b7648f16c9629a28d"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="04c452067cc87efd6140a369de5c0a27"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="a24f127685ec51d289b964a353258e05"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="011d3d7df9c2532d3295a53095764731"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="59b871795b0cef1789895a9e0de827eb"/><file name="mysql4-upgrade-0.1.8-0.2.0.php" hash="ca49d4510a5c6fbec8ce7414e11046a2"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="f9c5a6f192d10ef8985ae62904b7f68b"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="ca4e5fca6c3ab44f21a1d3cc92033bac"/><file name="mysql4-upgrade-0.2.2-0.3.0.php" hash="ef0fe908d322f82ebbb8b60b19320111"/><file name="mysql4-upgrade-0.3.0-0.3.3.php" hash="2f0b456b26f5d0fe02d59965c7ec1c47"/><file name="mysql4-upgrade-0.3.3-0.3.4.php" hash="12c4cf36ff8c0b4e64d1d3a46fed844a"/><file name="mysql4-upgrade-0.3.4-0.3.5.php" hash="d28242fa6ce43180fad6bcf501d90532"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="04c452067cc87efd6140a369de5c0a27"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fraisr_Connect.xml" hash="e037cdec4cbb114352f359be5167baf2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="catalog"><dir name="product"><dir name="json"><file name="list.phtml" hash="3361fe64acda92225d82cf028c960514"/><file name="view.phtml" hash="bf4b2a000e4c6f0748bf34f51f4238b5"/></dir><dir name="view"><file name="label_bottom.phtml" hash="bfa63e6c013424207d2d7df1d240ccb1"/><file name="label_top.phtml" hash="c9b9eec5c7bb546791eac70b770e9b68"/></dir></dir></dir><dir name="frontend"><file name="widget.phtml" hash="95f14bb9e6f2591a6b81d54437352e86"/></dir></dir></dir><dir name="layout"><file name="fraisrconnect.xml" hash="4f04d956b570f8e57f423fb77d408938"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="system"><dir name="config"><file name="support.phtml" hash="be21e090f46e29ca2ce6e19474085fc4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Fraisr_Connect.csv" hash="31eb112fb42c472d3b20781442f4c0d7"/></dir><dir name="en_US"><file name="Fraisr_Connect.csv" hash="8b3cbd33722724a7183fbfe3d6c1e5a2"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fraisr</name>
4
+ <version>0.4.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension zur Anbindung von Magento an den fraisr-Marktplatz</summary>
10
  <description>Extension zur Anbindung von Magento an den fraisr-Marktplatz</description>
11
+ <notes>* Bugfixes&#xD;
12
+ * Products will be synced now, if something has changed</notes>
13
  <authors><author><name>Andre Herrn</name><user>fraisr</user><email>andre.herrn@das-medienkombinat.de</email></author><author><name>Christopher Kn&#xF6;tschke</name><user>fraisr</user><email>chris@fraisr.com</email></author></authors>
14
+ <date>2013-10-22</date>
15
+ <time>12:27:42</time>
16
+ <contents><target name="magecommunity"><dir name="Fraisr"><dir name="Connect"><dir name="Block"><dir name="Adminhtml"><dir name="Entity"><dir name="Attribute"><file name="FraisrId.php" hash="3b5b31fa5ea711b2ff7fd62493af9385"/><file name="FraisrUpdate.php" hash="7c4cd9a33e95d2a6157aa7e19e58faac"/></dir></dir><dir name="Log"><dir name="Edit"><file name="Form.php" hash="738ccce441a380d9e550dbb195d4ca65"/></dir><file name="Edit.php" hash="a7a9d340645576c63d48f878e7f89553"/><file name="Grid.php" hash="5fdad267ad670efa9ff8219aa6e81f58"/></dir><file name="Log.php" hash="70da89bf7cff8f93993701d3e97e57dc"/><dir name="System"><dir name="Config"><file name="Support.php" hash="87cefd408ad58ea5b60aa32960dbfcb9"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Json"><file name="List.php" hash="bac5ca7939aba90877528281ab1c7d67"/><file name="View.php" hash="d886952165104a8589ab331bb4582b1c"/></dir><dir name="View"><file name="Label.php" hash="de5f606295354b19ac28bdd18370c3b6"/></dir></dir></dir><dir name="Frontend"><file name="Widget.php" hash="104642fb642c5bc4d160df189d033f5a"/></dir></dir><file name="Exception.php" hash="56e65be5923c5095d3741b282d2dfd69"/><dir name="Helper"><dir name="Adminhtml"><file name="Data.php" hash="38160355e1a0e54f9a5306c5b5a413b2"/></dir><file name="Data.php" hash="1e11e42b6d3e5ed038aa5dd3faf07c68"/><dir name="Synchronisation"><file name="Abstract.php" hash="ddb949841004ec8aeb9d03f03753d6aa"/><file name="Order.php" hash="84a2996123f842415675670b37767d4b"/><file name="Product.php" hash="3870e04fb00db2e7f16f148d28509b89"/></dir></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="e07c7c64278f3d1b6982eb36ac08e59f"/><file name="Request.php" hash="8f0359bf541e3fd6404a34976478a650"/><file name="Response.php" hash="6fcff68389fb6bff85b0743066e5f0cd"/></dir><file name="Category.php" hash="82c652c89ea5038e7a0a25a779acd481"/><file name="Cause.php" hash="c9fef8c82e096485a5a8945fe02a6115"/><file name="Config.php" hash="36d81d59190e44a0c726cc7ae15d896b"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="8516fdca6750d63b4e0c2b1430b12c36"/><file name="Cause.php" hash="45b934d6baa7e60c17b85f0ab444c824"/><file name="DonationPercentage.php" hash="603bccb9c8fcf68f76ed41fa421f4964"/><file name="Visibility.php" hash="eabb285ce7c1d02f88e3a5e909429da2"/></dir></dir></dir><file name="Log.php" hash="afa03219f67f5dfa3d6da9c69525b9f7"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="572bdc6a3a818a644a8afa170bd79a1c"/></dir><file name="Category.php" hash="ec8b07d6447905add97f3934622b839d"/><dir name="Cause"><file name="Collection.php" hash="37294f0c2b82e7dce37ef3aef99c45c2"/></dir><file name="Cause.php" hash="795bab5edab9c89987e09a8f260b2c73"/><dir name="Log"><file name="Collection.php" hash="1f0e9993959e694112be1762691600b3"/></dir><file name="Log.php" hash="88f831dc313b2873871a8db508717a47"/></dir><file name="Observer.php" hash="d3039acd4cd6112fbe8d57df29650c8f"/><file name="Order.php" hash="0bb42ff34f3aa898d027df2ec28bd26c"/><file name="Product.php" hash="e62abdfc68acb64a90349bb5bae8e6f5"/><dir name="Resource"><file name="Setup.php" hash="6e188164f57fe01fdade6af0e2b5966c"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="BanderolePosition.php" hash="6950b70d023c8d7ff475b7a1ec157363"/><file name="DonationLabel.php" hash="cad5e736745ec3d81a53c67e9cf2f018"/><file name="IconPosition.php" hash="70d21f296eea0833f8f2b5fd7278e1ec"/><file name="ProductAttribute.php" hash="9cbe063b1adc8e6441d490106cb290a8"/><file name="Scope.php" hash="90070b38db18fc47b07c590337253651"/></dir></dir></dir></dir><dir name="controllers"><file name="AbstractController.php" hash="f31bdb501dd175254a135eb63a760054"/><dir name="Adminhtml"><file name="LogController.php" hash="96be78d8f0bc0b927cb0296434066bed"/><file name="SynchronisationController.php" hash="66a356c75e8602b75891b7197472bac1"/></dir><file name="OrdersController.php" hash="4ae0b2dd6cb672485503b5695812439e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c45830aa9aa1d61cb578280836fd1d77"/><file name="config.xml" hash="c86d5f3886d9c83119eaacd4ae8380c6"/><file name="system.xml" hash="4e13ce94b137352e2da43ab406905cfb"/></dir><dir name="sql"><dir name="fraisrconnect_setup"><file name="mysql4-install-0.1.0.php" hash="538c2dda212b55e84facbe02020e8a1c"/><file name="mysql4-upgrade-0.1.0-0.1.2.php" hash="3c3826353e7aef17db3d43614022bd05"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="64341dc3b0e89ea6cce00ade40225305"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="746c98b109deea2b7648f16c9629a28d"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="04c452067cc87efd6140a369de5c0a27"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="a24f127685ec51d289b964a353258e05"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="011d3d7df9c2532d3295a53095764731"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="59b871795b0cef1789895a9e0de827eb"/><file name="mysql4-upgrade-0.1.8-0.2.0.php" hash="ca49d4510a5c6fbec8ce7414e11046a2"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="f9c5a6f192d10ef8985ae62904b7f68b"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="ca4e5fca6c3ab44f21a1d3cc92033bac"/><file name="mysql4-upgrade-0.2.2-0.3.0.php" hash="ef0fe908d322f82ebbb8b60b19320111"/><file name="mysql4-upgrade-0.3.0-0.3.3.php" hash="2f0b456b26f5d0fe02d59965c7ec1c47"/><file name="mysql4-upgrade-0.3.3-0.3.4.php" hash="12c4cf36ff8c0b4e64d1d3a46fed844a"/><file name="mysql4-upgrade-0.3.4-0.3.5.php" hash="d28242fa6ce43180fad6bcf501d90532"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="04c452067cc87efd6140a369de5c0a27"/><file name="mysql4-upgrade-0.4.0-0.4.1.php" hash="5b87d9c425eef9ddee0085e91b513b67"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="3ad65c1fa98f4823ec856fc47fb6a234"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fraisr_Connect.xml" hash="e037cdec4cbb114352f359be5167baf2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="catalog"><dir name="product"><dir name="json"><file name="list.phtml" hash="3361fe64acda92225d82cf028c960514"/><file name="view.phtml" hash="bf4b2a000e4c6f0748bf34f51f4238b5"/></dir><dir name="view"><file name="label_bottom.phtml" hash="bfa63e6c013424207d2d7df1d240ccb1"/><file name="label_top.phtml" hash="c9b9eec5c7bb546791eac70b770e9b68"/></dir></dir></dir><dir name="frontend"><file name="widget.phtml" hash="af561ae0ea6d7d0f788d2a1b1346f3df"/></dir></dir></dir><dir name="layout"><file name="fraisrconnect.xml" hash="4f04d956b570f8e57f423fb77d408938"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="system"><dir name="config"><file name="support.phtml" hash="be21e090f46e29ca2ce6e19474085fc4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Fraisr_Connect.csv" hash="36361e1fcdb8155a00f7d814bc7e3cef"/></dir><dir name="en_US"><file name="Fraisr_Connect.csv" hash="43c166f3397377e9eb04260e6e8b96dc"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>