Version Notes
Fix: correct url (on multiple store/languages) now will be sent to Feedaty servers
Download this release
Release Info
Developer | Feedaty |
Extension | feedaty |
Version | 1.1.30 |
Comparing to | |
See all releases |
Code changes from version 1.1.29 to 1.1.30
app/code/community/Feedaty/Badge/Model/Observe.php
CHANGED
@@ -34,10 +34,10 @@ class Feedaty_Badge_Model_Observe
|
|
34 |
|
35 |
$tmp['Id'] = $bundleproduct->getProductId();
|
36 |
|
37 |
-
|
38 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
39 |
-
$tmp['Url'] = $
|
40 |
);
|
|
|
41 |
if ($fd_oProduct->getImage() != "no_selection")
|
42 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
|
43 |
else
|
@@ -52,10 +52,10 @@ class Feedaty_Badge_Model_Observe
|
|
52 |
} else {
|
53 |
$tmp['Id'] = $item->getProductId();
|
54 |
|
55 |
-
|
56 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
57 |
-
$tmp['Url'] = $
|
58 |
);
|
|
|
59 |
if ($fd_oProduct->getImage() != "no_selection")
|
60 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
|
61 |
else
|
@@ -85,6 +85,7 @@ class Feedaty_Badge_Model_Observe
|
|
85 |
|
86 |
$fd_data['merchantCode'] = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code');
|
87 |
$fd_data['orders'][] = $tmp_order;
|
|
|
88 |
// *******************************
|
89 |
|
90 |
// *********************************
|
34 |
|
35 |
$tmp['Id'] = $bundleproduct->getProductId();
|
36 |
|
|
|
37 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
38 |
+
$tmp['Url'] = Mage::app()->getStore($order->getStoreId())->getUrl($bundleproduct->getUrlPath())
|
39 |
);
|
40 |
+
|
41 |
if ($fd_oProduct->getImage() != "no_selection")
|
42 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
|
43 |
else
|
52 |
} else {
|
53 |
$tmp['Id'] = $item->getProductId();
|
54 |
|
|
|
55 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
56 |
+
$tmp['Url'] = Mage::app()->getStore($order->getStoreId())->getUrl($fd_oProduct->getUrlPath())
|
57 |
);
|
58 |
+
|
59 |
if ($fd_oProduct->getImage() != "no_selection")
|
60 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
|
61 |
else
|
85 |
|
86 |
$fd_data['merchantCode'] = Mage::getStoreConfig('feedaty_global/feedaty_preferences/feedaty_code');
|
87 |
$fd_data['orders'][] = $tmp_order;
|
88 |
+
|
89 |
// *******************************
|
90 |
|
91 |
// *********************************
|
app/code/community/Feedaty/Badge/controllers/IndexController.php
CHANGED
@@ -31,10 +31,10 @@ class Feedaty_Badge_IndexController extends Mage_Adminhtml_Controller_Action
|
|
31 |
|
32 |
$tmp['Id'] = $bundleproduct->getProductId();
|
33 |
|
34 |
-
|
35 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
36 |
-
$tmp['Url'] = Mage::
|
37 |
);
|
|
|
38 |
if ($fd_oProduct->getImage() != "no_selection")
|
39 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
|
40 |
else
|
@@ -56,10 +56,12 @@ class Feedaty_Badge_IndexController extends Mage_Adminhtml_Controller_Action
|
|
56 |
} else {
|
57 |
$tmp['Id'] = $item->getProductId();
|
58 |
|
59 |
-
|
60 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
61 |
-
$tmp['Url'] = Mage::
|
62 |
);
|
|
|
|
|
|
|
63 |
if ($fd_oProduct->getImage() != "no_selection")
|
64 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
|
65 |
else
|
31 |
|
32 |
$tmp['Id'] = $bundleproduct->getProductId();
|
33 |
|
|
|
34 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
35 |
+
$tmp['Url'] = Mage::app()->getStore($order->getStoreId())->getUrl($bundleproduct->getUrlPath())
|
36 |
);
|
37 |
+
|
38 |
if ($fd_oProduct->getImage() != "no_selection")
|
39 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $bundleproduct->getImage() );
|
40 |
else
|
56 |
} else {
|
57 |
$tmp['Id'] = $item->getProductId();
|
58 |
|
|
|
59 |
Mage::getModel('core/url_rewrite')->loadByRequestPath(
|
60 |
+
$tmp['Url'] = Mage::app()->getStore($order->getStoreId())->getUrl($fd_oProduct->getUrlPath())
|
61 |
);
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
if ($fd_oProduct->getImage() != "no_selection")
|
66 |
$tmp['ImageUrl'] = Mage::getModel('catalog/product_media_config')->getMediaUrl( $fd_oProduct->getImage() );
|
67 |
else
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>feedaty</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Feedaty Widget</summary>
|
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>
|
12 |
<authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
|
13 |
-
<date>2014-06-
|
14 |
-
<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="
|
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.30</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Feedaty Widget</summary>
|
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>Fix: correct url (on multiple store/languages) now will be sent to Feedaty servers</notes>
|
12 |
<authors><author><name>Feedaty</name><user>feedtest</user><email>info@feedaty.com</email></author></authors>
|
13 |
+
<date>2014-06-13</date>
|
14 |
+
<time>12:46: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="7d8f1cf3780f1a4d682196d324e5a4c2"/><file name="Observe.php" hash="1ae3add6a43960915658eb50dc2d0dd1"/><file name="Order.php" hash="ad5588401fb34ee4e081c7e27bc2b694"/><file name="OrderStatuses.php" hash="c122ad1e6360bd53bc3598c4c3046a02"/><file name="PositionProduct.php" hash="5ed4224b515770f1b2f794a039f6d6c5"/><file name="PositionStore.php" hash="2fb071a9e98790acde7e608241aa3c97"/><file name="StyleProduct.php" hash="f7b8547a0242269d5db0bf6d6bf68452"/><file name="StyleStore.php" hash="ee937da8b9f7aea21bd3d94925a79cd7"/><file name="WebService.php" hash="907375644db521e93c2040c7ea360e53"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="Badge.php" hash="5b9815ddacd49bdac7f4f3450621759b"/></dir><file name="IndexController.php" hash="90fc012d603a1f5b69af10fa6701b389"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bfd9f0deeaa5f8eda6baa58caa768ca0"/><file name="config.xml" hash="37ec60555a49592b98eeb89334c5e54d"/><file name="system.xml" hash="beb93d5c964b5e4fb03af4050aac1141"/><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>
|