Version Notes
Easy_Topsellers 1.0.1
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Easy_Topsellers |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.1
app/design/frontend/default/default/template/magazento/easytopsell/category.phtml
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
<?php if (Mage::getStoreConfig('easytopsell/options/enable')):?>
|
| 2 |
|
| 3 |
-
|
| 4 |
<div class="block block-topseller">
|
| 5 |
<div class="block-title title-topseller">
|
| 6 |
<?php echo $this->getModel()->getTitle() ?>
|
| 7 |
</div>
|
| 8 |
<div class="block-content">
|
| 9 |
<?php $_products = $this->getProductCollection(); ?>
|
| 10 |
-
<?php if ($_products): ?>
|
| 11 |
<ol class="mini-products-list" id="bestseller-sidebar">
|
| 12 |
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
| 13 |
<?php $i++; ?>
|
|
@@ -45,7 +44,11 @@
|
|
| 45 |
</ol>
|
| 46 |
|
| 47 |
<?php else: ?>
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
<?php endif; ?>
|
| 50 |
</div>
|
| 51 |
</div>
|
| 1 |
<?php if (Mage::getStoreConfig('easytopsell/options/enable')):?>
|
| 2 |
|
|
|
|
| 3 |
<div class="block block-topseller">
|
| 4 |
<div class="block-title title-topseller">
|
| 5 |
<?php echo $this->getModel()->getTitle() ?>
|
| 6 |
</div>
|
| 7 |
<div class="block-content">
|
| 8 |
<?php $_products = $this->getProductCollection(); ?>
|
| 9 |
+
<?php if (sizeof($_products)): ?>
|
| 10 |
<ol class="mini-products-list" id="bestseller-sidebar">
|
| 11 |
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
| 12 |
<?php $i++; ?>
|
| 44 |
</ol>
|
| 45 |
|
| 46 |
<?php else: ?>
|
| 47 |
+
<ol id="bestseller-sidebar" class="mini-products-list">
|
| 48 |
+
<li class="item odd">
|
| 49 |
+
<?php echo $this->getModel()->getNoProductsText(); ?>
|
| 50 |
+
</li>
|
| 51 |
+
</ol>
|
| 52 |
<?php endif; ?>
|
| 53 |
</div>
|
| 54 |
</div>
|
app/design/frontend/default/default/template/magazento/easytopsell/home.phtml
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
</div>
|
| 7 |
<div class="block-content">
|
| 8 |
<?php $_products = $this->getProductCollection(); ?>
|
| 9 |
-
<?php if ($_products): ?>
|
| 10 |
<ol class="mini-products-list" id="bestseller-sidebar">
|
| 11 |
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
| 12 |
<?php $i++; ?>
|
|
@@ -44,7 +44,11 @@
|
|
| 44 |
</ol>
|
| 45 |
|
| 46 |
<?php else: ?>
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
<?php endif; ?>
|
| 49 |
</div>
|
| 50 |
</div>
|
| 6 |
</div>
|
| 7 |
<div class="block-content">
|
| 8 |
<?php $_products = $this->getProductCollection(); ?>
|
| 9 |
+
<?php if (sizeof($_products)): ?>
|
| 10 |
<ol class="mini-products-list" id="bestseller-sidebar">
|
| 11 |
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
| 12 |
<?php $i++; ?>
|
| 44 |
</ol>
|
| 45 |
|
| 46 |
<?php else: ?>
|
| 47 |
+
<ol id="bestseller-sidebar" class="mini-products-list">
|
| 48 |
+
<li class="item odd">
|
| 49 |
+
<?php echo $this->getModel()->getNoProductsText(); ?>
|
| 50 |
+
</li>
|
| 51 |
+
</ol>
|
| 52 |
<?php endif; ?>
|
| 53 |
</div>
|
| 54 |
</div>
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Easy_Topsellers</name>
|
| 4 |
-
<version>1.0.
|
| 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</notes>
|
| 12 |
<authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
|
| 13 |
-
<date>2011-03-
|
| 14 |
-
<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="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 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>
|
