eKomi_integration - Version 1.1.1

Version Notes

- Multiple status can be selected to put order to eKomi
- product Sku will be used for gbase

Download this release

Release Info

Developer Heinz Schrader
Extension eKomi_integration
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

app/code/community/Ekomi/EkomiIntegration/Model/Observer.php CHANGED
@@ -24,8 +24,10 @@ class Ekomi_EkomiIntegration_Model_Observer
24
  $order = $observer->getEvent()->getOrder();
25
  $storeId = $order->getStoreId();
26
  $helper = Mage::helper('ekomi_ekomiIntegration');
 
27
 
28
- if (!$helper->isModuleEnabled($storeId) || ($helper->getOrderStatusForReviewEmail() != $order->getStatus())) {
 
29
  return;
30
  }
31
 
@@ -89,7 +91,7 @@ class Ekomi_EkomiIntegration_Model_Observer
89
  $productOther = array(
90
  'image_url' => utf8_decode(Mage::helper('catalog/image')->init($product, 'thumbnail')),
91
  'product_ids' => array(
92
- 'ean' => utf8_decode($product->getSku())
93
  ), // product IDs
94
  'links' => array(
95
  array('rel' => 'canonical', 'type' => 'text/html',
24
  $order = $observer->getEvent()->getOrder();
25
  $storeId = $order->getStoreId();
26
  $helper = Mage::helper('ekomi_ekomiIntegration');
27
+ $statuses = explode(',', $helper->getOrderStatusForReviewEmail());
28
 
29
+ if (!$helper->isModuleEnabled($storeId) || (is_array($statuses) &&
30
+ !empty($statuses) && !in_array($order->getStatus(), $statuses))) {
31
  return;
32
  }
33
 
91
  $productOther = array(
92
  'image_url' => utf8_decode(Mage::helper('catalog/image')->init($product, 'thumbnail')),
93
  'product_ids' => array(
94
+ 'gbase' => utf8_decode($product->getSku())
95
  ), // product IDs
96
  'links' => array(
97
  array('rel' => 'canonical', 'type' => 'text/html',
app/code/community/Ekomi/EkomiIntegration/etc/system.xml CHANGED
@@ -77,7 +77,7 @@
77
  </shop_password>
78
  <order_status translate="label">
79
  <label>Order Status</label>
80
- <frontend_type>select</frontend_type>
81
  <source_model>ekomi_ekomiIntegration/system_config_source_dropdown_status</source_model>
82
  <sort_order>9</sort_order>
83
  <comment>Order status when review email should be sent. Please note number of days added for delay will be after this</comment>
77
  </shop_password>
78
  <order_status translate="label">
79
  <label>Order Status</label>
80
+ <frontend_type>multiselect</frontend_type>
81
  <source_model>ekomi_ekomiIntegration/system_config_source_dropdown_status</source_model>
82
  <sort_order>9</sort_order>
83
  <comment>Order status when review email should be sent. Please note number of days added for delay will be after this</comment>
package.xml CHANGED
@@ -1,19 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>eKomi_integration</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license>AFL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This plugin allows you to integrate your magento shop easily with eKomi system to collect verified reviews</summary>
10
  <description>eKomi Plugin for Magento allows you to integrate your Magento shop easily with eKomi system. This allows you to collect verified reviews, display eKomi seal on your website and get your seller ratings on Google. This helps you increase your website's click through rates, conversion rates and also, if you are running Google AdWord Campaigns, this helps in improving your Quality Score and hence your costs per click.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;eKomi Reviews and Ratings allows you to:&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Collect order and/or product base Reviews&lt;/li&gt;&lt;li&gt;Supports Simple, Configurable, Grouped and Bundle products&lt;/li&gt;&lt;li&gt;Manage Reviews: our team of Customer Feedback Managers, reviews each and every review for any terms which are not allowed and also put all negative reviews in moderation.&lt;/li&gt;&lt;li&gt;Publish reviews on search engines: Google, Bing, Yahoo!&lt;/li&gt;&lt;li&gt;Easy Integration with eKomi.&lt;/li&gt;&lt;li&gt;Get Google Seller Ratings.&lt;/li&gt;&lt;li&gt;Increase Click through Rate by over 17%&lt;/li&gt;&lt;li&gt;Increase conversion Rate&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;eKomi is available in English, French, German, Spanish, Dutch, Italian, Russian and Polish&lt;br /&gt;If you have any questions regarding the plugin, please contact your eKomi Account Manager.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Please note&lt;/b&gt; that you will need an eKomi account to use the plugin. To create an eKomi account, go to &lt;a href="http://eKomi.com"&gt;eKomi.com&lt;/a&gt;.</description>
11
- <notes>- Instead of sending review emails for all orders, admin can select order status for which review emails will be sent. &#xD;
12
- - Product canonical url and image url will also be sent to put products at eKomi</notes>
13
  <authors><author><name>Heinz Schrader</name><user>hschrader</user><email>hschrader@ekomi-group.com</email></author></authors>
14
- <date>2016-04-20</date>
15
- <time>07:55:23</time>
16
- <contents><target name="magecommunity"><dir name="Ekomi"><dir name="EkomiIntegration"><dir name="Helper"><file name="Data.php" hash="8be49ce99c68f7f2b07cf1f14d78bc71"/></dir><dir name="Model"><file name="Observer.php" hash="ede218ead9109d1e3e46dac4ed4df1ba"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Status.php" hash="890aab8d85bd23b7a46ab8b87758a018"/></dir></dir></dir></dir><file name="Validate.php" hash="3ef621788942bff9f80b36683696d936"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2d3f2d8b63b0af22a11d5dee861fddfc"/><file name="config.xml" hash="975ee81758ce2f8864852a0c28964959"/><file name="system.xml" hash="fe30d8242380fe5501ccda068c737e0e"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ekomi_EkomiIntegration.xml" hash="e84d0589f7081183d0d3d1e1c66c059e"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.0.0</min><max>7.0.1</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>eKomi_integration</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>AFL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This plugin allows you to integrate your magento shop easily with eKomi system to collect verified reviews</summary>
10
  <description>eKomi Plugin for Magento allows you to integrate your Magento shop easily with eKomi system. This allows you to collect verified reviews, display eKomi seal on your website and get your seller ratings on Google. This helps you increase your website's click through rates, conversion rates and also, if you are running Google AdWord Campaigns, this helps in improving your Quality Score and hence your costs per click.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;eKomi Reviews and Ratings allows you to:&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Collect order and/or product base Reviews&lt;/li&gt;&lt;li&gt;Supports Simple, Configurable, Grouped and Bundle products&lt;/li&gt;&lt;li&gt;Manage Reviews: our team of Customer Feedback Managers, reviews each and every review for any terms which are not allowed and also put all negative reviews in moderation.&lt;/li&gt;&lt;li&gt;Publish reviews on search engines: Google, Bing, Yahoo!&lt;/li&gt;&lt;li&gt;Easy Integration with eKomi.&lt;/li&gt;&lt;li&gt;Get Google Seller Ratings.&lt;/li&gt;&lt;li&gt;Increase Click through Rate by over 17%&lt;/li&gt;&lt;li&gt;Increase conversion Rate&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;eKomi is available in English, French, German, Spanish, Dutch, Italian, Russian and Polish&lt;br /&gt;If you have any questions regarding the plugin, please contact your eKomi Account Manager.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Please note&lt;/b&gt; that you will need an eKomi account to use the plugin. To create an eKomi account, go to &lt;a href="http://eKomi.com"&gt;eKomi.com&lt;/a&gt;.</description>
11
+ <notes>- Multiple status can be selected to put order to eKomi &#xD;
12
+ - product Sku will be used for gbase</notes>
13
  <authors><author><name>Heinz Schrader</name><user>hschrader</user><email>hschrader@ekomi-group.com</email></author></authors>
14
+ <date>2016-04-21</date>
15
+ <time>10:53:29</time>
16
+ <contents><target name="magecommunity"><dir name="Ekomi"><dir name="EkomiIntegration"><dir name="Helper"><file name="Data.php" hash="8be49ce99c68f7f2b07cf1f14d78bc71"/></dir><dir name="Model"><file name="Observer.php" hash="9bfa00dc17e6b43ef2efd0c41f1ccabd"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Status.php" hash="890aab8d85bd23b7a46ab8b87758a018"/></dir></dir></dir></dir><file name="Validate.php" hash="3ef621788942bff9f80b36683696d936"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2d3f2d8b63b0af22a11d5dee861fddfc"/><file name="config.xml" hash="975ee81758ce2f8864852a0c28964959"/><file name="system.xml" hash="df524190c11297dd287e6ff93737d44f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ekomi_EkomiIntegration.xml" hash="e84d0589f7081183d0d3d1e1c66c059e"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.0.0</min><max>7.0.1</max></php></required></dependencies>
19
  </package>