Easy_Topsellers - Version 1.0.2

Version Notes

Easy_Topsellers 1.0.2

Download this release

Release Info

Developer Magento Core Team
Extension Easy_Topsellers
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Magazento/Easytopsell/Block/Category.php CHANGED
@@ -4,11 +4,11 @@ class Magazento_Easytopsell_Block_Category extends Mage_Catalog_Block_Product_Ab
4
 
5
 
6
  protected function _construct() {
7
- parent::_construct();
8
- $this->addData(array(
9
- 'cache_lifetime' => 86400,
10
- 'cache_tags' => array('magazentoeasytopsell_category'),
11
- ));
12
 
13
  }
14
  protected function _beforeToHtml() {
4
 
5
 
6
  protected function _construct() {
7
+ // parent::_construct();
8
+ // $this->addData(array(
9
+ // 'cache_lifetime' => 86400,
10
+ // 'cache_tags' => array('magazentoeasytopsell_category'),
11
+ // ));
12
 
13
  }
14
  protected function _beforeToHtml() {
app/code/community/Magazento/Easytopsell/Model/Data.php CHANGED
@@ -5,6 +5,7 @@ Class Magazento_Easytopsell_Model_Data {
5
  public function getSellDate($days) {
6
  $product = Mage::getModel('catalog/product');
7
  $product=array();
 
8
  // $dateformat=Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
9
  $product['todaydate'] = date('Y-m-d H:i:s', time());
10
  $product['startdate'] = date('Y-m-d H:i:s', time() - 60 * 60 * 24 * $days);
5
  public function getSellDate($days) {
6
  $product = Mage::getModel('catalog/product');
7
  $product=array();
8
+ // $dateFormatIso = Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
9
  // $dateformat=Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
10
  $product['todaydate'] = date('Y-m-d H:i:s', time());
11
  $product['startdate'] = date('Y-m-d H:i:s', time() - 60 * 60 * 24 * $days);
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Easy_Topsellers</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Easy_Topsellers</summary>
10
  <description>Easy_Topsellers</description>
11
- <notes>Easy_Topsellers 1.0.1</notes>
12
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
13
- <date>2011-03-12</date>
14
- <time>09:18:35</time>
15
- <contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Easytopsell.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_easytopsell.xml" hash="7f652db292d6564402fbe0c640041944"/></dir><dir name="template"><dir name="magazento"><dir name="easytopsell"><file name="category.phtml" hash="cbaea3d72a839fd48d70428a2e50d4da"/><file name="home.phtml" hash="b3cb0e7dba4c006bcd5503d4a2498004"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="easytopseller"><file name="style.css" hash="3d08de88cf731f45a66ea8fc6af5878e"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Easytopsell"><dir name="Block"><file name="Category.php" hash="5c0ea500fabbdd343435c2a2b6f8a85d"/><file name="Home.php" hash="e5c84d5f6c517459a5a7a3e1b0438295"/><file name="Info.php" hash="307e4b291bedbff98e92f49fa4f81b5e"/></dir><dir name="etc"><file name="config.xml" hash="1412aeb027d53e1d5e8ca566d1b1d34f"/><file name="system.xml" hash="ef106af954194674fbb31a4f058573e7"/></dir><dir name="Helper"><file name="Data.php" hash="7b08dbc1645274f7deafc996dc3677a9"/></dir><dir name="Model"><file name="Data.php" hash="d3b4429060b070432be858a98075a0cb"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Easytopsell.xml" hash="bcf1d8c496a3d7759a347cc782e934c6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Easy_Topsellers</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Easy_Topsellers</summary>
10
  <description>Easy_Topsellers</description>
11
+ <notes>Easy_Topsellers 1.0.2</notes>
12
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
13
+ <date>2011-03-16</date>
14
+ <time>06:43:16</time>
15
+ <contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Easytopsell.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_easytopsell.xml" hash="7f652db292d6564402fbe0c640041944"/></dir><dir name="template"><dir name="magazento"><dir name="easytopsell"><file name="category.phtml" hash="cbaea3d72a839fd48d70428a2e50d4da"/><file name="home.phtml" hash="b3cb0e7dba4c006bcd5503d4a2498004"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="easytopseller"><file name="style.css" hash="3d08de88cf731f45a66ea8fc6af5878e"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Easytopsell"><dir name="Block"><file name="Category.php" hash="53a0576f34c13d8129fc551dc440f30d"/><file name="Home.php" hash="e5c84d5f6c517459a5a7a3e1b0438295"/><file name="Info.php" hash="307e4b291bedbff98e92f49fa4f81b5e"/></dir><dir name="etc"><file name="config.xml" hash="1412aeb027d53e1d5e8ca566d1b1d34f"/><file name="system.xml" hash="ef106af954194674fbb31a4f058573e7"/></dir><dir name="Helper"><file name="Data.php" hash="7b08dbc1645274f7deafc996dc3677a9"/></dir><dir name="Model"><file name="Data.php" hash="d0f528c4a4116486afbbebf504e60119"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Easytopsell.xml" hash="bcf1d8c496a3d7759a347cc782e934c6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>