Version Notes
this is a beta version
Download this release
Release Info
Developer | Magento Core Team |
Extension | Feed_Manager_Version_1_1_2 |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- magento_feedmanager.php +6 -0
- package.xml +4 -4
- productapi.php +8 -0
magento_feedmanager.php
CHANGED
@@ -11,6 +11,12 @@ Mage::app();
|
|
11 |
$products = Mage::getModel('catalog/product')->getCollection();
|
12 |
$products->addAttributeToSelect('*');
|
13 |
$products->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED));
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
$products->load();
|
16 |
|
11 |
$products = Mage::getModel('catalog/product')->getCollection();
|
12 |
$products->addAttributeToSelect('*');
|
13 |
$products->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED));
|
14 |
+
|
15 |
+
$visibility = array(
|
16 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
|
17 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
|
18 |
+
);
|
19 |
+
$products->addAttributeToFilter('visibility', $visibility);
|
20 |
|
21 |
$products->load();
|
22 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Feed_Manager_Version_1_1_2</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>RetailTower is a FREE online solution that enables merchants to list their products on shopping comparison engines and create Facebook fanpage stores.</description>
|
11 |
<notes>this is a beta version</notes>
|
12 |
<authors><author><name>Rinkart Asibey</name><user>auto-converted</user><email>rinkart@retailtower.com</email></author></authors>
|
13 |
-
<date>2011-11-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageweb"><dir name="."><file name="magento_feedmanager.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Feed_Manager_Version_1_1_2</name>
|
4 |
+
<version>2.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>RetailTower is a FREE online solution that enables merchants to list their products on shopping comparison engines and create Facebook fanpage stores.</description>
|
11 |
<notes>this is a beta version</notes>
|
12 |
<authors><author><name>Rinkart Asibey</name><user>auto-converted</user><email>rinkart@retailtower.com</email></author></authors>
|
13 |
+
<date>2011-11-10</date>
|
14 |
+
<time>10:35:16</time>
|
15 |
+
<contents><target name="mageweb"><dir name="."><file name="magento_feedmanager.php" hash="bf81fd61e7117d8e56681c623189220a"/><file name="productapi.php" hash="4f97f5d5894ff9d0ad7f288726d143e9"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
productapi.php
CHANGED
@@ -9,6 +9,14 @@ Mage::app();
|
|
9 |
$products = Mage::getModel('catalog/product')->getCollection();
|
10 |
$products->addAttributeToSelect('*');
|
11 |
$products->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
$products->load();
|
13 |
|
14 |
$baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|
9 |
$products = Mage::getModel('catalog/product')->getCollection();
|
10 |
$products->addAttributeToSelect('*');
|
11 |
$products->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED));
|
12 |
+
|
13 |
+
$visibility = array(
|
14 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
|
15 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
|
16 |
+
);
|
17 |
+
$products->addAttributeToFilter('visibility', $visibility);
|
18 |
+
|
19 |
+
|
20 |
$products->load();
|
21 |
|
22 |
$baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|