feedaty - Version 1.1.22

Version Notes

Relase

Download this release

Release Info

Developer Feedaty
Extension feedaty
Version 1.1.22
Comparing to
See all releases


Code changes from version 1.1.21 to 1.1.22

app/code/community/Feedaty/Badge/Model/Observe.php CHANGED
@@ -7,11 +7,14 @@ class Feedaty_Badge_Model_Observe
7
 
8
  $verify = array();
9
 
10
- foreach ($order->getAllStatusHistory() as $orderComment){
11
  $verify[$orderComment->getStatus()]++;
12
  }
13
-
14
- if (($order->getStatus() == Mage::getStoreConfig('feedaty_global/sendorder/sendorder')) && ($verify[Mage::getStoreConfig('feedaty_global/sendorder/sendorder')] <= 1)) {
 
 
 
15
  // ********************************
16
  // Getting informations about order
17
  // and products
@@ -34,7 +37,7 @@ class Feedaty_Badge_Model_Observe
34
 
35
 
36
  Mage::getModel('core/url_rewrite')->loadByRequestPath(
37
- $tmp['Url'] = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$bundleproduct->getUrlPath()
38
  );
39
  if ($fd_oProduct->getImage() != "no_selection")
40
  $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
@@ -52,7 +55,7 @@ class Feedaty_Badge_Model_Observe
52
 
53
 
54
  Mage::getModel('core/url_rewrite')->loadByRequestPath(
55
- $tmp['Url'] = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$fd_oProduct->getUrlPath()
56
  );
57
  if ($fd_oProduct->getImage() != "no_selection")
58
  $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
7
 
8
  $verify = array();
9
 
10
+ foreach ($order->getAllStatusHistory() as $orderComment) {
11
  $verify[$orderComment->getStatus()]++;
12
  }
13
+
14
+ if (($order->getStatus() == Mage::getStoreConfig('feedaty_global/sendorder/sendorder')) && ($verify[Mage::getStoreConfig('feedaty_global/sendorder/sendorder')] <= 1)) {
15
+
16
+ $baseurl_store = Mage::app()->getStore($order->getStore_id())->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
17
+
18
  // ********************************
19
  // Getting informations about order
20
  // and products
37
 
38
 
39
  Mage::getModel('core/url_rewrite')->loadByRequestPath(
40
+ $tmp['Url'] = $baseurl_store.$bundleproduct->getUrlPath()
41
  );
42
  if ($fd_oProduct->getImage() != "no_selection")
43
  $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
55
 
56
 
57
  Mage::getModel('core/url_rewrite')->loadByRequestPath(
58
+ $tmp['Url'] = $baseurl_store.$fd_oProduct->getUrlPath()
59
  );
60
  if ($fd_oProduct->getImage() != "no_selection")
61
  $tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>feedaty</name>
4
- <version>1.1.21</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>Relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
- <date>2014-01-21</date>
14
- <time>09:10:59</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="7d8f1cf3780f1a4d682196d324e5a4c2"/><file name="Observe.php" hash="26b4f4c4d8da9e46c20c20ca030ec4e0"/><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="c305d64af91ba566037e7317d4eff51c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="12e3bada70bbab8a0be9ebee88852d74"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dfb3514a624955eb430780b923f10fb0"/><file name="config.xml" hash="0e3768aac4f1d2a7d9c5bf419a570201"/><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="8a507edc136ea22a38cacfa21411534b"/></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.22</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>Relase</notes>
12
  <authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
13
+ <date>2014-01-30</date>
14
+ <time>12:53:30</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="7d8f1cf3780f1a4d682196d324e5a4c2"/><file name="Observe.php" hash="57be756706933f54f176d6395b2ce655"/><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="c305d64af91ba566037e7317d4eff51c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="12e3bada70bbab8a0be9ebee88852d74"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dfb3514a624955eb430780b923f10fb0"/><file name="config.xml" hash="0e3768aac4f1d2a7d9c5bf419a570201"/><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="8a507edc136ea22a38cacfa21411534b"/></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>