Version Notes
This extension will help you to show bestseller products in left or right panel. You can manage number or product to display from admin area and also managed for left or right panel to display or not.
Download this release
Release Info
Developer | Magento Core Team |
Extension | VS_Bestseller |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/VS/Bestseller/Block/About.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class VS_Bestseller_Block_About
|
4 |
+
extends Mage_Adminhtml_Block_Abstract
|
5 |
+
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
+
{
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Render fieldset html
|
10 |
+
*
|
11 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
+
* @return string
|
13 |
+
*/
|
14 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
+
{
|
16 |
+
$logopath = 'http://www.magentocommerce.com/images/avatars/uploads/avatar_311790.jpg';
|
17 |
+
$html = <<<HTML
|
18 |
+
<div style="background:url('$logopath') no-repeat scroll 14px 14px #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 164px;">
|
19 |
+
<p>
|
20 |
+
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
21 |
+
<a href="http://www.magentocommerce.com/magento-connect/developer/virendra#extensions" target="_blank">VS</a> offers a wide choice of nice-looking and easily editable free and premium Magento extensions. You can find free extensions for the extremely popular Magento eCommerce platform.<br />
|
22 |
+
</p>
|
23 |
+
<p>
|
24 |
+
My extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/virendra#extensions" target="_blank">MagentoConnect</a><br />
|
25 |
+
Should you have any questions email at <a href="mailto:bhardwajveerendra@gmail.com">bhardwajveerendra@gmail.com</a>
|
26 |
+
<br />
|
27 |
+
</p>
|
28 |
+
</div>
|
29 |
+
HTML;
|
30 |
+
return $html;
|
31 |
+
}
|
32 |
+
}
|
app/code/community/VS/Bestseller/etc/system.xml
CHANGED
@@ -17,6 +17,23 @@
|
|
17 |
<show_in_website>1</show_in_website>
|
18 |
<show_in_store>1</show_in_store>
|
19 |
<groups>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<general translate="label">
|
21 |
<label>Settings</label>
|
22 |
<frontend_type>text</frontend_type>
|
17 |
<show_in_website>1</show_in_website>
|
18 |
<show_in_store>1</show_in_store>
|
19 |
<groups>
|
20 |
+
<about translate="label">
|
21 |
+
<label>Developer</label>
|
22 |
+
<frontend_type>text</frontend_type>
|
23 |
+
<sort_order>0</sort_order>
|
24 |
+
<show_in_default>1</show_in_default>
|
25 |
+
<show_in_website>1</show_in_website>
|
26 |
+
<show_in_store>1</show_in_store>
|
27 |
+
<fields>
|
28 |
+
<info translate="label">
|
29 |
+
<frontend_model>bestseller/about</frontend_model>
|
30 |
+
<sort_order>1</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>1</show_in_website>
|
33 |
+
<show_in_store>1</show_in_store>
|
34 |
+
</info>
|
35 |
+
</fields>
|
36 |
+
</about>
|
37 |
<general translate="label">
|
38 |
<label>Settings</label>
|
39 |
<frontend_type>text</frontend_type>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VS_Bestseller</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This extension will help you to show bestseller products in left or right panel. You can manage number or product to display from admin area and also managed for left or right panel to display or not.</description>
|
11 |
<notes>This extension will help you to show bestseller products in left or right panel. You can manage number or product to display from admin area and also managed for left or right panel to display or not.</notes>
|
12 |
<authors><author><name>virendra kumar sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
|
13 |
-
<date>2012-05
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="VS"><dir name="Bestseller"><dir name="Block"><file name="Bestseller.php" hash="7dc94c273efcf36f4cdc2dfe066b5e85"/></dir><dir name="Helper"><file name="Data.php" hash="b957a73c69e0a1f2056aa1c4b3363d0a"/></dir><dir name="etc"><file name="config.xml" hash="ce27da5de3b206369c6e94bf5fcb068e"/><file name="system.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VS_Bestseller</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This extension will help you to show bestseller products in left or right panel. You can manage number or product to display from admin area and also managed for left or right panel to display or not.</description>
|
11 |
<notes>This extension will help you to show bestseller products in left or right panel. You can manage number or product to display from admin area and also managed for left or right panel to display or not.</notes>
|
12 |
<authors><author><name>virendra kumar sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
|
13 |
+
<date>2012-06-05</date>
|
14 |
+
<time>10:10:54</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="VS"><dir name="Bestseller"><dir name="Block"><file name="About.php" hash="2b3fb9f8ddbc9926c3d2fcdd50201922"/><file name="Bestseller.php" hash="7dc94c273efcf36f4cdc2dfe066b5e85"/></dir><dir name="Helper"><file name="Data.php" hash="b957a73c69e0a1f2056aa1c4b3363d0a"/></dir><dir name="etc"><file name="config.xml" hash="ce27da5de3b206369c6e94bf5fcb068e"/><file name="system.xml" hash="02c2b3ce8f936c2ca40f1bb6fe666f2e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="bestseller"><file name="bestseller.phtml" hash="1517665fb1ae85b3fbdfb74e44f1b140"/><file name="block_bestseller.phtml" hash="1517665fb1ae85b3fbdfb74e44f1b140"/></dir></dir><dir name="layout"><file name="bestseller.xml" hash="d2bfcff534264098bad84bbf18961eb2"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Bestseller.xml" hash="9499dc3b3981836bf9b12933a4ee6782"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|