Bestseller_products - Version 2.1.0

Version Notes

Best Seller

Download this release

Release Info

Developer Capacity Web Solutions
Extension Bestseller_products
Version 2.1.0
Comparing to
See all releases


Code changes from version 2.0.0 to 2.1.0

Files changed (35) hide show
  1. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller.php +5 -6
  2. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit.php +5 -6
  3. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Form.php +5 -6
  4. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Tab/Products.php +5 -6
  5. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Tabs.php +5 -6
  6. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Grid.php +5 -6
  7. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultDirectCode.php +5 -6
  8. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultTemplate.php +5 -6
  9. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultXML.php +5 -6
  10. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdDirectCode.php +5 -6
  11. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdTemplate.php +6 -8
  12. app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdXML.php +6 -9
  13. app/code/community/CapacityWebSolutions/Bestseller/Block/Bestseller.php +7 -8
  14. app/code/community/CapacityWebSolutions/Bestseller/Helper/Data.php +5 -7
  15. app/code/community/CapacityWebSolutions/Bestseller/Model/Bestseller.php +5 -7
  16. app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Bestseller.php +5 -7
  17. app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Bestseller/Collection.php +5 -7
  18. app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Product/Collection.php +6 -0
  19. app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Bundleproducts.php +1 -1
  20. app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Chooseproducts.php +1 -1
  21. app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Orderstatus.php +1 -1
  22. app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Sortorder.php +1 -1
  23. app/code/community/CapacityWebSolutions/Bestseller/controllers/Adminhtml/BestsellerController.php +5 -7
  24. app/code/community/CapacityWebSolutions/Bestseller/etc/adminhtml.xml +46 -0
  25. app/code/community/CapacityWebSolutions/Bestseller/etc/config.xml +8 -53
  26. app/code/community/CapacityWebSolutions/Bestseller/etc/system.xml +47 -44
  27. app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-install-0.1.0.php +0 -17
  28. app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-0.1.0-1.1.7.php +6 -0
  29. app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-1.1.7-2.0.0.php +24 -0
  30. app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-2.0.0-2.1.0.php +13 -0
  31. app/design/adminhtml/default/default/layout/bestseller.xml +4 -4
  32. app/design/adminhtml/default/default/template/bestseller/product.phtml +5 -9
  33. app/design/frontend/base/default/template/bestseller/bestseller-responsive.phtml +6 -8
  34. app/design/frontend/base/default/template/bestseller/bestseller.phtml +27 -37
  35. package.xml +5 -5
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller extends Mage_Adminhtml_Block_Widget_Grid_Container
10
  {
11
  public function __construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller extends Mage_Adminhtml_Block_Widget_Grid_Container
9
  {
10
  public function __construct()
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
10
  {
11
  public function __construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
9
  {
10
  public function __construct()
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Form.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
10
  {
11
  protected function _prepareForm()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
9
  {
10
  protected function _prepareForm()
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Tab/Products.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Tab_Products extends Mage_Adminhtml_Block_Widget_Form
10
  {
11
  public function __construct() {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Tab_Products extends Mage_Adminhtml_Block_Widget_Form
9
  {
10
  public function __construct() {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Edit/Tabs.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
10
  {
11
  public function __construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
9
  {
10
  public function __construct()
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/Bestseller/Grid.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Grid extends Mage_Adminhtml_Block_Widget_Grid
10
  {
11
  public function __construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_Bestseller_Grid extends Mage_Adminhtml_Block_Widget_Grid
9
  {
10
  public function __construct()
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultDirectCode.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultDirectCode
10
  extends Mage_Adminhtml_Block_System_Config_Form_Field
11
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultDirectCode
9
  extends Mage_Adminhtml_Block_System_Config_Form_Field
10
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultTemplate.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultTemplate
10
  extends Mage_Adminhtml_Block_System_Config_Form_Field
11
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultTemplate
9
  extends Mage_Adminhtml_Block_System_Config_Form_Field
10
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/DefaultXML.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultXML
10
  extends Mage_Adminhtml_Block_System_Config_Form_Field
11
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_DefaultXML
9
  extends Mage_Adminhtml_Block_System_Config_Form_Field
10
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdDirectCode.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdDirectCode
10
  extends Mage_Adminhtml_Block_System_Config_Form_Field
11
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdDirectCode
9
  extends Mage_Adminhtml_Block_System_Config_Form_Field
10
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdTemplate.php CHANGED
@@ -1,13 +1,11 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
- class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdTemplate
10
- extends Mage_Adminhtml_Block_System_Config_Form_Field
11
  {
12
  protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
13
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
8
+ class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdTemplate extends Mage_Adminhtml_Block_System_Config_Form_Field
 
 
9
  {
10
  protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Adminhtml/RwdXML.php CHANGED
@@ -1,14 +1,11 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
- class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdXML
11
- extends Mage_Adminhtml_Block_System_Config_Form_Field
12
  {
13
  protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
14
  {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
8
+ class CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdXML extends Mage_Adminhtml_Block_System_Config_Form_Field
 
 
 
9
  {
10
  protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
  {
app/code/community/CapacityWebSolutions/Bestseller/Block/Bestseller.php CHANGED
@@ -1,18 +1,17 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Block_Bestseller extends Mage_Catalog_Block_Product_Abstract // Mage_Core_Block_Template
11
  {
12
  public function __construct()
13
  {
14
  $this->setEnabled((bool)Mage::getStoreConfigFlag("bestseller/general/enabled"));
15
- $this->setHeader(Mage::getStoreConfig("bestseller/general/heading"));
 
16
  $this->setLimit((int)Mage::getStoreConfig("bestseller/general/number_of_items"));
17
  $this->setItemsPerRow((int)Mage::getStoreConfig("bestseller/general/number_of_items_per_row"));
18
  $this->setStoreId(Mage::app()->getStore()->getId());
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Block_Bestseller extends Mage_Catalog_Block_Product_Abstract // Mage_Core_Block_Template
9
  {
10
  public function __construct()
11
  {
12
  $this->setEnabled((bool)Mage::getStoreConfigFlag("bestseller/general/enabled"));
13
+ $this->setDisplayHeader((bool)Mage::getStoreConfig("bestseller/general/display_heading"));
14
+ $this->setHeader(Mage::getStoreConfig("bestseller/general/heading"));
15
  $this->setLimit((int)Mage::getStoreConfig("bestseller/general/number_of_items"));
16
  $this->setItemsPerRow((int)Mage::getStoreConfig("bestseller/general/number_of_items_per_row"));
17
  $this->setStoreId(Mage::app()->getStore()->getId());
app/code/community/CapacityWebSolutions/Bestseller/Helper/Data.php CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Best Seller Products.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Helper_Data extends Mage_Core_Helper_Abstract
11
  {
12
  }
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Helper_Data extends Mage_Core_Helper_Abstract
9
  {
10
  }
app/code/community/CapacityWebSolutions/Bestseller/Model/Bestseller.php CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Best Seller Products.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Model_Bestseller extends Mage_Core_Model_Abstract
11
  {
12
  public function _construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Model_Bestseller extends Mage_Core_Model_Abstract
9
  {
10
  public function _construct()
app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Bestseller.php CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Best Seller Products.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Bestseller extends Mage_Core_Model_Mysql4_Abstract
11
  {
12
  public function _construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Bestseller extends Mage_Core_Model_Mysql4_Abstract
9
  {
10
  public function _construct()
app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Bestseller/Collection.php CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Best Seller Products.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Bestseller_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
11
  {
12
  public function _construct()
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Bestseller_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
9
  {
10
  public function _construct()
app/code/community/CapacityWebSolutions/Bestseller/Model/Mysql4/Product/Collection.php CHANGED
@@ -1,4 +1,10 @@
1
  <?php
 
 
 
 
 
 
2
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Product_Collection extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
3
  {
4
  const SELECT_COUNT_SQL_TYPE_CART = 1;
1
  <?php
2
+ /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
8
  class CapacityWebSolutions_Bestseller_Model_Mysql4_Product_Collection extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
9
  {
10
  const SELECT_COUNT_SQL_TYPE_CART = 1;
app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Bundleproducts.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  {
3
  }
 
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
 
1
  {
2
  }
3
+ <?php
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Chooseproducts.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  {
3
  }
 
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
 
1
  {
2
  }
3
+ <?php
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Orderstatus.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  {
3
  }
 
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
 
1
  {
2
  }
3
+ <?php
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
app/code/community/CapacityWebSolutions/Bestseller/Model/System/Config/Source/Sortorder.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  {
3
  }
 
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
 
1
  {
2
  }
3
+ <?php
4
  Extension Name : Bestseller Products
5
  Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
6
  Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
7
  Support Email : support@magebees.com
8
  ***************************************************************************/
9
  {
10
  }
app/code/community/CapacityWebSolutions/Bestseller/controllers/Adminhtml/BestsellerController.php CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  class CapacityWebSolutions_Bestseller_Adminhtml_BestsellerController extends Mage_Adminhtml_Controller_Action {
11
 
12
  protected function _initAction() {
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  class CapacityWebSolutions_Bestseller_Adminhtml_BestsellerController extends Mage_Adminhtml_Controller_Action {
9
 
10
  protected function _initAction() {
app/code/community/CapacityWebSolutions/Bestseller/etc/adminhtml.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <cws module="bestseller">
5
+ <title>MageBees</title>
6
+ <sort_order>70</sort_order>
7
+ <children>
8
+ <bestseller module="bestseller">
9
+ <title>Bestseller Products</title>
10
+ <sort_order>70</sort_order>
11
+ <children>
12
+ <groups module="bestseller">
13
+ <title>Manage Products Manually</title>
14
+ <sort_order>10</sort_order>
15
+ <action>adminhtml/bestseller</action>
16
+ </groups>
17
+ <settings>
18
+ <title>Manage Settings</title>
19
+ <sort_order>20</sort_order>
20
+ <action>adminhtml/system_config/edit/section/bestseller</action>
21
+ </settings>
22
+ </children>
23
+ </bestseller>
24
+ </children>
25
+ </cws>
26
+ </menu>
27
+ <acl>
28
+ <resources>
29
+ <admin>
30
+ <children>
31
+ <system>
32
+ <children>
33
+ <config>
34
+ <children>
35
+ <bestseller>
36
+ <title>Bestseller Section</title>
37
+ </bestseller>
38
+ </children>
39
+ </config>
40
+ </children>
41
+ </system>
42
+ </children>
43
+ </admin>
44
+ </resources>
45
+ </acl>
46
+ </config>
app/code/community/CapacityWebSolutions/Bestseller/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <CapacityWebSolutions_Bestseller>
5
- <version>2.0.0</version>
6
  </CapacityWebSolutions_Bestseller>
7
  </modules>
8
  <global>
@@ -62,45 +62,18 @@
62
  </bestseller>
63
  </routers>
64
  </frontend>
65
-
66
  <admin>
67
  <routers>
68
- <bestseller>
69
- <use>admin</use>
70
  <args>
71
- <module>CapacityWebSolutions_Bestseller</module>
72
- <frontName>bestseller</frontName>
 
73
  </args>
74
- </bestseller>
75
  </routers>
76
  </admin>
77
-
78
- <adminhtml>
79
- <menu>
80
- <cws module="bestseller">
81
- <title>CWS Extensions</title>
82
- <sort_order>70</sort_order>
83
- <children>
84
- <bestseller module="bestseller">
85
- <title>Bestseller Products</title>
86
- <sort_order>70</sort_order>
87
- <children>
88
- <groups module="bestseller">
89
- <title>Manage Products Manually</title>
90
- <sort_order>10</sort_order>
91
- <action>bestseller/adminhtml_bestseller</action>
92
- </groups>
93
- <settings>
94
- <title>Manage Settings</title>
95
- <sort_order>20</sort_order>
96
- <action>adminhtml/system_config/edit/section/bestseller</action>
97
- </settings>
98
- </children>
99
-
100
- </bestseller>
101
- </children>
102
- </cws>
103
- </menu>
104
  <layout>
105
  <updates>
106
  <bestseller>
@@ -108,30 +81,12 @@
108
  </bestseller>
109
  </updates>
110
  </layout>
111
- <acl>
112
- <resources>
113
- <admin>
114
- <children>
115
- <system>
116
- <children>
117
- <config>
118
- <children>
119
- <bestseller>
120
- <title>Bestseller Section</title>
121
- </bestseller>
122
- </children>
123
- </config>
124
- </children>
125
- </system>
126
- </children>
127
- </admin>
128
- </resources>
129
- </acl>
130
  </adminhtml>
131
  <default> <!-- Default text value set from admin-->
132
  <bestseller>
133
  <general>
134
  <enabled>1</enabled>
 
135
  <heading>BESTSELLER PRODUCTS</heading>
136
  <number_of_items>6</number_of_items>
137
  <number_of_items_per_row>3</number_of_items_per_row>
2
  <config>
3
  <modules>
4
  <CapacityWebSolutions_Bestseller>
5
+ <version>2.1.0</version>
6
  </CapacityWebSolutions_Bestseller>
7
  </modules>
8
  <global>
62
  </bestseller>
63
  </routers>
64
  </frontend>
 
65
  <admin>
66
  <routers>
67
+ <adminhtml>
 
68
  <args>
69
+ <modules>
70
+ <bestseller after="Mage_Adminhtml">CapacityWebSolutions_Bestseller_Adminhtml</bestseller>
71
+ </modules>
72
  </args>
73
+ </adminhtml>
74
  </routers>
75
  </admin>
76
+ <adminhtml>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  <layout>
78
  <updates>
79
  <bestseller>
81
  </bestseller>
82
  </updates>
83
  </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  </adminhtml>
85
  <default> <!-- Default text value set from admin-->
86
  <bestseller>
87
  <general>
88
  <enabled>1</enabled>
89
+ <display_heading>1</display_heading>
90
  <heading>BESTSELLER PRODUCTS</heading>
91
  <number_of_items>6</number_of_items>
92
  <number_of_items_per_row>3</number_of_items_per_row>
app/code/community/CapacityWebSolutions/Bestseller/etc/system.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <tabs>
4
  <cws>
5
- <label>Capacity Web Solutions</label>
6
  <sort_order>100</sort_order>
7
  </cws>
8
  </tabs>
@@ -66,7 +66,6 @@
66
  <frontend_model>CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdXML</frontend_model>
67
  <sort_order>1</sort_order>
68
  <show_in_default>1</show_in_default>
69
-
70
  </bsxml>
71
  <bstemplated translate="label comment">
72
  <comment><![CDATA[]]></comment>
@@ -80,7 +79,7 @@
80
  <comment><![CDATA[]]></comment>
81
  <label>Call Via Frontend Template File</label>
82
  <frontend_type>text</frontend_type>
83
- <frontend_model>CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdDirectCode</frontend_model>
84
  <sort_order>3</sort_order>
85
  <show_in_default>1</show_in_default>
86
  </bsdirect>
@@ -96,7 +95,7 @@
96
  <fields>
97
  <enabled translate="label">
98
  <label>Enabled</label>
99
- <comment>Select Yes for display the Bestseller Products Extension on frontend.</comment>
100
  <source_model>adminhtml/system_config_source_yesno</source_model>
101
  <frontend_type>select</frontend_type>
102
  <sort_order>0</sort_order>
@@ -104,14 +103,27 @@
104
  <show_in_website>1</show_in_website>
105
  <show_in_store>1</show_in_store>
106
  </enabled>
 
 
 
 
 
 
 
 
 
 
107
  <heading translate="label">
108
  <label>Heading</label>
109
- <comment>Here, We can Set Heading.</comment>
110
  <frontend_type>text</frontend_type>
111
- <sort_order>1</sort_order>
112
  <show_in_default>1</show_in_default>
113
  <show_in_website>1</show_in_website>
114
  <show_in_store>1</show_in_store>
 
 
 
115
  </heading>
116
  <choose_products translate="label">
117
  <label>Best Seller Products</label>
@@ -121,7 +133,7 @@
121
  </comment>
122
  <source_model>bestseller/system_config_source_chooseproducts</source_model>
123
  <frontend_type>select</frontend_type>
124
- <sort_order>2</sort_order>
125
  <show_in_default>1</show_in_default>
126
  <show_in_website>1</show_in_website>
127
  <show_in_store>1</show_in_store>
@@ -133,7 +145,7 @@
133
  ]]></comment>
134
  <source_model>bestseller/system_config_source_sortorder</source_model>
135
  <frontend_type>select</frontend_type>
136
- <sort_order>3</sort_order>
137
  <show_in_default>1</show_in_default>
138
  <show_in_website>1</show_in_website>
139
  <show_in_store>1</show_in_store>
@@ -145,131 +157,122 @@
145
  </comment>
146
  <source_model>bestseller/system_config_source_bundleproducts</source_model>
147
  <frontend_type>select</frontend_type>
148
- <sort_order>4</sort_order>
149
  <show_in_default>1</show_in_default>
150
  <show_in_website>1</show_in_website>
151
  <show_in_store>1</show_in_store>
152
  </bundle_products>
153
  <number_of_items translate="label comment">
154
  <label>Number Of Items in Main Block</label>
155
- <comment>Show Number of best seller products in main block</comment>
156
  <frontend_type>text</frontend_type>
157
- <sort_order>6</sort_order>
158
  <show_in_default>1</show_in_default>
159
  <show_in_website>1</show_in_website>
160
  <show_in_store>1</show_in_store>
161
  </number_of_items>
162
  <number_of_items_per_row translate="label comment">
163
  <label>Number Of Items per row in Main Block</label>
164
- <comment>Show Number of best seller products in per row</comment>
165
  <frontend_type>text</frontend_type>
166
- <sort_order>7</sort_order>
167
  <show_in_default>1</show_in_default>
168
  <show_in_website>1</show_in_website>
169
  <show_in_store>1</show_in_store>
170
  </number_of_items_per_row>
171
  <thumbnail_height translate="label">
172
  <label>Thumbnail Width</label>
173
- <comment>Default Thumbnail Width: 135px</comment>
174
  <frontend_type>text</frontend_type>
175
- <sort_order>8</sort_order>
176
  <show_in_default>1</show_in_default>
177
  <show_in_website>1</show_in_website>
178
  <show_in_store>1</show_in_store>
179
  </thumbnail_height>
180
  <thumbnail_width translate="label">
181
  <label>Thumbnail Height </label>
182
- <comment>Default Thumbnail Height: 135px</comment>
183
  <frontend_type>text</frontend_type>
184
- <sort_order>9</sort_order>
185
  <show_in_default>1</show_in_default>
186
  <show_in_website>1</show_in_website>
187
  <show_in_store>1</show_in_store>
188
  </thumbnail_width>
189
  <time_period translate="label">
190
  <label>Time Period</label>
191
- <comment>Days bestselling product. Default 60 days.</comment>
192
- <frontend_type>text</frontend_type>
193
- <sort_order>10</sort_order>
194
- <show_in_default>1</show_in_default>
195
- <show_in_website>1</show_in_website>
196
- <show_in_store>1</show_in_store>
197
- </time_period>
198
- <time_period translate="label">
199
- <label>Time Period</label>
200
- <comment>Days bestselling product. Default 60 days.</comment>
201
  <frontend_type>text</frontend_type>
202
- <sort_order>11</sort_order>
203
  <show_in_default>1</show_in_default>
204
  <show_in_website>1</show_in_website>
205
  <show_in_store>1</show_in_store>
206
  </time_period>
207
- <products_price translate="label">
208
  <label>Show Products Price</label>
209
- <comment>Select Yes for display the Products Price on frontend.</comment>
210
  <source_model>adminhtml/system_config_source_yesno</source_model>
211
  <frontend_type>select</frontend_type>
212
- <sort_order>12</sort_order>
213
  <show_in_default>1</show_in_default>
214
  <show_in_website>1</show_in_website>
215
  <show_in_store>1</show_in_store>
216
  </products_price>
217
  <review translate="label">
218
  <label>Show Reviews Ratings</label>
219
- <comment>Select Yes for display the Reviews Ratings on frontend.</comment>
220
  <source_model>adminhtml/system_config_source_yesno</source_model>
221
  <frontend_type>select</frontend_type>
222
- <sort_order>13</sort_order>
223
  <show_in_default>1</show_in_default>
224
  <show_in_website>1</show_in_website>
225
  <show_in_store>1</show_in_store>
226
  </review>
227
  <add_to_cart translate="label">
228
  <label>Add to Cart</label>
229
- <comment>Select Yes for display the Add to cart button on frontend.</comment>
230
  <source_model>adminhtml/system_config_source_yesno</source_model>
231
  <frontend_type>select</frontend_type>
232
- <sort_order>14</sort_order>
233
  <show_in_default>1</show_in_default>
234
  <show_in_website>1</show_in_website>
235
  <show_in_store>1</show_in_store>
236
  </add_to_cart>
237
  <active translate="label">
238
  <label>Add to Wishlist</label>
239
- <comment>Select Yes for display the Add to Wishlist Link on frontend.</comment>
240
  <frontend_type>select</frontend_type>
241
  <source_model>adminhtml/system_config_source_yesno</source_model>
242
- <sort_order>15</sort_order>
243
  <show_in_default>1</show_in_default>
244
  <show_in_website>1</show_in_website>
245
  <show_in_store>1</show_in_store>
246
  </active>
247
  <add_to_compare translate="label">
248
  <label>Add to Compare</label>
249
- <comment>Select Yes for display the Add to Compare Link on frontend.</comment>
250
  <source_model>adminhtml/system_config_source_yesno</source_model>
251
  <frontend_type>select</frontend_type>
252
- <sort_order>16</sort_order>
253
  <show_in_default>1</show_in_default>
254
  <show_in_website>1</show_in_website>
255
  <show_in_store>1</show_in_store>
256
  </add_to_compare>
257
  <out_of_stoke translate="label">
258
  <label>Display out of stock items</label>
259
- <comment>Select Yes for display the out of stock items on frontend.</comment>
260
  <source_model>adminhtml/system_config_source_yesno</source_model>
261
  <frontend_type>select</frontend_type>
262
- <sort_order>17</sort_order>
263
  <show_in_default>1</show_in_default>
264
  <show_in_website>1</show_in_website>
265
  <show_in_store>1</show_in_store>
266
  </out_of_stoke>
267
  <order_status translate="label">
268
  <label>Order Status</label>
269
- <comment>Applied only if "Best Seller Products" field is set to "Auto" or "Both".</comment>
270
  <source_model>bestseller/system_config_source_orderstatus</source_model>
271
  <frontend_type>multiselect</frontend_type>
272
- <sort_order>18</sort_order>
273
  <show_in_default>1</show_in_default>
274
  <show_in_website>1</show_in_website>
275
  <show_in_store>1</show_in_store>
@@ -279,4 +282,4 @@
279
  </groups>
280
  </bestseller>
281
  </sections>
282
- </config>
2
  <config>
3
  <tabs>
4
  <cws>
5
+ <label>MageBees</label>
6
  <sort_order>100</sort_order>
7
  </cws>
8
  </tabs>
66
  <frontend_model>CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdXML</frontend_model>
67
  <sort_order>1</sort_order>
68
  <show_in_default>1</show_in_default>
 
69
  </bsxml>
70
  <bstemplated translate="label comment">
71
  <comment><![CDATA[]]></comment>
79
  <comment><![CDATA[]]></comment>
80
  <label>Call Via Frontend Template File</label>
81
  <frontend_type>text</frontend_type>
82
+ <frontend_model>CapacityWebSolutions_Bestseller_Block_Adminhtml_RwdDirectCode</frontend_model>
83
  <sort_order>3</sort_order>
84
  <show_in_default>1</show_in_default>
85
  </bsdirect>
95
  <fields>
96
  <enabled translate="label">
97
  <label>Enabled</label>
98
+ <comment><![CDATA[Select Yes for display the Bestseller Products Extension on frontend.]]></comment>
99
  <source_model>adminhtml/system_config_source_yesno</source_model>
100
  <frontend_type>select</frontend_type>
101
  <sort_order>0</sort_order>
103
  <show_in_website>1</show_in_website>
104
  <show_in_store>1</show_in_store>
105
  </enabled>
106
+ <display_heading translate="label">
107
+ <label>Display Heading</label>
108
+ <comment><![CDATA[Select Yes for display page heading.]]></comment>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <frontend_type>select</frontend_type>
111
+ <sort_order>5</sort_order>
112
+ <show_in_default>1</show_in_default>
113
+ <show_in_website>1</show_in_website>
114
+ <show_in_store>1</show_in_store>
115
+ </display_heading>
116
  <heading translate="label">
117
  <label>Heading</label>
118
+ <comment><![CDATA[Here, We can Set Heading.]]></comment>
119
  <frontend_type>text</frontend_type>
120
+ <sort_order>10</sort_order>
121
  <show_in_default>1</show_in_default>
122
  <show_in_website>1</show_in_website>
123
  <show_in_store>1</show_in_store>
124
+ <depends>
125
+ <display_heading>1</display_heading>
126
+ </depends>
127
  </heading>
128
  <choose_products translate="label">
129
  <label>Best Seller Products</label>
133
  </comment>
134
  <source_model>bestseller/system_config_source_chooseproducts</source_model>
135
  <frontend_type>select</frontend_type>
136
+ <sort_order>15</sort_order>
137
  <show_in_default>1</show_in_default>
138
  <show_in_website>1</show_in_website>
139
  <show_in_store>1</show_in_store>
145
  ]]></comment>
146
  <source_model>bestseller/system_config_source_sortorder</source_model>
147
  <frontend_type>select</frontend_type>
148
+ <sort_order>20</sort_order>
149
  <show_in_default>1</show_in_default>
150
  <show_in_website>1</show_in_website>
151
  <show_in_store>1</show_in_store>
157
  </comment>
158
  <source_model>bestseller/system_config_source_bundleproducts</source_model>
159
  <frontend_type>select</frontend_type>
160
+ <sort_order>25</sort_order>
161
  <show_in_default>1</show_in_default>
162
  <show_in_website>1</show_in_website>
163
  <show_in_store>1</show_in_store>
164
  </bundle_products>
165
  <number_of_items translate="label comment">
166
  <label>Number Of Items in Main Block</label>
167
+ <comment><![CDATA[Show Number of best seller products in main block]]></comment>
168
  <frontend_type>text</frontend_type>
169
+ <sort_order>30</sort_order>
170
  <show_in_default>1</show_in_default>
171
  <show_in_website>1</show_in_website>
172
  <show_in_store>1</show_in_store>
173
  </number_of_items>
174
  <number_of_items_per_row translate="label comment">
175
  <label>Number Of Items per row in Main Block</label>
176
+ <comment><![CDATA[Show Number of best seller products in per row]]></comment>
177
  <frontend_type>text</frontend_type>
178
+ <sort_order>35</sort_order>
179
  <show_in_default>1</show_in_default>
180
  <show_in_website>1</show_in_website>
181
  <show_in_store>1</show_in_store>
182
  </number_of_items_per_row>
183
  <thumbnail_height translate="label">
184
  <label>Thumbnail Width</label>
185
+ <comment><![CDATA[Default Thumbnail Width: 135px]]></comment>
186
  <frontend_type>text</frontend_type>
187
+ <sort_order>40</sort_order>
188
  <show_in_default>1</show_in_default>
189
  <show_in_website>1</show_in_website>
190
  <show_in_store>1</show_in_store>
191
  </thumbnail_height>
192
  <thumbnail_width translate="label">
193
  <label>Thumbnail Height </label>
194
+ <comment><![CDATA[Default Thumbnail Height: 135px]]></comment>
195
  <frontend_type>text</frontend_type>
196
+ <sort_order>45</sort_order>
197
  <show_in_default>1</show_in_default>
198
  <show_in_website>1</show_in_website>
199
  <show_in_store>1</show_in_store>
200
  </thumbnail_width>
201
  <time_period translate="label">
202
  <label>Time Period</label>
203
+ <comment><![CDATA[Days bestselling product. Default 60 days.]]></comment>
 
 
 
 
 
 
 
 
 
204
  <frontend_type>text</frontend_type>
205
+ <sort_order>50</sort_order>
206
  <show_in_default>1</show_in_default>
207
  <show_in_website>1</show_in_website>
208
  <show_in_store>1</show_in_store>
209
  </time_period>
210
+ <products_price translate="label">
211
  <label>Show Products Price</label>
212
+ <comment><![CDATA[Select Yes for display the Products Price on frontend.]]></comment>
213
  <source_model>adminhtml/system_config_source_yesno</source_model>
214
  <frontend_type>select</frontend_type>
215
+ <sort_order>55</sort_order>
216
  <show_in_default>1</show_in_default>
217
  <show_in_website>1</show_in_website>
218
  <show_in_store>1</show_in_store>
219
  </products_price>
220
  <review translate="label">
221
  <label>Show Reviews Ratings</label>
222
+ <comment><![CDATA[Select Yes for display the Reviews Ratings on frontend.]]></comment>
223
  <source_model>adminhtml/system_config_source_yesno</source_model>
224
  <frontend_type>select</frontend_type>
225
+ <sort_order>60</sort_order>
226
  <show_in_default>1</show_in_default>
227
  <show_in_website>1</show_in_website>
228
  <show_in_store>1</show_in_store>
229
  </review>
230
  <add_to_cart translate="label">
231
  <label>Add to Cart</label>
232
+ <comment><![CDATA[Select Yes for display the Add to cart button on frontend.]]></comment>
233
  <source_model>adminhtml/system_config_source_yesno</source_model>
234
  <frontend_type>select</frontend_type>
235
+ <sort_order>65</sort_order>
236
  <show_in_default>1</show_in_default>
237
  <show_in_website>1</show_in_website>
238
  <show_in_store>1</show_in_store>
239
  </add_to_cart>
240
  <active translate="label">
241
  <label>Add to Wishlist</label>
242
+ <comment><![CDATA[Select Yes for display the Add to Wishlist Link on frontend.]]></comment>
243
  <frontend_type>select</frontend_type>
244
  <source_model>adminhtml/system_config_source_yesno</source_model>
245
+ <sort_order>70</sort_order>
246
  <show_in_default>1</show_in_default>
247
  <show_in_website>1</show_in_website>
248
  <show_in_store>1</show_in_store>
249
  </active>
250
  <add_to_compare translate="label">
251
  <label>Add to Compare</label>
252
+ <comment><![CDATA[Select Yes for display the Add to Compare Link on frontend.]]></comment>
253
  <source_model>adminhtml/system_config_source_yesno</source_model>
254
  <frontend_type>select</frontend_type>
255
+ <sort_order>75</sort_order>
256
  <show_in_default>1</show_in_default>
257
  <show_in_website>1</show_in_website>
258
  <show_in_store>1</show_in_store>
259
  </add_to_compare>
260
  <out_of_stoke translate="label">
261
  <label>Display out of stock items</label>
262
+ <comment><![CDATA[Select Yes for display the out of stock items on frontend.]]></comment>
263
  <source_model>adminhtml/system_config_source_yesno</source_model>
264
  <frontend_type>select</frontend_type>
265
+ <sort_order>80</sort_order>
266
  <show_in_default>1</show_in_default>
267
  <show_in_website>1</show_in_website>
268
  <show_in_store>1</show_in_store>
269
  </out_of_stoke>
270
  <order_status translate="label">
271
  <label>Order Status</label>
272
+ <comment><![CDATA[Applied only if "Best Seller Products" field is set to "Auto" or "Both".]]></comment>
273
  <source_model>bestseller/system_config_source_orderstatus</source_model>
274
  <frontend_type>multiselect</frontend_type>
275
+ <sort_order>85</sort_order>
276
  <show_in_default>1</show_in_default>
277
  <show_in_website>1</show_in_website>
278
  <show_in_store>1</show_in_store>
282
  </groups>
283
  </bestseller>
284
  </sections>
285
+ </config>
app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-install-0.1.0.php CHANGED
@@ -3,21 +3,4 @@
3
  $installer = $this;
4
 
5
  $installer->startSetup();
6
-
7
- $installer->run("
8
-
9
- CREATE TABLE IF NOT EXISTS `".$this->getTable('bestseller')."` (
10
- `bestseller_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
11
- `sku` varchar(32) NOT NULL DEFAULT '',
12
- `product_id` int(11) unsigned NOT NULL,
13
- PRIMARY KEY (`bestseller_id`),
14
- KEY `IDX_BESTSELLER_PRODUCT_SKU` (`sku`),
15
- KEY `IDX_BESTSELLER_PRODUCT_ID` (`product_id`)
16
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
17
-
18
- ALTER TABLE `".$this->getTable('bestseller')."`
19
- ADD CONSTRAINT `IDX_BESTSELLER_PRODUCT_SKU` FOREIGN KEY (`sku`) REFERENCES `".$this->getTable('catalog_product_entity')."` (`sku`) ON DELETE CASCADE ON UPDATE CASCADE,
20
- ADD CONSTRAINT `IDX_BESTSELLER_PRODUCT_ID` FOREIGN KEY (`product_id`) REFERENCES `".$this->getTable('catalog_product_entity')."` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE;
21
- ");
22
-
23
  $installer->endSetup();
3
  $installer = $this;
4
 
5
  $installer->startSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  $installer->endSetup();
app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-0.1.0-1.1.7.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+ $installer->endSetup();
app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-1.1.7-2.0.0.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ CREATE TABLE IF NOT EXISTS `".$this->getTable('bestseller')."` (
10
+ `bestseller_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
11
+ `sku` varchar(32) NOT NULL DEFAULT '',
12
+ `product_id` int(11) unsigned NOT NULL,
13
+ PRIMARY KEY (`bestseller_id`),
14
+ KEY `IDX_BESTSELLER_PRODUCT_SKU` (`sku`),
15
+ KEY `IDX_BESTSELLER_PRODUCT_ID` (`product_id`)
16
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
17
+
18
+ ALTER TABLE `".$this->getTable('bestseller')."`
19
+ ADD CONSTRAINT `IDX_BESTSELLER_PRODUCT_SKU` FOREIGN KEY (`sku`) REFERENCES `".$this->getTable('catalog_product_entity')."` (`sku`) ON DELETE CASCADE ON UPDATE CASCADE,
20
+ ADD CONSTRAINT `IDX_BESTSELLER_PRODUCT_ID` FOREIGN KEY (`product_id`) REFERENCES `".$this->getTable('catalog_product_entity')."` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE;
21
+
22
+ ");
23
+
24
+ $installer->endSetup();
app/code/community/CapacityWebSolutions/Bestseller/sql/bestseller_setup/mysql4-upgrade-2.0.0-2.1.0.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ if(in_array($this->getTable('permission_block'),$installer->getConnection()->listTables())){
8
+ $installer->run("
9
+ INSERT INTO {$this->getTable('permission_block')} (block_name,is_allowed) values ('bestseller/bestseller','1');
10
+ ");
11
+ }
12
+
13
+ $installer->endSetup();
app/design/adminhtml/default/default/layout/bestseller.xml CHANGED
@@ -1,13 +1,13 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <bestseller_adminhtml_bestseller_index>
4
  <reference name="content">
5
  <block type="bestseller/adminhtml_bestseller" name="bestseller" />
6
  </reference>
7
- </bestseller_adminhtml_bestseller_index>
8
- <bestseller_adminhtml_bestseller_edit>
9
  <reference name="head">
10
  <action method="addJs"><script>bestseller/product-selector.js</script></action>
11
  </reference>
12
- </bestseller_adminhtml_bestseller_edit>
13
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <adminhtml_bestseller_index>
4
  <reference name="content">
5
  <block type="bestseller/adminhtml_bestseller" name="bestseller" />
6
  </reference>
7
+ </adminhtml_bestseller_index>
8
+ <adminhtml_bestseller_edit>
9
  <reference name="head">
10
  <action method="addJs"><script>bestseller/product-selector.js</script></action>
11
  </reference>
12
+ </adminhtml_bestseller_edit>
13
  </layout>
app/design/adminhtml/default/default/template/bestseller/product.phtml CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  ?>
10
  <style>
11
  .product-param label { padding-right: 10px; }
@@ -41,9 +40,6 @@
41
  </ul>
42
  </fieldset>
43
  </div>
44
-
45
  <script type="text/javascript">
46
  var rule_conditions_fieldset = new VarienRulesForm('product_fieldset', '<?php echo Mage::getUrl('/admin/promo_catalog/newConditionHtml/form/rule_conditions_fieldset/', array('_secure' => Mage::app()->getStore()->isAdminUrlSecure())) ?>');
47
-
48
-
49
  </script>
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  ?>
9
  <style>
10
  .product-param label { padding-right: 10px; }
40
  </ul>
41
  </fieldset>
42
  </div>
 
43
  <script type="text/javascript">
44
  var rule_conditions_fieldset = new VarienRulesForm('product_fieldset', '<?php echo Mage::getUrl('/admin/promo_catalog/newConditionHtml/form/rule_conditions_fieldset/', array('_secure' => Mage::app()->getStore()->isAdminUrlSecure())) ?>');
 
 
45
  </script>
app/design/frontend/base/default/template/bestseller/bestseller-responsive.phtml CHANGED
@@ -1,12 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
-
10
  ?>
11
  <style>
12
  .std .products-grid { margin:0 auto; padding:0; list-style:none; }
@@ -42,7 +40,7 @@
42
  ?>
43
 
44
  <?php if($this->getEnabled() == 1): ?>
45
- <?php if($this->getHeader()): ?>
46
  <div class="page-title category-title">
47
  <h1><?php if(count($result) > 0) { echo $this->getHeader(); } ?></h1>
48
  </div>
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
 
8
  ?>
9
  <style>
10
  .std .products-grid { margin:0 auto; padding:0; list-style:none; }
40
  ?>
41
 
42
  <?php if($this->getEnabled() == 1): ?>
43
+ <?php if($this->getDisplayHeader()): ?>
44
  <div class="page-title category-title">
45
  <h1><?php if(count($result) > 0) { echo $this->getHeader(); } ?></h1>
46
  </div>
app/design/frontend/base/default/template/bestseller/bestseller.phtml CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
  /***************************************************************************
3
- @extension : Bestseller Product.
4
- @copyright : Copyright (c) 2015 Capacity Web Solutions.
5
- ( http://www.capacitywebsolutions.com )
6
- @author : Capacity Web Solutions Pvt. Ltd.
7
- @support : magento@capacitywebsolutions.com
8
- ***************************************************************************/
9
  ?>
10
  <style>
11
  .productList { float:left; width:720px; }
@@ -38,11 +37,9 @@
38
  }
39
  $upperLimit = ($this->getLimit()) ? $this->getLimit() : 1;
40
  $itemPerRow = ($this->getItemsPerRow()) ? $this->getItemsPerRow() : 1 ;
41
- $products_price = $this->getProductsPrice();
42
- $review = $this->getReview();
43
  ?>
44
  <?php if($this->getEnabled()): ?>
45
- <?php if($this->getHeader()): ?>
46
  <div class="sectionHead"><h2><?php if(count($result) > 0) { echo $this->getHeader(); } ?></h2></div>
47
  <?php endif; ?>
48
  <table border="0" cellpadding="0" cellspacing="0" class="productList">
@@ -70,47 +67,40 @@
70
  <?php echo $this->htmlEscape($_product['name']) ?>
71
  </a>
72
  <?php
73
- if($review == 1) {
74
  $_product = Mage::getModel('catalog/product')->load($_product->getId());
75
  echo $this->getReviewsSummaryHtml($_product, 'short');
76
  }
77
- if($products_price == 1) {
78
  $_product = Mage::getModel('catalog/product')->load($_product->getId());
79
  echo $this->getPriceHtml($_product, true);
80
  }
81
  ?>
82
  </div>
83
- <?php
84
-
85
- $addtocartval = $this->getAddToCart();
86
- if($addtocartval == 1){
87
- if($_product->isSaleable()): ?>
88
- <button class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
89
- <?php else: ?>
90
- <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span>
91
- <?php endif;
92
- } ?>
93
  </div>
 
94
  <div class="cl">
95
- <?php
96
- $wishlists = $this->getActive();
97
- if($wishlists == 1){
98
- if ($this->helper('wishlist')->isAllow()) : ?>
99
- <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="addWishlist">
100
- <?php echo $this->__('Add to Wishlist') ?>
101
- </a>
102
- <?php endif;
103
- }?>
104
  </div>
 
 
105
  <div class="cl">
106
- <?php
107
- $addtocompare = $this->getAddToCompare();
108
- if($addtocompare==1){
109
- if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
110
- &nbsp;<a href="<?php echo $_compareUrl; ?>" class="addCompare"><?php echo $this->__('Add to Compare') ?></a>
111
- <?php endif;
112
- } ?>
113
  </div>
 
114
  </td>
115
  <?php
116
  $i++;
1
  <?php
2
  /***************************************************************************
3
+ Extension Name : Bestseller Products
4
+ Extension URL : http://www.magebees.com/magento-bestseller-products-extension.html
5
+ Copyright : Copyright (c) 2015 MageBees, http://www.magebees.com
6
+ Support Email : support@magebees.com
7
+ ***************************************************************************/
 
8
  ?>
9
  <style>
10
  .productList { float:left; width:720px; }
37
  }
38
  $upperLimit = ($this->getLimit()) ? $this->getLimit() : 1;
39
  $itemPerRow = ($this->getItemsPerRow()) ? $this->getItemsPerRow() : 1 ;
 
 
40
  ?>
41
  <?php if($this->getEnabled()): ?>
42
+ <?php if($this->getDisplayHeader()): ?>
43
  <div class="sectionHead"><h2><?php if(count($result) > 0) { echo $this->getHeader(); } ?></h2></div>
44
  <?php endif; ?>
45
  <table border="0" cellpadding="0" cellspacing="0" class="productList">
67
  <?php echo $this->htmlEscape($_product['name']) ?>
68
  </a>
69
  <?php
70
+ if($this->getReview()) {
71
  $_product = Mage::getModel('catalog/product')->load($_product->getId());
72
  echo $this->getReviewsSummaryHtml($_product, 'short');
73
  }
74
+ if($this->getProductsPrice()) {
75
  $_product = Mage::getModel('catalog/product')->load($_product->getId());
76
  echo $this->getPriceHtml($_product, true);
77
  }
78
  ?>
79
  </div>
80
+ <?php if($this->getAddToCart()): ?>
81
+ <?php if($_product->isSaleable()): ?>
82
+ <button class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
83
+ <?php else: ?>
84
+ <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
 
 
 
87
  </div>
88
+ <?php if($this->getActive()):?>
89
  <div class="cl">
90
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
91
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="addWishlist">
92
+ <?php echo $this->__('Add to Wishlist') ?>
93
+ </a>
94
+ <?php endif; ?>
 
 
 
 
95
  </div>
96
+ <?php endif; ?>
97
+ <?php if($this->getAddToCompare()): ?>
98
  <div class="cl">
99
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
100
+ &nbsp;<a href="<?php echo $_compareUrl; ?>" class="addCompare"><?php echo $this->__('Add to Compare') ?></a>
101
+ <?php endif; ?>
 
 
 
 
102
  </div>
103
+ <?php endif; ?>
104
  </td>
105
  <?php
106
  $i++;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bestseller_products</name>
4
- <version>2.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>This extension is display best seller product.</description>
11
  <notes>Best Seller</notes>
12
  <authors><author><name>Capacity Web Solutions</name><user>capacitywebsolutions</user><email>magento@capacitywebsolutions.com</email></author></authors>
13
- <date>2015-05-01</date>
14
- <time>04:50:34</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="CapacityWebSolutions_Bestseller.xml" hash="0ec798abaa7b1d97993c2a70b0c688ed"/></dir></target><target name="magecommunity"><dir name="CapacityWebSolutions"><dir name="Bestseller"><dir name="Block"><dir name="Adminhtml"><dir name="Bestseller"><dir name="Edit"><file name="Form.php" hash="cb48d4b5d632973adef3cc4c1977ee61"/><dir name="Tab"><file name="Products.php" hash="5d82ba60dbd4346409f7e4d7c65f58b5"/></dir><file name="Tabs.php" hash="2185eb940410d6a208a1a25d7c397a78"/></dir><file name="Edit.php" hash="01c361bf05b05cbe6be0c4f817cb29e7"/><file name="Grid.php" hash="27901cb0127803454a4153c935af551f"/></dir><file name="Bestseller.php" hash="9a22009a136f98f559a1c5b555385d1c"/><file name="DefaultDirectCode.php" hash="117cd5cf59c96e5c471a284106fb0ff9"/><file name="DefaultTemplate.php" hash="03fb2856a88cfa171945151a0952f49e"/><file name="DefaultXML.php" hash="ab80f41e1a6b70384ee3ab0cee2df0d0"/><file name="RwdDirectCode.php" hash="9ac9ef43ae4dfec09c0576299927638d"/><file name="RwdTemplate.php" hash="20c81d14ce4617d1b4c3812bacf7bac5"/><file name="RwdXML.php" hash="0ec29b553282fa3c37e36bbf43d89f9e"/></dir><file name="Bestseller.php" hash="9fbac7c71e7bd7ec73d9956a6fa8d0f0"/></dir><dir name="Helper"><file name="Data.php" hash="1c8d9ac17e5d6a5b58e6ff906430a388"/></dir><dir name="Model"><file name="Bestseller.php" hash="900702c933d327b8958c59bb051f17d8"/><dir name="Mysql4"><dir name="Bestseller"><file name="Collection.php" hash="06ff624ef1f765d506f34995fc4e7833"/></dir><file name="Bestseller.php" hash="117a28a48d5c1462d02452259ef4e4d8"/><dir name="Product"><file name="Collection.php" hash="ef490c00b8b46731b10e08c8b91d9261"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Bundleproducts.php" hash="e64d069873ad87ae67400f5d7731ceff"/><file name="Chooseproducts.php" hash="a25b1db2ef0cc3899e881e1155f9451a"/><file name="Orderstatus.php" hash="7b84a4f27d0bd95f076d904359d8f078"/><file name="Sortorder.php" hash="3b9725d2195c3776ed1963a86b883a9e"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BestsellerController.php" hash="5cb3439668413b32b99516869e3c4576"/></dir></dir><dir name="etc"><file name="config.xml" hash="3fc726e8e578db552aa44e43637d5314"/><file name="system.xml" hash="43e5d59a842ea43461624c3a0caff170"/></dir><dir name="sql"><dir name="bestseller_setup"><file name="mysql4-install-0.1.0.php" hash="0ec315634a0578bb0cf80555083183e5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="bestseller"><file name="bestseller-responsive.phtml" hash="d1799c0929b9adb63cbb4f9c031edcf0"/><file name="bestseller.phtml" hash="c0a007c23fd210111324c2990bf63fda"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bestseller.xml" hash="83d9c1c8982eeb2553a583f4afd7a609"/></dir><dir name="template"><dir name="bestseller"><file name="product.phtml" hash="7871c823013e0fb1acb8664f050f0e8c"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="bestseller"><file name="product-selector.js" hash="18edba645290825072641d0c032b0a0f"/></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.0.0</min><max>5.6.7</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bestseller_products</name>
4
+ <version>2.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
10
  <description>This extension is display best seller product.</description>
11
  <notes>Best Seller</notes>
12
  <authors><author><name>Capacity Web Solutions</name><user>capacitywebsolutions</user><email>magento@capacitywebsolutions.com</email></author></authors>
13
+ <date>2015-10-30</date>
14
+ <time>12:06:04</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="CapacityWebSolutions_Bestseller.xml" hash="0ec798abaa7b1d97993c2a70b0c688ed"/></dir></target><target name="magecommunity"><dir name="CapacityWebSolutions"><dir name="Bestseller"><dir name="Block"><dir name="Adminhtml"><dir name="Bestseller"><dir name="Edit"><file name="Form.php" hash="96c2990e0fc6018210ff513908802fa1"/><dir name="Tab"><file name="Products.php" hash="ff05708c96bee8853549c83ce760e8e4"/></dir><file name="Tabs.php" hash="e918ba6ced636bd6d91be01f167c234c"/></dir><file name="Edit.php" hash="36c0622ba379052b175e90e8d6b44912"/><file name="Grid.php" hash="3598eed71e1de56a44c1641b360eca45"/></dir><file name="Bestseller.php" hash="7fee446569c019c7093de6b713a74713"/><file name="DefaultDirectCode.php" hash="a1d79c5dafa94258da0fe0d3e3dccfcf"/><file name="DefaultTemplate.php" hash="f2dd624669fe6fd9dd7e50cef8debea9"/><file name="DefaultXML.php" hash="8ec74558d35c8edf394d5b14b9c570bc"/><file name="RwdDirectCode.php" hash="655707ef0edf0a828a003c2ac1819212"/><file name="RwdTemplate.php" hash="414b1a9822094c5656639b006d32fb9f"/><file name="RwdXML.php" hash="86d2b2983d687390cf9762798ba9d650"/></dir><file name="Bestseller.php" hash="27a571c30ac41aa7db3e8aa6bc4c2c01"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BestsellerController.php" hash="fd3fbe2abb43949b3f657c8f01ba0569"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d9ccb018cc47e3174783cba99f53f4f7"/><file name="config.xml" hash="1da288e7ac2e9d0efdc3b3c3b87fc7d5"/><file name="system.xml" hash="1451de36c7858f1ead832d78c013acaf"/></dir><dir name="Helper"><file name="Data.php" hash="d0b72aa56c274fdff5a4dc8cf26ff2d1"/></dir><dir name="Model"><file name="Bestseller.php" hash="3c7febbd15329ac0d893058621457dda"/><dir name="Mysql4"><dir name="Bestseller"><file name="Collection.php" hash="3642116bbc5c91b27a7f6555736706d9"/></dir><file name="Bestseller.php" hash="427a76699f52007eb8464c1c73e23b5c"/><dir name="Product"><file name="Collection.php" hash="7490fb33a3dab971c3f316011022576b"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Bundleproducts.php" hash="789f8c43b7a7a475a80f789c68a66610"/><file name="Chooseproducts.php" hash="c001cbf71d633b3b4c65c3c8353d55a2"/><file name="Orderstatus.php" hash="4b2aef8626569db8a469828a3f2d4351"/><file name="Sortorder.php" hash="1b22301daa70404f0bc70b2c05aca0bc"/></dir></dir></dir></dir><dir name="sql"><dir name="bestseller_setup"><file name="mysql4-install-0.1.0.php" hash="6df36ee8f2b1aadb70dc8ae3a62358cb"/><file name="mysql4-upgrade-0.1.0-1.1.7.php" hash="4f361399480c3ec052a5f19fcc0dd688"/><file name="mysql4-upgrade-1.1.7-2.0.0.php" hash="a9271bfc2176e5d49d77f112e8e8f613"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="8297a5384c85c45876a95fc460cda434"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="bestseller"><file name="bestseller.phtml" hash="800aceccef9744d9881467af978194c0"/><file name="bestseller-responsive.phtml" hash="559862c2edb03658838d4d825279289f"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bestseller.xml" hash="1cd5d7df2796941b5e6708a5ae683010"/></dir><dir name="template"><dir name="bestseller"><file name="product.phtml" hash="335115ea4c0f855f7a9f6d0a6df3a40b"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="bestseller"><file name="product-selector.js" hash="18edba645290825072641d0c032b0a0f"/></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.0.0</min><max>5.6.14</max></php></required></dependencies>
18
  </package>