Version Notes
Bug fix
Download this release
Release Info
Developer | Salesoar |
Extension | Salesoar_Feed |
Version | 1.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
app/code/community/Salesoar/Feed/Model/Xml.php
CHANGED
@@ -201,7 +201,7 @@ class Salesoar_Feed_Model_Xml
|
|
201 |
$landings_group = $this->getCategoryLandings($store, $domain);
|
202 |
|
203 |
//ATTRIBUTES FOR LANDING
|
204 |
-
if (Mage::getStoreConfig('
|
205 |
$landings = array_merge($landings, $this->getAttributeLandings($store, $domain));
|
206 |
}
|
207 |
|
@@ -325,7 +325,7 @@ class Salesoar_Feed_Model_Xml
|
|
325 |
}
|
326 |
}
|
327 |
|
328 |
-
if (Mage::getStoreConfig('
|
329 |
foreach (Mage::getResourceModel('catalog/product')
|
330 |
->getAttributeRawValue($product->getId(),
|
331 |
$this->all_attribute_codes, Mage::app()->getStore()) as $attrCode => $value) {
|
201 |
$landings_group = $this->getCategoryLandings($store, $domain);
|
202 |
|
203 |
//ATTRIBUTES FOR LANDING
|
204 |
+
if (Mage::getStoreConfig('Salesoar_Feed/config/Salesoar_Feed_add_attributes')) {
|
205 |
$landings = array_merge($landings, $this->getAttributeLandings($store, $domain));
|
206 |
}
|
207 |
|
325 |
}
|
326 |
}
|
327 |
|
328 |
+
if (Mage::getStoreConfig('Salesoar_Feed/config/Salesoar_Feed_add_attributes')) {
|
329 |
foreach (Mage::getResourceModel('catalog/product')
|
330 |
->getAttributeRawValue($product->getId(),
|
331 |
$this->all_attribute_codes, Mage::app()->getStore()) as $attrCode => $value) {
|
app/code/community/Salesoar/Feed/controllers/FeedController.php
CHANGED
@@ -22,7 +22,7 @@ class Salesoar_Feed_FeedController extends Mage_Core_Controller_Front_Action
|
|
22 |
*/
|
23 |
public function indexAction()
|
24 |
{
|
25 |
-
if (Mage::getStoreConfig('Salesoar_Feed/config/
|
26 |
$this->getResponse()->setHeader('Content-type', 'application/json; charset=UTF-8', true);
|
27 |
$this->loadLayout(false);
|
28 |
$this->renderLayout();
|
@@ -38,7 +38,7 @@ class Salesoar_Feed_FeedController extends Mage_Core_Controller_Front_Action
|
|
38 |
*/
|
39 |
public function xmlAction()
|
40 |
{
|
41 |
-
if (Mage::getStoreConfig('Salesoar_Feed/config/
|
42 |
$jsonResp = true;
|
43 |
if ($this->getRequest()->getParam('store')) {
|
44 |
if (is_numeric($this->getRequest()->getParam('store'))) {
|
22 |
*/
|
23 |
public function indexAction()
|
24 |
{
|
25 |
+
if (Mage::getStoreConfig('Salesoar_Feed/config/Salesoar_Feed_enable')) {
|
26 |
$this->getResponse()->setHeader('Content-type', 'application/json; charset=UTF-8', true);
|
27 |
$this->loadLayout(false);
|
28 |
$this->renderLayout();
|
38 |
*/
|
39 |
public function xmlAction()
|
40 |
{
|
41 |
+
if (Mage::getStoreConfig('Salesoar_Feed/config/Salesoar_Feed_enable')) {
|
42 |
$jsonResp = true;
|
43 |
if ($this->getRequest()->getParam('store')) {
|
44 |
if (is_numeric($this->getRequest()->getParam('store'))) {
|
app/code/community/Salesoar/Feed/etc/config.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Salesoar_Feed>
|
15 |
-
<version>1.2.
|
16 |
</Salesoar_Feed>
|
17 |
</modules>
|
18 |
<default>
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Salesoar_Feed>
|
15 |
+
<version>1.2.9</version>
|
16 |
</Salesoar_Feed>
|
17 |
</modules>
|
18 |
<default>
|
app/design/frontend/base/default/layout/Salesoar_Feed.xml
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Salesoar
|
5 |
-
*
|
6 |
-
* @category Salesoar
|
7 |
-
* @package Salesoar_Feed
|
8 |
-
* @copyright Copyright (c) 2015 Salesoar S.r.l. (http://salesoar.com)
|
9 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
10 |
-
*/
|
11 |
-
-->
|
12 |
-
<layout version="0.1.0">
|
13 |
-
<!--
|
14 |
-
Default layout, loads most of the pages
|
15 |
-
-->
|
16 |
-
<salesoar_feed_feed_index>
|
17 |
-
<block type="Salesoar_Feed/all" output="toHtml" name="salesoar_feed_all">
|
18 |
-
</block>
|
19 |
-
</salesoar_feed_feed_index>
|
20 |
-
<salesoar_feed_feed_xml>
|
21 |
-
<block type="Salesoar_Feed/xml" output="toHtml" name="salesoar_feed_xml">
|
22 |
-
</block>
|
23 |
-
</salesoar_feed_feed_xml>
|
24 |
-
<salesoar_feed_feed_create>
|
25 |
-
<block type="Salesoar_Feed/create" output="toHtml" name="salesoar_feed_create">
|
26 |
-
</block>
|
27 |
-
</salesoar_feed_feed_create>
|
28 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Salesoar_Feed</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Salesoar Plugin</summary>
|
10 |
<description>Salesoar is the perfect marketing assistant for your ecommerce. Simply connect your ecommerce with Salesoar and you can easily create, monitor and manage your campaigns. Create your account on https://salesoar.com and start promoting your products</description>
|
11 |
-
<notes>Bug
|
12 |
<authors><author><name>Salesoar</name><user>MAG003095121</user><email>hello@salesoar.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>14:
|
15 |
-
<contents><target name="magecommunity"><dir name="Salesoar"><dir name="Feed"><dir name="Block"><file name="Abstract.php" hash="6fda60e05280624dec374de5f3c64037"/><dir name="Adminhtml"><dir name="Frontend"><file name="Create.php" hash="81fabd5aa53a2fce34b8a7ab9d7b3bda"/><file name="Links.php" hash="63c49a5db2ddb48863ad266e011d66a1"/></dir></dir><file name="All.php" hash="d2bd66cdf271831bcdeaaa19c1b1e5b4"/><dir name="Config"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Category.php" hash="bcdde546cb8af3872caeb14013784441"/><file name="GoogleCategory.php" hash="19c1e94bea04fd18dbd8b4ae9a6c3df4"/></dir></dir></dir><file name="Advertise.php" hash="461f4850ed76f1def82531489d4bf7fc"/><file name="TableMapping.php" hash="3cbc7107e3e17edabb5c76b13a5d4c42"/></dir><file name="Create.php" hash="6aff617ab94eb0af390c8b5d9d3841e2"/><file name="Xml.php" hash="d604971f2d6f55905b1cad3835d2fb81"/></dir><dir name="Helper"><file name="Data.php" hash="452fdf447086d40354753b37b8cf2702"/></dir><dir name="Model"><file name="All.php" hash="0c72ab1b243919fc90c3971e7a4ebd6e"/><file name="Atom.php" hash="1644c2269cee62d56ddd304e35d7b212"/><file name="Feed.php" hash="0a9593319f5f5335aaf1d29e7af33d4a"/><file name="Observer.php" hash="6c18a0874b46f9da96d3a77a44edfb03"/><file name="Session.php" hash="cc6f2ec572d56eb882d0269b55f4f796"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="9d1264a5207425f0b0154966ffdc2ee2"/><file name="Categories.php" hash="888d4035a1f0eefe7fe73ccf465d2ef7"/><file name="Create.php" hash="5441649de14854fcbfedceb87aebc688"/><file name="CurrencyMap.php" hash="4485a6403b4c5cddfe6ac4f9cd9e4c9c"/><file name="Links.php" hash="3a7c2cfef5e92ba736ddbf8af06ba2e4"/><file name="SelectCategory.php" hash="37ff5211b10ae7e143fa78bfb0bd66ff"/><file name="SelectGoogleCategory.php" hash="15ca98755661d24ae0eac911b956bb89"/><dir name="Taxonomy"><file name="taxonomy_br.txt" hash="399d492d03c2c35ad1e174edf0d1f4a0"/><file name="taxonomy_de.txt" hash="6b1fc333d89fa26ba431e1658ac9364e"/><file name="taxonomy_dk.txt" hash="402a30fe21119c18af0ccd6ecbf99474"/><file name="taxonomy_en_US.txt" hash="5bc8bc4863a7d7bf1c8a68ccc54a731c"/><file name="taxonomy_es.txt" hash="57c9dad37ea984adcfd280550c338382"/><file name="taxonomy_fr.txt" hash="eb00ab5d99e1d0fdd64b2eccbd1a3700"/><file name="taxonomy_it.txt" hash="c2e5c5fcdff87033826ef908165ad48c"/><file name="taxonomy_nl.txt" hash="cd3bf4c7e879fee47f3d8f5fa0ee6477"/><file name="taxonomy_pl.txt" hash="711372a31920120e8d11d971ad186e5e"/><file name="taxonomy_se.txt" hash="fe03b123ab99796ccd24f2cbec07818e"/></dir></dir></dir></dir><file name="Xml.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php><
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Salesoar_Feed</name>
|
4 |
+
<version>1.2.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Salesoar Plugin</summary>
|
10 |
<description>Salesoar is the perfect marketing assistant for your ecommerce. Simply connect your ecommerce with Salesoar and you can easily create, monitor and manage your campaigns. Create your account on https://salesoar.com and start promoting your products</description>
|
11 |
+
<notes>Bug fix</notes>
|
12 |
<authors><author><name>Salesoar</name><user>MAG003095121</user><email>hello@salesoar.com</email></author></authors>
|
13 |
+
<date>2017-04-26</date>
|
14 |
+
<time>14:43:34</time>
|
15 |
+
<contents><target name="magelocal"><dir/></target><target name="magecommunity"><dir name="Salesoar"><dir name="Feed"><dir name="Block"><file name="Abstract.php" hash="6fda60e05280624dec374de5f3c64037"/><dir name="Adminhtml"><dir name="Frontend"><file name="Create.php" hash="81fabd5aa53a2fce34b8a7ab9d7b3bda"/><file name="Links.php" hash="63c49a5db2ddb48863ad266e011d66a1"/></dir></dir><file name="All.php" hash="d2bd66cdf271831bcdeaaa19c1b1e5b4"/><dir name="Config"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Category.php" hash="bcdde546cb8af3872caeb14013784441"/><file name="GoogleCategory.php" hash="19c1e94bea04fd18dbd8b4ae9a6c3df4"/></dir></dir></dir><file name="Advertise.php" hash="461f4850ed76f1def82531489d4bf7fc"/><file name="TableMapping.php" hash="3cbc7107e3e17edabb5c76b13a5d4c42"/></dir><file name="Create.php" hash="6aff617ab94eb0af390c8b5d9d3841e2"/><file name="Xml.php" hash="d604971f2d6f55905b1cad3835d2fb81"/></dir><dir name="Helper"><file name="Data.php" hash="452fdf447086d40354753b37b8cf2702"/></dir><dir name="Model"><file name="All.php" hash="0c72ab1b243919fc90c3971e7a4ebd6e"/><file name="Atom.php" hash="1644c2269cee62d56ddd304e35d7b212"/><file name="Feed.php" hash="0a9593319f5f5335aaf1d29e7af33d4a"/><file name="Observer.php" hash="6c18a0874b46f9da96d3a77a44edfb03"/><file name="Session.php" hash="cc6f2ec572d56eb882d0269b55f4f796"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="9d1264a5207425f0b0154966ffdc2ee2"/><file name="Categories.php" hash="888d4035a1f0eefe7fe73ccf465d2ef7"/><file name="Create.php" hash="5441649de14854fcbfedceb87aebc688"/><file name="CurrencyMap.php" hash="4485a6403b4c5cddfe6ac4f9cd9e4c9c"/><file name="Links.php" hash="3a7c2cfef5e92ba736ddbf8af06ba2e4"/><file name="SelectCategory.php" hash="37ff5211b10ae7e143fa78bfb0bd66ff"/><file name="SelectGoogleCategory.php" hash="15ca98755661d24ae0eac911b956bb89"/><dir name="Taxonomy"><file name="taxonomy_br.txt" hash="399d492d03c2c35ad1e174edf0d1f4a0"/><file name="taxonomy_de.txt" hash="6b1fc333d89fa26ba431e1658ac9364e"/><file name="taxonomy_dk.txt" hash="402a30fe21119c18af0ccd6ecbf99474"/><file name="taxonomy_en_US.txt" hash="5bc8bc4863a7d7bf1c8a68ccc54a731c"/><file name="taxonomy_es.txt" hash="57c9dad37ea984adcfd280550c338382"/><file name="taxonomy_fr.txt" hash="eb00ab5d99e1d0fdd64b2eccbd1a3700"/><file name="taxonomy_it.txt" hash="c2e5c5fcdff87033826ef908165ad48c"/><file name="taxonomy_nl.txt" hash="cd3bf4c7e879fee47f3d8f5fa0ee6477"/><file name="taxonomy_pl.txt" hash="711372a31920120e8d11d971ad186e5e"/><file name="taxonomy_se.txt" hash="fe03b123ab99796ccd24f2cbec07818e"/></dir></dir></dir></dir><file name="Xml.php" hash="dada8761e9e987b0c6e66aab896f52d2"/></dir><dir name="controllers"><file name="FeedController.php" hash="4c5620f868a31ffd9ef79d543bbeebf1"/><file name="IndexController.php" hash="2975c0be5a94694435771defc7c48835"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d856d0fe6a3c649c1b9c2dff5b84756a"/><file name="config.xml" hash="0b59280080203a399ac6eac7fda60dfe"/><file name="system.xml" hash="bcce01881725b0d6e8c9d27d8f63c82e"/></dir><dir name="sql"><dir name="Salesoar_Feed_setup"><file name="mysql4-install-1.2.8.php" hash="82b03a43952de64a83e02f67a62bab48"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Salesoar_Feed.csv" hash="f99bd663f6b7becac87c8be1720f14b3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="salesoar_feed.xml" hash=""/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Salesoar_Feed.xml" hash="06e2e706952847a75cc1045a61067755"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.9.2.4</max></package><package><name>Mage_Catalog</name><channel>community</channel><min>1.6.0.0</min><max>1.9.2.4</max></package><package><name>Mage_CatalogInventory</name><channel>community</channel><min>1.6.0.0</min><max>1.9.2.4</max></package><extension><name>Core</name><min/><max/></extension><extension><name>PDO</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|