Version Notes
Homepage is the main visual part of any website. It's very important to show some meaningful
Download this release
Release Info
Developer | Etatvasoft |
Extension | Etatvasoft_5_In_one_catalog |
Version | 1.1.10 |
Comparing to | |
See all releases |
Code changes from version 1.1.9 to 1.1.10
app/code/local/Tatva/Catalogextensions/Block/Bestsellers/Home/List.php
CHANGED
@@ -17,15 +17,10 @@ class Tatva_Catalogextensions_Block_Bestsellers_Home_List extends Tatva_Cataloge
|
|
17 |
{
|
18 |
parent::__construct();
|
19 |
|
20 |
-
$today = time();
|
21 |
-
$last = $today - (60*60*24*30);
|
22 |
-
$from = date("Y-m-d", $last);
|
23 |
-
$to = date("Y-m-d", $today);
|
24 |
-
|
25 |
$storeId = Mage::app()->getStore()->getId();
|
26 |
$products = Mage::getResourceModel('reports/product_collection')
|
27 |
->addAttributeToSelect('*')
|
28 |
-
->addOrderedQty(
|
29 |
->setStoreId($storeId)
|
30 |
->addStoreFilter($storeId)
|
31 |
->setOrder('ordered_qty', 'desc')
|
17 |
{
|
18 |
parent::__construct();
|
19 |
|
|
|
|
|
|
|
|
|
|
|
20 |
$storeId = Mage::app()->getStore()->getId();
|
21 |
$products = Mage::getResourceModel('reports/product_collection')
|
22 |
->addAttributeToSelect('*')
|
23 |
+
->addOrderedQty()
|
24 |
->setStoreId($storeId)
|
25 |
->addStoreFilter($storeId)
|
26 |
->setOrder('ordered_qty', 'desc')
|
app/code/local/Tatva/Catalogextensions/Block/Promotional/Home/List.php
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
->addTaxPercents()
|
35 |
->setOrder($this->get_order(), $this->get_order_dir());
|
36 |
|
37 |
-
if(Mage::getStoreConfig('catalogextensions/
|
38 |
{
|
39 |
$products->setPageSize(Mage::getStoreConfig('catalogextensions/config6/max_product'));
|
40 |
}
|
34 |
->addTaxPercents()
|
35 |
->setOrder($this->get_order(), $this->get_order_dir());
|
36 |
|
37 |
+
if(Mage::getStoreConfig('catalogextensions/config6/max_product'))
|
38 |
{
|
39 |
$products->setPageSize(Mage::getStoreConfig('catalogextensions/config6/max_product'));
|
40 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Etatvasoft_5_In_one_catalog</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Homepage is the main visual part of any website. It's very important to show some meaningful </description>
|
11 |
<notes>Homepage is the main visual part of any website. It's very important to show some meaningful </notes>
|
12 |
<authors><author><name>Etatvasoft</name><user>Etatvasoft</user><email>etatvasoft.magentodevelopment@gmail.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Tatva"><dir name="Catalogextensions"><dir name="Block"><dir name="Allproducts"><file name="List.php" hash="23bb783bec9a95377cf7d7bfeebc82e5"/></dir><dir name="Bestsellers"><dir name="Home"><file name="List.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Etatvasoft_5_In_one_catalog</name>
|
4 |
+
<version>1.1.10</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>
|
10 |
<description>Homepage is the main visual part of any website. It's very important to show some meaningful </description>
|
11 |
<notes>Homepage is the main visual part of any website. It's very important to show some meaningful </notes>
|
12 |
<authors><author><name>Etatvasoft</name><user>Etatvasoft</user><email>etatvasoft.magentodevelopment@gmail.com</email></author></authors>
|
13 |
+
<date>2014-04-14</date>
|
14 |
+
<time>12:44:27</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Tatva"><dir name="Catalogextensions"><dir name="Block"><dir name="Allproducts"><file name="List.php" hash="23bb783bec9a95377cf7d7bfeebc82e5"/></dir><dir name="Bestsellers"><dir name="Home"><file name="List.php" hash="c8062bd90ea541af8321aed98c3ef3d3"/></dir><file name="List.php" hash="a0f735fe3d1e3d9c8ca8e30d56a3481f"/></dir><file name="Catalogextensions.php" hash="c8db46ed313124e15f4547cd23481805"/><dir name="Featured"><dir name="Home"><file name="List.php" hash="821b6fd6ef9beabddb9c74d1d1da26cd"/></dir><file name="List.php" hash="216bff6d57edeb08ec1fbe113f171b61"/></dir><dir name="Lastordered"><dir name="Home"><file name="List.php" hash="f4a0389616c720fdcb202e042db2578a"/></dir><file name="List.php" hash="b7db3b72ac98b1b829fd3583bf0fc953"/></dir><dir name="Mostviewed"><dir name="Home"><file name="List.php" hash="558bfdced5a6425840f4047d54431859"/></dir><file name="List.php" hash="da211e51efd016fb23ab79f94826bec2"/></dir><dir name="Newproduct"><dir name="Home"><file name="List.php" hash="3fb45a68a9634e88de44a729caca32da"/></dir><file name="List.php" hash="9585d810fcf72d9df1157510900e6219"/></dir><dir name="Promotional"><dir name="Home"><file name="List.php" hash="f500c70ac1a688dbc4f8f44a0deae849"/></dir><file name="List.php" hash="cc021c39e82f12208c86f9f6ac4b043d"/></dir></dir><dir name="Helper"><file name="Data.php" hash="b611bd4cc8fcfbb18474ae0f7abbb92f"/></dir><dir name="Model"><file name="Catalogextensions.php" hash="d13d2010207ce2a98c7aa4d105ab0c89"/><dir name="Mysql4"><dir name="Catalogextensions"><file name="Collection.php" hash="78c860170f8a69d2853dd244d30c3086"/></dir><file name="Catalogextensions.php" hash="19ccf69401d4e2f68c84a99b1fa12e02"/></dir><file name="Status.php" hash="0544078ffbda9356571152f217b4728c"/></dir><dir name="controllers"><file name="IndexController.php" hash="160ca8b9e3dfdbd979e6bac4f78153ea"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d049baa4bd9d3ea71f2ea01176344c74"/><file name="config.xml" hash="8f1a67cb30208b1fd87c0d56c9a4cc19"/><file name="system.xml" hash="2cd615bdaf08a2868ff07c37cd7915ad"/></dir><dir name="sql"><dir name="catalogextensions_setup"><file name="mysql4-install-0.1.0.php" hash="da1797c1b3d77ae8a140dfd894f139bb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="catalogextensions"><file name="catalogextensions.xml" hash="af78cc2f1ddea55a1daca3afe1d089d5"/></dir></dir><dir name="template"><dir name="catalogextensions"><file name="home_bestsellers.phtml" hash="00b1bee017c65cc07356a701c7106e07"/><file name="home_featured.phtml" hash="e49cbba85123819faf8ff2c74caf5c79"/><file name="home_lastordered.phtml" hash="06768230f0f3d062f9d02c318726dcda"/><file name="home_mostviewed.phtml" hash="f78e5f182364572b476b5ecce2f2b9b4"/><file name="home_newproduct.phtml" hash="153840870c297ca89e6a1c12e73f93be"/><file name="home_promotional.phtml" hash="17c1fffa356e073cd722ef7ac8c37814"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tatva_Catalogextensions.xml" hash="e750c8253d16f81be8b9b71ae69d70be"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="catalogextensions"><file name="catalogextensions.css" hash="80504e8af7b1ee6dafcec2c6ce35823d"/></dir></dir><dir name="images"><dir name="catalogextensions"><file name="Thumbs.db" hash="455a6ee36501c4dcba5966b8ad185216"/><file name="greyboxbg.gif" hash="0276e336f4103bc5b76aa923490cc556"/><file name="verticledivider.jpg" hash="c43a4c3be49fae4c2b3b2f4081237dbd"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|