Version Notes
Stable release
Download this release
Release Info
Developer | Développeurs EnvoiMoinsCher.com |
Extension | orange_bestsellers |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
app/code/community/Orange/Bestsellers/Model/Bestsellers.php
CHANGED
@@ -27,6 +27,7 @@ class Orange_Bestsellers_Model_Bestsellers extends Mage_Core_Model_Abstract
|
|
27 |
if($_limit < 1)
|
28 |
$_limit = 0;
|
29 |
$_productCollection = Mage::getResourceModel('reports/product_collection')
|
|
|
30 |
->addAttributeToSelect('*')
|
31 |
->addOrderedQty()
|
32 |
->setOrder('ordered_qty','desc')
|
27 |
if($_limit < 1)
|
28 |
$_limit = 0;
|
29 |
$_productCollection = Mage::getResourceModel('reports/product_collection')
|
30 |
+
->addAttributeToFilter('visibility', array('neq' => 1))
|
31 |
->addAttributeToSelect('*')
|
32 |
->addOrderedQty()
|
33 |
->setOrder('ordered_qty','desc')
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>orange_bestsellers</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>Stable release</notes>
|
12 |
<authors><author><name>Mage</name><user>Dev</user><email>mage.ext@gmail.com</email></author></authors>
|
13 |
<date>2013-01-10</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Orange"><dir name="Bestsellers"><dir name="Model"><file name="Bestsellers.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>orange_bestsellers</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>Stable release</notes>
|
12 |
<authors><author><name>Mage</name><user>Dev</user><email>mage.ext@gmail.com</email></author></authors>
|
13 |
<date>2013-01-10</date>
|
14 |
+
<time>19:26:13</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Orange"><dir name="Bestsellers"><dir name="Model"><file name="Bestsellers.php" hash="83afd792fc032182362b55e123df324f"/></dir><dir name="etc"><file name="config.xml" hash="e656c0d60dbbdfc86ea68ac2338e746b"/><file name="system.xml" hash="8333ecc9a2c3f667e1dd01ed5ba86579"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="orange"><dir name="bestsellers"><file name="bestsellers.phtml" hash="04e80744562906390b3083c35f7d8a5c"/></dir></dir></dir><dir name="layout"><file name="orange_bestsellers.xml" hash="ae2cc5a442b6efae19627bab11746fc0"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orange_Bestsellers.xml" hash="396d6d0b972577b89acf6c437a3e54e3"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|