feedaty - Version 1.1.16

Version Notes

First official relase

Download this release

Release Info

Developer Feedaty
Extension feedaty
Version 1.1.16
Comparing to
See all releases


Code changes from version 1.1.15 to 1.1.16

app/code/community/Feedaty/Badge/Model/Observe.php CHANGED
@@ -20,28 +20,30 @@ class Feedaty_Badge_Model_Observe
20
 
21
  foreach ($objproducts as $itemId => $item) {
22
  unset($tmp);
23
- $fd_oProduct = Mage::getModel('catalog/product')->load((int) $item->getProductId());
 
24
 
25
- $tmp['Id'] = $item->getProductId();
26
 
27
 
28
- Mage::getModel('core/url_rewrite')->loadByRequestPath(
29
- $tmp['Url'] = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$fd_oProduct->getUrlPath()
30
- );
31
- if ($fd_oProduct->getImage() != "no_selection")
32
- $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
33
- else
34
- $tmp['ImageUrl'] = "";
35
- //$tmp['sku'] = $item->getSku();
36
 
37
- $tmp['Name'] = $item->getName();
38
- $tmp['Brand'] = $item->getBrand();
39
- if (is_null($tmp['Brand'])) $tmp['Brand'] = "";
40
 
41
 
42
- //$tmp['Price'] = $item->getPrice();
43
-
44
- $fd_products[] = $tmp;
 
45
  }
46
  // ********************************
47
 
20
 
21
  foreach ($objproducts as $itemId => $item) {
22
  unset($tmp);
23
+ if (!$item->getParentItem()) {
24
+ $fd_oProduct = Mage::getModel('catalog/product')->load((int) $item->getProductId());
25
 
26
+ $tmp['Id'] = $item->getProductId();
27
 
28
 
29
+ Mage::getModel('core/url_rewrite')->loadByRequestPath(
30
+ $tmp['Url'] = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$fd_oProduct->getUrlPath()
31
+ );
32
+ if ($fd_oProduct->getImage() != "no_selection")
33
+ $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
34
+ else
35
+ $tmp['ImageUrl'] = "";
36
+ //$tmp['sku'] = $item->getSku();
37
 
38
+ $tmp['Name'] = $item->getName();
39
+ $tmp['Brand'] = $item->getBrand();
40
+ if (is_null($tmp['Brand'])) $tmp['Brand'] = "";
41
 
42
 
43
+ //$tmp['Price'] = $item->getPrice();
44
+
45
+ $fd_products[] = $tmp;
46
+ }
47
  }
48
  // ********************************
49
 
app/code/community/Feedaty/Badge/Model/WebService.php CHANGED
@@ -123,6 +123,7 @@ class Feedaty_Badge_Model_WebService {
123
  $fdata['keyValuePairs'][] = array("Key" => "Action", "Value" => "Enabled");
124
  $fdata['keyValuePairs'][] = array("Key" => "Position_Merchant", "Value" => Mage::getStoreConfig('feedaty_badge_options/widget_store/store_position'));
125
  $fdata['keyValuePairs'][] = array("Key" => "Position_Product", "Value" => Mage::getStoreConfig('feedaty_badge_options/widget_products/product_position'));
 
126
 
127
  $fdata['merchantCode'] = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code');
128
 
123
  $fdata['keyValuePairs'][] = array("Key" => "Action", "Value" => "Enabled");
124
  $fdata['keyValuePairs'][] = array("Key" => "Position_Merchant", "Value" => Mage::getStoreConfig('feedaty_badge_options/widget_store/store_position'));
125
  $fdata['keyValuePairs'][] = array("Key" => "Position_Product", "Value" => Mage::getStoreConfig('feedaty_badge_options/widget_products/product_position'));
126
+ $fdata['keyValuePairs'][] = array("Key" => "Status", "Value" => Mage::getStoreConfig('feedaty_global/sendorder/sendorder'));
127
 
128
  $fdata['merchantCode'] = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code');
129
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>feedaty</name>
4
- <version>1.1.15</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Feedaty is a social commerce site dedicated to online stores for the professional management of customer feedback. The service is provided through a platform Saas (Software as a Service) and may be activated quickly and easily through a short integration process.</description>
11
  <notes>First official relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
- <date>2013-07-08</date>
14
- <time>15:24:34</time>
15
- <contents><target name="magecommunity"><dir name="Feedaty"><dir name="Badge"><dir name="Block"><file name="LinkCsv.php" hash="92bf7932d32914adcc1b9547b59c7d49"/><file name="Product.php" hash="d896175131b871bf7f309e57ef5099dd"/></dir><dir name="Helper"><file name="Data.php" hash="51386589a569b1e52baa7f30f07a946b"/></dir><dir name="Model"><file name="Generate.php" hash="764bba52f5964740236c58b905c6d02c"/><file name="Observe.php" hash="4a3c98eca7f1e06cbf0a16a4936dffd5"/><file name="Order.php" hash="ad5588401fb34ee4e081c7e27bc2b694"/><file name="OrderStatuses.php" hash="c122ad1e6360bd53bc3598c4c3046a02"/><file name="PositionProduct.php" hash="5ed4224b515770f1b2f794a039f6d6c5"/><file name="PositionStore.php" hash="9f3b948fd1046a2b428d51fe51f72778"/><file name="StyleProduct.php" hash="e306b9889e6f5d15bd3db729bf158eda"/><file name="StyleStore.php" hash="612898c7f347753f21a761c2addd7cd0"/><file name="WebService.php" hash="ed774a33ab292578a30fb1acf910744d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="3331c66c765ea34e2b2f341e06ea4622"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dfb3514a624955eb430780b923f10fb0"/><file name="config.xml" hash="37832ca12efdd22638277d45f76c4e2b"/><file name="system.xml" hash="ecf35eb131cba17fb4bcff37497efa3c"/><file name="widget.xml" hash="f2b00c74bc9a0e7690be5cbe474efb47"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="Feedaty.xml" hash="eff88446ec32cc43a30a6c54a6f4937a"/></dir><dir name="template"><dir name="feedaty"><file name="base.phtml" hash="0009ab0914e8cb8ab1f3461ff2d6822b"/><file name="product_reviews.phtml" hash="f0978d0158078ab72ab1bad86b1a3933"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Feedaty.csv" hash="4d219cae9bc37e462c9604c475833adf"/></dir></target><target name="mageetc"><dir name="modules"><file name="Feedaty_Badge.xml" hash="e4e47863d6724079e09a6d4d53152275"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>feedaty</name>
4
+ <version>1.1.16</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
10
  <description>Feedaty is a social commerce site dedicated to online stores for the professional management of customer feedback. The service is provided through a platform Saas (Software as a Service) and may be activated quickly and easily through a short integration process.</description>
11
  <notes>First official relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
+ <date>2013-07-16</date>
14
+ <time>15:34:18</time>
15
+ <contents><target name="magecommunity"><dir name="Feedaty"><dir name="Badge"><dir name="Block"><file name="LinkCsv.php" hash="92bf7932d32914adcc1b9547b59c7d49"/><file name="Product.php" hash="d896175131b871bf7f309e57ef5099dd"/></dir><dir name="Helper"><file name="Data.php" hash="51386589a569b1e52baa7f30f07a946b"/></dir><dir name="Model"><file name="Generate.php" hash="764bba52f5964740236c58b905c6d02c"/><file name="Observe.php" hash="98c212416b8e5bf4157d28c317e2e512"/><file name="Order.php" hash="ad5588401fb34ee4e081c7e27bc2b694"/><file name="OrderStatuses.php" hash="c122ad1e6360bd53bc3598c4c3046a02"/><file name="PositionProduct.php" hash="5ed4224b515770f1b2f794a039f6d6c5"/><file name="PositionStore.php" hash="9f3b948fd1046a2b428d51fe51f72778"/><file name="StyleProduct.php" hash="e306b9889e6f5d15bd3db729bf158eda"/><file name="StyleStore.php" hash="612898c7f347753f21a761c2addd7cd0"/><file name="WebService.php" hash="2e7d64cbb1ceac65ded5776f629ba987"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="3331c66c765ea34e2b2f341e06ea4622"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dfb3514a624955eb430780b923f10fb0"/><file name="config.xml" hash="37832ca12efdd22638277d45f76c4e2b"/><file name="system.xml" hash="ecf35eb131cba17fb4bcff37497efa3c"/><file name="widget.xml" hash="f2b00c74bc9a0e7690be5cbe474efb47"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="Feedaty.xml" hash="eff88446ec32cc43a30a6c54a6f4937a"/></dir><dir name="template"><dir name="feedaty"><file name="base.phtml" hash="0009ab0914e8cb8ab1f3461ff2d6822b"/><file name="product_reviews.phtml" hash="f0978d0158078ab72ab1bad86b1a3933"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Feedaty.csv" hash="4d219cae9bc37e462c9604c475833adf"/></dir></target><target name="mageetc"><dir name="modules"><file name="Feedaty_Badge.xml" hash="e4e47863d6724079e09a6d4d53152275"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>