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.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
- app/code/local/Tatva/Catalogextensions/Block/Newproduct/Home/List.php +2 -2
- app/code/local/Tatva/Catalogextensions/Block/lastordered/Home/List.php +74 -0
- app/code/local/Tatva/Catalogextensions/Block/lastordered/List.php +69 -0
- app/code/local/Tatva/Catalogextensions/controllers/IndexController.php +17 -1
- app/code/local/Tatva/Catalogextensions/etc/config.xml +5 -0
- app/code/local/Tatva/Catalogextensions/etc/system.xml +37 -1
- app/design/frontend/default/default/layout/catalogextensions/catalogextensions.xml +18 -0
- app/design/frontend/default/default/template/catalogextensions/home_lastordered.phtml +45 -0
- package.xml +4 -4
- skin/frontend/default/default/images/catalogextensions/Thumbs.db +0 -0
app/code/local/Tatva/Catalogextensions/Block/Newproduct/Home/List.php
CHANGED
@@ -23,8 +23,8 @@ class Tatva_Catalogextensions_Block_Newproduct_Home_List extends Tatva_Catalogex
|
|
23 |
->addAttributeToSelect('*')
|
24 |
->addAttributeToSort("entity_id","DESC")
|
25 |
->addAttributeToSelect(array('name', 'price', 'small_image'))
|
26 |
-
->setVisibility(Mage::getSingleton('catalog/product_visibility')->getVisibleInSiteIds())
|
27 |
-
|
28 |
if(Mage::getStoreConfig('catalogextensions/config4/max_product'))
|
29 |
{
|
30 |
$products->setPageSize(Mage::getStoreConfig('catalogextensions/config4/max_product'));
|
23 |
->addAttributeToSelect('*')
|
24 |
->addAttributeToSort("entity_id","DESC")
|
25 |
->addAttributeToSelect(array('name', 'price', 'small_image'))
|
26 |
+
->setVisibility(Mage::getSingleton('catalog/product_visibility')->getVisibleInSiteIds())
|
27 |
+
->setOrder($this->get_order(), $this->get_order_dir());
|
28 |
if(Mage::getStoreConfig('catalogextensions/config4/max_product'))
|
29 |
{
|
30 |
$products->setPageSize(Mage::getStoreConfig('catalogextensions/config4/max_product'));
|
app/code/local/Tatva/Catalogextensions/Block/lastordered/Home/List.php
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Description of List
|
10 |
+
*
|
11 |
+
* @author om
|
12 |
+
*/
|
13 |
+
class Tatva_Catalogextensions_Block_Lastordered_Home_List extends Tatva_Catalogextensions_Block_Promotional_List
|
14 |
+
{
|
15 |
+
|
16 |
+
protected function _getProductCollection()
|
17 |
+
{
|
18 |
+
parent::__construct();
|
19 |
+
$storeId = Mage::app()->getStore()->getId();
|
20 |
+
$resource = Mage::getSingleton('core/resource');
|
21 |
+
$read = Mage::getSingleton('core/resource')->getConnection('core_read');
|
22 |
+
$orderItemTable = $resource->getTableName('sales/order_item');
|
23 |
+
$demotb = $read->select()->from(array('coi'=>$orderItemTable),array('product_id','item_id'))->group('product_id');
|
24 |
+
$products = Mage::getModel('catalog/product')->getCollection()
|
25 |
+
->setStoreId($storeId)
|
26 |
+
->addStoreFilter($storeId)
|
27 |
+
->addAttributeToSelect(array('name', 'price', 'small_image'));
|
28 |
+
|
29 |
+
|
30 |
+
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($products);
|
31 |
+
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products);
|
32 |
+
|
33 |
+
$products->getSelect()
|
34 |
+
->join(array('coi'=>$orderItemTable),'e.entity_id=coi.product_id',array('item_id'))
|
35 |
+
->order($this->get_order().' '.$this->get_order_dir());
|
36 |
+
|
37 |
+
|
38 |
+
if(Mage::getStoreConfig('catalogextensions/config8/max_product'))
|
39 |
+
{
|
40 |
+
$products->setPageSize(Mage::getStoreConfig('catalogextensions/config8/max_product'));
|
41 |
+
}
|
42 |
+
|
43 |
+
$this->_productCollection = $products;
|
44 |
+
|
45 |
+
return $this->_productCollection;
|
46 |
+
}
|
47 |
+
|
48 |
+
function get_prod_count()
|
49 |
+
{
|
50 |
+
//unset any saved limits
|
51 |
+
Mage::getSingleton('catalog/session')->unsLimitPage();
|
52 |
+
return (isset($_REQUEST['limit'])) ? intval($_REQUEST['limit']) : 9;
|
53 |
+
}// get_prod_count
|
54 |
+
|
55 |
+
function get_cur_page()
|
56 |
+
{
|
57 |
+
return (isset($_REQUEST['p'])) ? intval($_REQUEST['p']) : 1;
|
58 |
+
}// get_cur_page
|
59 |
+
|
60 |
+
function get_order()
|
61 |
+
{
|
62 |
+
return (isset($_REQUEST['order'])) ? ($_REQUEST['order']) : 'item_id';
|
63 |
+
}// get_order
|
64 |
+
|
65 |
+
function get_order_dir()
|
66 |
+
{
|
67 |
+
return (isset($_REQUEST['dir'])) ? ($_REQUEST['dir']) : 'desc';
|
68 |
+
}// get_direction
|
69 |
+
|
70 |
+
public function getToolbarHtml()
|
71 |
+
{
|
72 |
+
|
73 |
+
}
|
74 |
+
}
|
app/code/local/Tatva/Catalogextensions/Block/lastordered/List.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Description of List
|
10 |
+
*
|
11 |
+
* @author om
|
12 |
+
*/
|
13 |
+
class Tatva_Catalogextensions_Block_Lastordered_List extends Mage_Catalog_Block_Product_List
|
14 |
+
{
|
15 |
+
protected function _getProductCollection()
|
16 |
+
{
|
17 |
+
parent::__construct();
|
18 |
+
$storeId = Mage::app()->getStore()->getId();
|
19 |
+
$resource = Mage::getSingleton('core/resource');
|
20 |
+
$read = Mage::getSingleton('core/resource')->getConnection('core_read');
|
21 |
+
|
22 |
+
$orderItemTable = $resource->getTableName('sales/order_item');
|
23 |
+
$demotb = $read->select()->from(array('coi'=>$orderItemTable),array('product_id','item_id'))->group('product_id');
|
24 |
+
$products = Mage::getModel('catalog/product')->getCollection()
|
25 |
+
->setStoreId($storeId)
|
26 |
+
->addStoreFilter($storeId)
|
27 |
+
->addAttributeToSelect(array('name', 'price', 'small_image'));
|
28 |
+
|
29 |
+
|
30 |
+
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($products);
|
31 |
+
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products);
|
32 |
+
|
33 |
+
$products->getSelect()
|
34 |
+
->join(array('coid'=>$demotb),'e.entity_id=coid.product_id',array('item_id'))
|
35 |
+
->order($this->get_order().' '.$this->get_order_dir());
|
36 |
+
|
37 |
+
|
38 |
+
$products->setPageSize($this->get_prod_count())->setCurPage($this->get_cur_page());
|
39 |
+
|
40 |
+
$this->_productCollection = $products;
|
41 |
+
|
42 |
+
return $this->_productCollection;
|
43 |
+
}
|
44 |
+
|
45 |
+
function get_prod_count()
|
46 |
+
{
|
47 |
+
//unset any saved limits
|
48 |
+
Mage::getSingleton('catalog/session')->unsLimitPage();
|
49 |
+
return (isset($_REQUEST['limit'])) ? intval($_REQUEST['limit']) : 9;
|
50 |
+
|
51 |
+
}// get_prod_count
|
52 |
+
|
53 |
+
function get_cur_page()
|
54 |
+
{
|
55 |
+
return (isset($_REQUEST['p'])) ? intval($_REQUEST['p']) : 1;
|
56 |
+
}// get_cur_page
|
57 |
+
|
58 |
+
function get_order()
|
59 |
+
{
|
60 |
+
return (isset($_REQUEST['order'])) ? ($_REQUEST['order']) : 'item_id';
|
61 |
+
}// get_order
|
62 |
+
|
63 |
+
function get_order_dir()
|
64 |
+
{
|
65 |
+
return (isset($_REQUEST['dir'])) ? ($_REQUEST['dir']) : 'desc';
|
66 |
+
}// get_direction
|
67 |
+
}
|
68 |
+
|
69 |
+
?>
|
app/code/local/Tatva/Catalogextensions/controllers/IndexController.php
CHANGED
@@ -135,7 +135,23 @@ class Tatva_Catalogextensions_IndexController extends Mage_Core_Controller_Front
|
|
135 |
}
|
136 |
|
137 |
$this->loadLayout();
|
138 |
-
$this->getLayout()->getBlock('head')->setTitle('Promotional
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
$this->renderLayout();
|
140 |
}
|
141 |
|
135 |
}
|
136 |
|
137 |
$this->loadLayout();
|
138 |
+
$this->getLayout()->getBlock('head')->setTitle('Promotional Products');
|
139 |
+
$this->renderLayout();
|
140 |
+
}
|
141 |
+
|
142 |
+
public function recentlyorderedAction()
|
143 |
+
{
|
144 |
+
|
145 |
+
$url = Mage::getUrl('no-route');
|
146 |
+
|
147 |
+
$enable = Mage::getStoreConfig('catalogextensions/config8/active');
|
148 |
+
if($enable != 1)
|
149 |
+
{
|
150 |
+
Mage::app()->getFrontController()->getResponse()->setRedirect($url);
|
151 |
+
}
|
152 |
+
|
153 |
+
$this->loadLayout();
|
154 |
+
$this->getLayout()->getBlock('head')->setTitle('Recently Ordered Products');
|
155 |
$this->renderLayout();
|
156 |
}
|
157 |
|
app/code/local/Tatva/Catalogextensions/etc/config.xml
CHANGED
@@ -147,6 +147,11 @@
|
|
147 |
<max_product>3</max_product>
|
148 |
<title>Promotional Products</title>
|
149 |
</config6>
|
|
|
|
|
|
|
|
|
|
|
150 |
</catalogextensions>
|
151 |
</default>
|
152 |
</config>
|
147 |
<max_product>3</max_product>
|
148 |
<title>Promotional Products</title>
|
149 |
</config6>
|
150 |
+
<config7>
|
151 |
+
<active>0</active>
|
152 |
+
<max_product>3</max_product>
|
153 |
+
<title>Recently Ordered Products</title>
|
154 |
+
</config7>
|
155 |
</catalogextensions>
|
156 |
</default>
|
157 |
</config>
|
app/code/local/Tatva/Catalogextensions/etc/system.xml
CHANGED
@@ -223,7 +223,43 @@
|
|
223 |
<show_in_store>1</show_in_store>
|
224 |
</title>
|
225 |
</fields>
|
226 |
-
</config6>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
</groups>
|
228 |
</catalogextensions>
|
229 |
</sections>
|
223 |
<show_in_store>1</show_in_store>
|
224 |
</title>
|
225 |
</fields>
|
226 |
+
</config6>
|
227 |
+
<config7 translate="label" module="catalogextensions">
|
228 |
+
<label>Recently Ordered Product Configuration</label>
|
229 |
+
<frontend_type>text</frontend_type>
|
230 |
+
<sort_order>70</sort_order>
|
231 |
+
<show_in_default>1</show_in_default>
|
232 |
+
<show_in_website>1</show_in_website>
|
233 |
+
<show_in_store>1</show_in_store>
|
234 |
+
<fields>
|
235 |
+
<active translate="label">
|
236 |
+
<label>Enabled</label>
|
237 |
+
<frontend_type>select</frontend_type>
|
238 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
239 |
+
<sort_order>1</sort_order>
|
240 |
+
<show_in_default>1</show_in_default>
|
241 |
+
<show_in_website>1</show_in_website>
|
242 |
+
<show_in_store>1</show_in_store>
|
243 |
+
</active>
|
244 |
+
<max_product translate="label" module="catalogextensions">
|
245 |
+
<label>Maximum No Of Products To Dispay On Home</label>
|
246 |
+
<frontend_type>text</frontend_type>
|
247 |
+
<validate>validate-greater-than-zero</validate>
|
248 |
+
<sort_order>10</sort_order>
|
249 |
+
<show_in_default>1</show_in_default>
|
250 |
+
<show_in_website>1</show_in_website>
|
251 |
+
<show_in_store>1</show_in_store>
|
252 |
+
</max_product>
|
253 |
+
<title translate="label" module="catalogextensions">
|
254 |
+
<label>Title</label>
|
255 |
+
<frontend_type>text</frontend_type>
|
256 |
+
<sort_order>40</sort_order>
|
257 |
+
<show_in_default>1</show_in_default>
|
258 |
+
<show_in_website>1</show_in_website>
|
259 |
+
<show_in_store>1</show_in_store>
|
260 |
+
</title>
|
261 |
+
</fields>
|
262 |
+
</config7>
|
263 |
</groups>
|
264 |
</catalogextensions>
|
265 |
</sections>
|
app/design/frontend/default/default/layout/catalogextensions/catalogextensions.xml
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
|
|
3 |
<default translate="label" module="page">
|
4 |
<reference name="head">
|
5 |
<action method="addCss"><stylesheet>css/catalogextensions/catalogextensions.css</stylesheet></action>
|
6 |
</reference>
|
7 |
</default>
|
|
|
8 |
<catalogextensions_index_bestsellers>
|
9 |
<reference name="content">
|
10 |
<block type="catalogextensions/bestsellers_list" name="bestsellers_list" template="catalog/product/list.phtml" >
|
@@ -15,6 +17,7 @@
|
|
15 |
</block>
|
16 |
</reference>
|
17 |
</catalogextensions_index_bestsellers>
|
|
|
18 |
<catalogextensions_index_featured>
|
19 |
<reference name="content">
|
20 |
<block type="catalogextensions/featured_list" name="featured_list" template="catalog/product/list.phtml" >
|
@@ -25,6 +28,7 @@
|
|
25 |
</block>
|
26 |
</reference>
|
27 |
</catalogextensions_index_featured>
|
|
|
28 |
<catalogextensions_index_mostviewed>
|
29 |
<reference name="content">
|
30 |
<block type="catalogextensions/mostviewed_list" name="mostviewed_list" template="catalog/product/list.phtml" >
|
@@ -35,6 +39,7 @@
|
|
35 |
</block>
|
36 |
</reference>
|
37 |
</catalogextensions_index_mostviewed>
|
|
|
38 |
<catalogextensions_index_newproduct>
|
39 |
<reference name="content">
|
40 |
<block type="catalogextensions/newproduct_list" name="newrecent_list" template="catalog/product/list.phtml" >
|
@@ -45,6 +50,7 @@
|
|
45 |
</block>
|
46 |
</reference>
|
47 |
</catalogextensions_index_newproduct>
|
|
|
48 |
<catalogextensions_index_allproduct>
|
49 |
<reference name="content">
|
50 |
<block type="catalogextensions/allproducts_list" name="product_all_list" template="catalog/product/list.phtml">
|
@@ -55,6 +61,7 @@
|
|
55 |
</block>
|
56 |
</reference>
|
57 |
</catalogextensions_index_allproduct>
|
|
|
58 |
<catalogextensions_index_promotional>
|
59 |
<reference name="content">
|
60 |
<block type="catalogextensions/promotional_list" name="promotional_list" template="catalog/product/list.phtml">
|
@@ -65,4 +72,15 @@
|
|
65 |
</block>
|
66 |
</reference>
|
67 |
</catalogextensions_index_promotional>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
</layout>
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
3 |
+
|
4 |
<default translate="label" module="page">
|
5 |
<reference name="head">
|
6 |
<action method="addCss"><stylesheet>css/catalogextensions/catalogextensions.css</stylesheet></action>
|
7 |
</reference>
|
8 |
</default>
|
9 |
+
|
10 |
<catalogextensions_index_bestsellers>
|
11 |
<reference name="content">
|
12 |
<block type="catalogextensions/bestsellers_list" name="bestsellers_list" template="catalog/product/list.phtml" >
|
17 |
</block>
|
18 |
</reference>
|
19 |
</catalogextensions_index_bestsellers>
|
20 |
+
|
21 |
<catalogextensions_index_featured>
|
22 |
<reference name="content">
|
23 |
<block type="catalogextensions/featured_list" name="featured_list" template="catalog/product/list.phtml" >
|
28 |
</block>
|
29 |
</reference>
|
30 |
</catalogextensions_index_featured>
|
31 |
+
|
32 |
<catalogextensions_index_mostviewed>
|
33 |
<reference name="content">
|
34 |
<block type="catalogextensions/mostviewed_list" name="mostviewed_list" template="catalog/product/list.phtml" >
|
39 |
</block>
|
40 |
</reference>
|
41 |
</catalogextensions_index_mostviewed>
|
42 |
+
|
43 |
<catalogextensions_index_newproduct>
|
44 |
<reference name="content">
|
45 |
<block type="catalogextensions/newproduct_list" name="newrecent_list" template="catalog/product/list.phtml" >
|
50 |
</block>
|
51 |
</reference>
|
52 |
</catalogextensions_index_newproduct>
|
53 |
+
|
54 |
<catalogextensions_index_allproduct>
|
55 |
<reference name="content">
|
56 |
<block type="catalogextensions/allproducts_list" name="product_all_list" template="catalog/product/list.phtml">
|
61 |
</block>
|
62 |
</reference>
|
63 |
</catalogextensions_index_allproduct>
|
64 |
+
|
65 |
<catalogextensions_index_promotional>
|
66 |
<reference name="content">
|
67 |
<block type="catalogextensions/promotional_list" name="promotional_list" template="catalog/product/list.phtml">
|
72 |
</block>
|
73 |
</reference>
|
74 |
</catalogextensions_index_promotional>
|
75 |
+
|
76 |
+
<catalogextensions_index_recentlyordered>
|
77 |
+
<reference name="content">
|
78 |
+
<block type="catalogextensions/lastordered_list" name="lastordered_list" template="catalog/product/list.phtml">
|
79 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
80 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
81 |
+
</block>
|
82 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
83 |
+
</block>
|
84 |
+
</reference>
|
85 |
+
</catalogextensions_index_recentlyordered>
|
86 |
</layout>
|
app/design/frontend/default/default/template/catalogextensions/home_lastordered.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$store = Mage::app()->getStore();
|
36 |
+
$code = $store->getCode();
|
37 |
+
$enable = Mage::getStoreConfig('catalogextensions/config8/active',$code);
|
38 |
+
?>
|
39 |
+
<?php if($enable == 1) { ?>
|
40 |
+
<div class="maintitle">
|
41 |
+
<div class="titlemain"><?php echo Mage::getStoreConfig('catalogextensions/config8/title',$code); ?></div>
|
42 |
+
<div class="viewall"><a href="<?php echo $this->getUrl('catalogextensions/index/recentlyordered'); ?>"><?php echo $this->__('View All') ?></a></div>
|
43 |
+
</div>
|
44 |
+
<?php echo $this->getLayout()->createBlock('catalogextensions/lastordered_home_list')->setTemplate('catalog/product/list.phtml')->toHtml(); ?>
|
45 |
+
<?php } ?>
|
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>2013-
|
14 |
-
<time>14:
|
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="2ca6ba90bc5f94b767208e9744f2378d"/></dir><file name="List.php" hash="fd407b80b108662fbf3455551f500fd9"/></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="Mostviewed"><dir name="Home"><file name="List.php" hash="acae4de506c8c106912fc1bbdedd6be0"/></dir><file name="List.php" hash="0b107893f3ac3b0b41308a2a115bb8fd"/></dir><dir name="Newproduct"><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.6</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>2013-03-16</date>
|
14 |
+
<time>12:14:23</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="2ca6ba90bc5f94b767208e9744f2378d"/></dir><file name="List.php" hash="fd407b80b108662fbf3455551f500fd9"/></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="Mostviewed"><dir name="Home"><file name="List.php" hash="acae4de506c8c106912fc1bbdedd6be0"/></dir><file name="List.php" hash="0b107893f3ac3b0b41308a2a115bb8fd"/></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="60824f9318b57f2ee2cd50f0133b1461"/></dir><file name="List.php" hash="cc021c39e82f12208c86f9f6ac4b043d"/></dir><dir name="lastordered"><dir name="Home"><file name="List.php" hash="f335f13d27a151867e186600a3ba21a3"/></dir><file name="List.php" hash="03fefd64e05776599af96d286c01b48a"/></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="77345a6fd4f3d432d751e98156e8f448"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d049baa4bd9d3ea71f2ea01176344c74"/><file name="config.xml" hash="8f1a67cb30208b1fd87c0d56c9a4cc19"/><file name="system.xml" hash="a7f9c330c14972c0b0052055df509f91"/></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="5a3fd06e7f1bb7f1adc45ce83e7730c1"/><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>
|
skin/frontend/default/default/images/catalogextensions/Thumbs.db
ADDED
Binary file
|