Version Notes
stable release
Download this release
Release Info
Developer | Netsol |
Extension | Netsol_Brand |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- app/code/community/Netsol/Brand/Block/Adminhtml/Brand/Edit/Tabs.php +2 -2
- app/code/community/Netsol/Brand/Block/Brandproductlist.php +34 -5
- app/code/community/Netsol/Brand/Block/Brandtoolbar.php +21 -10
- app/code/community/Netsol/Brand/etc/config.xml +2 -1
- app/code/community/Netsol/Brand/sql/brand_setup/{mysql4-install-1.0.2.php → mysql4-install-1.0.3.php} +1 -1
- app/code/community/Netsol/Brand/sql/brand_setup/mysql4-upgrade-1.0.2-1.0.3.php +44 -0
- app/design/frontend/base/default/template/brand/toolbar/brandtoolbar.phtml +2 -2
- app/design/frontend/base/default/template/brand/toolbar/pager.phtml +2 -2
- package.xml +7 -7
- skin/frontend/base/default/css/netsol/brand/brand.css +2 -1
- skin/frontend/base/default/images/netsol/brand/pager_arrow_left.gif +0 -0
- skin/frontend/base/default/images/netsol/brand/pager_arrow_right.gif +0 -0
- skin/frontend/base/default/images/netsol/brand/sort_asc_arrow.gif +0 -0
- skin/frontend/base/default/images/netsol/brand/sort_desc_arrow.gif +0 -0
app/code/community/Netsol/Brand/Block/Adminhtml/Brand/Edit/Tabs.php
CHANGED
@@ -26,7 +26,7 @@ class Netsol_Brand_Block_Adminhtml_Brand_Edit_Tabs extends Mage_Adminhtml_Block_
|
|
26 |
parent::__construct();
|
27 |
$this->setId('brand_tabs');
|
28 |
$this->setDestElementId('edit_form');
|
29 |
-
$this->setTitle(Mage::helper('brand')->__('
|
30 |
}
|
31 |
|
32 |
protected function _beforeToHtml()
|
@@ -40,4 +40,4 @@ class Netsol_Brand_Block_Adminhtml_Brand_Edit_Tabs extends Mage_Adminhtml_Block_
|
|
40 |
return parent::_beforeToHtml();
|
41 |
}
|
42 |
}
|
43 |
-
?>
|
26 |
parent::__construct();
|
27 |
$this->setId('brand_tabs');
|
28 |
$this->setDestElementId('edit_form');
|
29 |
+
$this->setTitle(Mage::helper('brand')->__('Brands Information'));
|
30 |
}
|
31 |
|
32 |
protected function _beforeToHtml()
|
40 |
return parent::_beforeToHtml();
|
41 |
}
|
42 |
}
|
43 |
+
?>
|
app/code/community/Netsol/Brand/Block/Brandproductlist.php
CHANGED
@@ -51,9 +51,10 @@ class Netsol_Brand_Block_Brandproductlist extends Mage_Catalog_Block_Product_Lis
|
|
51 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
52 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
53 |
$path = $url->getPath();
|
54 |
-
|
55 |
$brandproducturlsuffix = '.html';
|
56 |
$brand_name = basename($path,$brandproducturlsuffix );
|
|
|
57 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
58 |
->addFieldToSelect('brand_id')
|
59 |
->addFieldToSelect('option_id')
|
@@ -65,33 +66,61 @@ class Netsol_Brand_Block_Brandproductlist extends Mage_Catalog_Block_Product_Lis
|
|
65 |
if($dir && $order){
|
66 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
67 |
->addAttributeToSelect('*')
|
68 |
-
->addAttributeToFilter(
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
70 |
->setOrder($order, $dir)
|
71 |
->setPageSize($dlimit);
|
|
|
72 |
}elseif($limit){
|
73 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
74 |
->addAttributeToSelect('*')
|
75 |
-
->addAttributeToFilter(
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
77 |
->setOrder($order, $dir)
|
78 |
->setPageSize($limit);
|
|
|
79 |
}elseif($page){
|
80 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
81 |
->addAttributeToSelect('*')
|
82 |
-
->addAttributeToFilter(
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
84 |
->setOrder($dorder, $ddir)
|
85 |
->setPageSize($dlimit)
|
86 |
->setCurPage($page);
|
|
|
87 |
}else{
|
88 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
89 |
->addAttributeToSelect('*')
|
90 |
-
->addAttributeToFilter(
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
92 |
->setOrder($dorder, $ddir)
|
93 |
->setPageSize($dlimit);
|
94 |
//->setCurPage($page);
|
|
|
95 |
}
|
96 |
|
97 |
return $collection;
|
51 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
52 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
53 |
$path = $url->getPath();
|
54 |
+
$path = urldecode($path);
|
55 |
$brandproducturlsuffix = '.html';
|
56 |
$brand_name = basename($path,$brandproducturlsuffix );
|
57 |
+
//$brand_name = htmlentities($brand_name);
|
58 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
59 |
->addFieldToSelect('brand_id')
|
60 |
->addFieldToSelect('option_id')
|
66 |
if($dir && $order){
|
67 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
68 |
->addAttributeToSelect('*')
|
69 |
+
->addAttributeToFilter(
|
70 |
+
'status',
|
71 |
+
array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
|
72 |
+
//replace DISABLED to ENABLED for products with status enabled
|
73 |
+
)
|
74 |
+
->addFieldToFilter('visibility',Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
75 |
+
->addWebsiteFilter()
|
76 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
77 |
->setOrder($order, $dir)
|
78 |
->setPageSize($dlimit);
|
79 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($collection);
|
80 |
}elseif($limit){
|
81 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
82 |
->addAttributeToSelect('*')
|
83 |
+
->addAttributeToFilter(
|
84 |
+
'status',
|
85 |
+
array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
|
86 |
+
//replace DISABLED to ENABLED for products with status enabled
|
87 |
+
)
|
88 |
+
->addFieldToFilter('visibility',Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
89 |
+
->addWebsiteFilter()
|
90 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
91 |
->setOrder($order, $dir)
|
92 |
->setPageSize($limit);
|
93 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($collection);
|
94 |
}elseif($page){
|
95 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
96 |
->addAttributeToSelect('*')
|
97 |
+
->addAttributeToFilter(
|
98 |
+
'status',
|
99 |
+
array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
|
100 |
+
//replace DISABLED to ENABLED for products with status enabled
|
101 |
+
)
|
102 |
+
->addFieldToFilter('visibility',Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
103 |
+
->addWebsiteFilter()
|
104 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
105 |
->setOrder($dorder, $ddir)
|
106 |
->setPageSize($dlimit)
|
107 |
->setCurPage($page);
|
108 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($collection);
|
109 |
}else{
|
110 |
$collection = Mage::getModel('catalog/product')->getCollection()
|
111 |
->addAttributeToSelect('*')
|
112 |
+
->addAttributeToFilter(
|
113 |
+
'status',
|
114 |
+
array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
|
115 |
+
//replace DISABLED to ENABLED for products with status enabled
|
116 |
+
)
|
117 |
+
->addFieldToFilter('visibility',Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
118 |
+
->addWebsiteFilter()
|
119 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()))
|
120 |
->setOrder($dorder, $ddir)
|
121 |
->setPageSize($dlimit);
|
122 |
//->setCurPage($page);
|
123 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($collection);
|
124 |
}
|
125 |
|
126 |
return $collection;
|
app/code/community/Netsol/Brand/Block/Brandtoolbar.php
CHANGED
@@ -87,8 +87,12 @@ class Netsol_Brand_Block_Brandtoolbar extends Mage_Catalog_Block_Product_List_To
|
|
87 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
88 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
89 |
$path = $url->getPath();
|
|
|
|
|
90 |
$brandproducturlsuffix = '.html';
|
91 |
$brand_name = basename($path,$brandproducturlsuffix );
|
|
|
|
|
92 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
93 |
->addFieldToSelect('brand_id')
|
94 |
->addFieldToSelect('option_id')
|
@@ -98,8 +102,15 @@ class Netsol_Brand_Block_Brandtoolbar extends Mage_Catalog_Block_Product_List_To
|
|
98 |
$sAttributeName = 'brand_name';
|
99 |
$this->_myCollection = Mage::getModel('catalog/product')->getCollection()
|
100 |
->addAttributeToSelect('*')
|
101 |
-
->addAttributeToFilter(
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
return $this->_myCollection;
|
105 |
|
@@ -156,14 +167,14 @@ class Netsol_Brand_Block_Brandtoolbar extends Mage_Catalog_Block_Product_List_To
|
|
156 |
$pagerBlock->setAvailableLimit($this->getAvailableLimit());
|
157 |
|
158 |
$pagerBlock->setUseContainer(false)
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
|
168 |
return $pagerBlock->toHtml();
|
169 |
}
|
87 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
88 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
89 |
$path = $url->getPath();
|
90 |
+
$path = urldecode($path);
|
91 |
+
|
92 |
$brandproducturlsuffix = '.html';
|
93 |
$brand_name = basename($path,$brandproducturlsuffix );
|
94 |
+
//$brand_name = htmlentities($brand_name);
|
95 |
+
|
96 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
97 |
->addFieldToSelect('brand_id')
|
98 |
->addFieldToSelect('option_id')
|
102 |
$sAttributeName = 'brand_name';
|
103 |
$this->_myCollection = Mage::getModel('catalog/product')->getCollection()
|
104 |
->addAttributeToSelect('*')
|
105 |
+
->addAttributeToFilter(
|
106 |
+
'status',
|
107 |
+
array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
|
108 |
+
//replace DISABLED to ENABLED for products with status enabled
|
109 |
+
)
|
110 |
+
->addWebsiteFilter()
|
111 |
+
->addFieldToFilter('visibility',Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
112 |
+
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()));
|
113 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($this->_myCollection);
|
114 |
}
|
115 |
return $this->_myCollection;
|
116 |
|
167 |
$pagerBlock->setAvailableLimit($this->getAvailableLimit());
|
168 |
|
169 |
$pagerBlock->setUseContainer(false)
|
170 |
+
->setShowPerPage(false)
|
171 |
+
->setShowAmounts(false)
|
172 |
+
->setLimitVarName($this->getLimitVarName())
|
173 |
+
->setPageVarName($this->getPageVarName())
|
174 |
+
->setLimit($this->getLimit())
|
175 |
+
->setFrameLength(Mage::getStoreConfig('design/pagination/pagination_frame'))
|
176 |
+
->setJump(Mage::getStoreConfig('design/pagination/pagination_frame_skip'))
|
177 |
+
->setCollection($this->getMyCollection());
|
178 |
|
179 |
return $pagerBlock->toHtml();
|
180 |
}
|
app/code/community/Netsol/Brand/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Brand>
|
25 |
-
<version>1.0.
|
26 |
</Netsol_Brand>
|
27 |
</modules>
|
28 |
<frontend>
|
@@ -140,6 +140,7 @@
|
|
140 |
<brand_title>Brands</brand_title>
|
141 |
<brand_metatag>Meta keywords for brand page</brand_metatag>
|
142 |
<brand_description>Meta Description for brand page</brand_description>
|
|
|
143 |
<logo_width>120</logo_width>
|
144 |
<logo_height>60</logo_height>
|
145 |
<brand_image_width>100</brand_image_width>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Brand>
|
25 |
+
<version>1.0.3</version> <!-- Version of module -->
|
26 |
</Netsol_Brand>
|
27 |
</modules>
|
28 |
<frontend>
|
140 |
<brand_title>Brands</brand_title>
|
141 |
<brand_metatag>Meta keywords for brand page</brand_metatag>
|
142 |
<brand_description>Meta Description for brand page</brand_description>
|
143 |
+
<show_in_footer>1</show_in_footer>
|
144 |
<logo_width>120</logo_width>
|
145 |
<logo_height>60</logo_height>
|
146 |
<brand_image_width>100</brand_image_width>
|
app/code/community/Netsol/Brand/sql/brand_setup/{mysql4-install-1.0.2.php → mysql4-install-1.0.3.php}
RENAMED
@@ -5,7 +5,7 @@ $installer->startSetup();
|
|
5 |
$installer->addAttribute('catalog_product', 'brand_name', array(
|
6 |
'attribute_set_name' => 'Default',
|
7 |
'group' => 'General',
|
8 |
-
'type' => '
|
9 |
'backend' => '',
|
10 |
'frontend' => '',
|
11 |
'label' => 'Brand Name',
|
5 |
$installer->addAttribute('catalog_product', 'brand_name', array(
|
6 |
'attribute_set_name' => 'Default',
|
7 |
'group' => 'General',
|
8 |
+
'type' => 'int',
|
9 |
'backend' => '',
|
10 |
'frontend' => '',
|
11 |
'label' => 'Brand Name',
|
app/code/community/Netsol/Brand/sql/brand_setup/mysql4-upgrade-1.0.2-1.0.3.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$installer = $this;
|
4 |
+
$installer->startSetup();
|
5 |
+
$installer->addAttribute('catalog_product', 'brand_name', array(
|
6 |
+
'attribute_set_name' => 'Default',
|
7 |
+
'group' => 'General',
|
8 |
+
'type' => 'int',
|
9 |
+
'backend' => '',
|
10 |
+
'frontend' => '',
|
11 |
+
'label' => 'Brand Name',
|
12 |
+
'input' => 'select',
|
13 |
+
'class' => '',
|
14 |
+
'visible' => true,
|
15 |
+
'required' => false,
|
16 |
+
'user_defined' => false,
|
17 |
+
'default' => '',
|
18 |
+
'searchable' => false,
|
19 |
+
'filterable' => false,
|
20 |
+
'comparable' => false,
|
21 |
+
'visible_on_front' => false,
|
22 |
+
'unique' => false,
|
23 |
+
'is_configurable'=>'1',
|
24 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,));
|
25 |
+
//$installer->removeAttribute('catalog_product', 'brand_name');
|
26 |
+
|
27 |
+
$installer->run("
|
28 |
+
-- DROP TABLE IF EXISTS {$this->getTable('brand')};
|
29 |
+
CREATE TABLE IF NOT EXISTS {$this->getTable('brand')} (
|
30 |
+
`brand_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'brand id',
|
31 |
+
`option_id` int(11) NOT NULL COMMENT 'the brand id set from attribute',
|
32 |
+
`name` varchar(255) NOT NULL DEFAULT '',
|
33 |
+
`description` text NOT NULL,
|
34 |
+
`is_feature` smallint(6) NOT NULL DEFAULT '0',
|
35 |
+
`base_image` varchar(255) NOT NULL DEFAULT '',
|
36 |
+
`logo` varchar(255) NOT NULL DEFAULT '',
|
37 |
+
`status` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Status',
|
38 |
+
`created_time` timestamp NULL,
|
39 |
+
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
40 |
+
PRIMARY KEY (`brand_id`)
|
41 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
42 |
+
");
|
43 |
+
|
44 |
+
?>
|
app/design/frontend/base/default/template/brand/toolbar/brandtoolbar.phtml
CHANGED
@@ -29,9 +29,9 @@
|
|
29 |
<?php endforeach; ?>
|
30 |
</select>
|
31 |
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
32 |
-
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
|
33 |
<?php else: ?>
|
34 |
-
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
|
35 |
<?php endif; ?>
|
36 |
</div>
|
37 |
</div>
|
29 |
<?php endforeach; ?>
|
30 |
</select>
|
31 |
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
32 |
+
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>"><img src="<?php echo $this->getSkinUrl('images/netsol/brand/sort_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
|
33 |
<?php else: ?>
|
34 |
+
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>"><img src="<?php echo $this->getSkinUrl('images/netsol/brand/sort_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
|
35 |
<?php endif; ?>
|
36 |
</div>
|
37 |
</div>
|
app/design/frontend/base/default/template/brand/toolbar/pager.phtml
CHANGED
@@ -42,7 +42,7 @@
|
|
42 |
<li>
|
43 |
<a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
|
44 |
<?php if(!$this->getAnchorTextForPrevious()): ?>
|
45 |
-
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
|
46 |
<?php else: ?>
|
47 |
<?php echo $this->getAnchorTextForPrevious() ?>
|
48 |
<?php endif;?>
|
@@ -79,7 +79,7 @@
|
|
79 |
<li>
|
80 |
<a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
|
81 |
<?php if(!$this->getAnchorTextForNext()): ?>
|
82 |
-
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
|
83 |
<?php else: ?>
|
84 |
<?php echo $this->getAnchorTextForNext() ?>
|
85 |
<?php endif;?>
|
42 |
<li>
|
43 |
<a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
|
44 |
<?php if(!$this->getAnchorTextForPrevious()): ?>
|
45 |
+
<img src="<?php echo $this->getSkinUrl('images/netsol/brand/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
|
46 |
<?php else: ?>
|
47 |
<?php echo $this->getAnchorTextForPrevious() ?>
|
48 |
<?php endif;?>
|
79 |
<li>
|
80 |
<a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
|
81 |
<?php if(!$this->getAnchorTextForNext()): ?>
|
82 |
+
<img src="<?php echo $this->getSkinUrl('images/netsol/brand/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
|
83 |
<?php else: ?>
|
84 |
<?php echo $this->getAnchorTextForNext() ?>
|
85 |
<?php endif;?>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Brand</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Facilitates your customers in filtering their product search further according to their brand preferences
|
10 |
-
<description>Facilitates your customers in filtering their product search further according to their brand preferences
|
11 |
-
<notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
-
<date>2015-07-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Brand"><dir name="Block"><dir name="Adminhtml"><dir name="Brand"><dir name="Edit"><file name="Form.php" hash="26a58a2b51846146edadb4ac73502769"/><dir name="Tab"><file name="Form.php" hash="272237823e9ed327291959f0168a0936"/></dir><file name="Tabs.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Brand</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Facilitates your customers in filtering their product search further according to their brand preferences.</summary>
|
10 |
+
<description>Facilitates your customers in filtering their product search further according to their brand preferences.</description>
|
11 |
+
<notes>stable release</notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
+
<date>2015-07-15</date>
|
14 |
+
<time>09:51:02</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Brand"><dir name="Block"><dir name="Adminhtml"><dir name="Brand"><dir name="Edit"><file name="Form.php" hash="26a58a2b51846146edadb4ac73502769"/><dir name="Tab"><file name="Form.php" hash="272237823e9ed327291959f0168a0936"/></dir><file name="Tabs.php" hash="8f3ba1daa20218afdbc04d22e801fbd7"/></dir><file name="Edit.php" hash="3bd55292b615be5a7ef04f0727ae5ec1"/><file name="Grid.php" hash="670ac7bc6319e35efaac0b0d1a4808f0"/></dir><file name="Brand.php" hash="dacc2aeec25f2189dfe67f6f684e4002"/></dir><file name="Brand.php" hash="4292cd5bb6e4d77c82d53e8adbdc816b"/><file name="Brandproductlist.php" hash="44d70fcc9cf64743e90659eae689cc52"/><file name="Brandtoolbar.php" hash="5f0234116b7456b781af104bd8b7d17f"/><file name="Navigation.php" hash="2eb09111da8874bbb50bcccabea40c4b"/><file name="Pager.php" hash="3254db550d78391ab1c6b9958750418f"/></dir><dir name="Controller"><file name="Router.php" hash="628531a8d1659bfd8be5620849fdb4a7"/></dir><dir name="Helper"><file name="Data.php" hash="a61b2a333b7e851f73679a0a22560f28"/></dir><dir name="Model"><file name="Brand.php" hash="d1bfcb72930684caa7927df3121210eb"/><dir name="Mysql4"><dir name="Brand"><file name="Collection.php" hash="85accf1837e3b2a0d8a3f46de628b4f0"/></dir><file name="Brand.php" hash="80fc9fa242185e768a24975b5f675087"/></dir><file name="Observer.php" hash="62866e46984983ecba635ea819b56aac"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BrandController.php" hash="4028f0f8e050745eb54f51dc698d36a9"/></dir><file name="BrandController.php" hash="2de8b1e5676a681ef3001afa71aef40b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d0bf1ad1537d95a0a7c99ca06a500e83"/><file name="config.xml" hash="dafc9de59579617b7921fe0b6854ddff"/><file name="system.xml" hash="b6fccd5043297a60ab02faabc5dfc8af"/></dir><dir name="sql"><dir name="brand_setup"><file name="mysql4-install-1.0.3.php" hash="3f00e4d7ca587323b27cf1791b00b9bc"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="054b6e0838f4c313f86776125d5c2912"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsol_Brand.xml" hash="f29447ad362602b10aa9541800659d3b"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="brand"><file name="brand.phtml" hash="541ba4bf2348bb1de4bd9e883d54c5cc"/><file name="brandfooter.phtml" hash="6e80f0ac97c1c93761b2ebf71aa7bf73"/><file name="brandproductlist.phtml" hash="a807fc1b6970b24ad5387bf6b7a976aa"/><dir name="html"><file name="pager.phtml" hash="b5bdeff2c8da4fa27d270ec2d436cfed"/></dir><dir name="navigation"><file name="brandtopmenu.phtml" hash="c14607bb6ea363c5da0a3e690b126051"/></dir><dir name="toolbar"><file name="brandtoolbar.phtml" hash="576456b44b4117ddd119e6495929d2e3"/><file name="pager.phtml" hash="4aefd93749770ed558be0782e5edc35d"/></dir></dir></dir><dir name="layout"><file name="brand.xml" hash="46065be13bf489cde337da911e91b8f7"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="netsol"><dir name="brand"><file name="bullet.png" hash="117c0297bac6096d62702893e7d7b840"/><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="loading.gif" hash="3eb63d6867e720e525cca07b3e33afbc"/><file name="pager_arrow_left.gif" hash="f9820c12ffb99c4693ef62fadda28e79"/><file name="pager_arrow_right.gif" hash="cfff535248f343a1e353f8185b8bc0ab"/><file name="product_loader.gif" hash="03b6aa9d61525f4f9dd41512ea7134a4"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="sort_asc_arrow.gif" hash="bcaef137288106800f7ffd2ba027b7f3"/><file name="sort_desc_arrow.gif" hash="28672cf2fef2510f5815251065a4e2bc"/></dir></dir></dir><dir name="js"><dir name="netsol"><dir name="brand"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="jquery.min.2.0.js" hash="2edc942c0bd2476be8967a9f788d9e26"/><file name="jquery.tinycarousel.js" hash="9929533999a59b11aa93dd23defdb599"/><file name="jquery.tinycarousel.min.js" hash="bc6db8635552859f87ea3a12fde7f2bf"/></dir></dir></dir><dir name="css"><dir name="netsol"><dir name="brand"><file name="brand.css" hash="208d8038326b88f73f0fa2864d915f37"/><file name="jquery.bxslider.css" hash="22c455a0fb61b2a1e0a7dadd1f95e386"/><file name="tinycarousel.css" hash="ecad2eafca22937aba7cb5ec87fe9715"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="brand"><file name="559fcf3930cd3476a16d5d017b720df9.png" hash="4ab46e58ad859ae1a156e2e21698aa1a"/><file name="d569c6cbe72a271dfd22164c14566be5.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="default"><file name="index_gucci.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><file name="index_gucci_1.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="resize"><file name="120_200_index_gucci.jpg" hash="cd93c6c9ba59feb372170ad04b5cf253"/><file name="120_66_index_gucci.jpg" hash="8108c49eaec347f1b279d2bbf55e8c22"/><file name="120_66_index_gucci_1.jpg" hash="8108c49eaec347f1b279d2bbf55e8c22"/><file name="120_66_small_image.jpg" hash="770c9e7d13d77b992c1c0aeec47889c0"/><file name="146_66_index_gucci.jpg" hash="71f6a5209574c4497b8b16f68e36e650"/></dir><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/></dir><file name="f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="c1a6cf2ac7e580ae6549ffdd8520c8bf"/><file name="fa11c3248c7deba29067b02b7b61134b.png" hash="fb92d5696a0ed74f8828e06d841d4a5a"/><file name="index_gucci.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="logo"><file name="462f990847682010d2acb48e14a8ff15.jpg" hash="c9c1b7bcdffdf4187b5bd4d9c4ac1135"/><file name="559fcf3930cd3476a16d5d017b720df9.png" hash="4ab46e58ad859ae1a156e2e21698aa1a"/><file name="d569c6cbe72a271dfd22164c14566be5.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><file name="f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="c1a6cf2ac7e580ae6549ffdd8520c8bf"/><file name="fa11c3248c7deba29067b02b7b61134b.png" hash="fb92d5696a0ed74f8828e06d841d4a5a"/><dir name="resize"><file name="120_200_559fcf3930cd3476a16d5d017b720df9.png" hash="c60ef3c4113797b80a2aff2ce91cd6cb"/><file name="120_200_d569c6cbe72a271dfd22164c14566be5.jpg" hash="cd93c6c9ba59feb372170ad04b5cf253"/><file name="120_200_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="62a118ce2656370f1936a2689442199e"/><file name="120_200_fa11c3248c7deba29067b02b7b61134b.png" hash="5f15707a9669d6a6214d983421ea866b"/><file name="120_66_462f990847682010d2acb48e14a8ff15.jpg" hash="ab863adc17770c586c2f6b9220c8d483"/><file name="120_66_559fcf3930cd3476a16d5d017b720df9.png" hash="104dfc502f1eed7f16384e03d3a2c389"/><file name="120_66_d569c6cbe72a271dfd22164c14566be5.jpg" hash="8108c49eaec347f1b279d2bbf55e8c22"/><file name="120_66_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="ac9665d29d1b86a2405631ca60ef415b"/><file name="120_66_fa11c3248c7deba29067b02b7b61134b.png" hash="9b330fe7c906cd48cb18256b0016fabf"/><file name="146_66_559fcf3930cd3476a16d5d017b720df9.png" hash="4d228e3f072f6daf21682d2f09483360"/><file name="146_66_d569c6cbe72a271dfd22164c14566be5.jpg" hash="71f6a5209574c4497b8b16f68e36e650"/><file name="146_66_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="679eac56635b14cd0aed1cb1c379c96d"/><file name="146_66_fa11c3248c7deba29067b02b7b61134b.png" hash="680db626ff3b8076f4667cd3d2642f59"/><file name="300_400_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="307f9ce6599659909a36044c5e3af603"/><file name="300_400_fa11c3248c7deba29067b02b7b61134b.png" hash="40e64a74c1e2d5a3aede0e0047554c97"/></dir></dir><dir name="resize"><file name="100_100_559fcf3930cd3476a16d5d017b720df9.png" hash="01f879890c407953cd8c111165bf42ce"/><file name="100_100_d569c6cbe72a271dfd22164c14566be5.jpg" hash="fcbb7ff0b9216869ba695fbe2781d4fd"/><file name="100_100_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="7bf432c5bc434d363473bcdef5626baa"/><file name="100_100_fa11c3248c7deba29067b02b7b61134b.png" hash="f5fdc7862336fe59bc5b4abb4c820391"/><file name="300_400_fa11c3248c7deba29067b02b7b61134b.png" hash="40e64a74c1e2d5a3aede0e0047554c97"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
skin/frontend/base/default/css/netsol/brand/brand.css
CHANGED
@@ -97,4 +97,5 @@ button, html input[type="button"], input[type="reset"], input[type="submit"] {cu
|
|
97 |
|
98 |
.brand-category-products .products-grid{padding:0;margin: 0 0 40px;}
|
99 |
.nav-primary a.level-top { padding: 0 25px;}
|
100 |
-
.brand-category-view .sort-by a{float: left;margin:
|
|
97 |
|
98 |
.brand-category-products .products-grid{padding:0;margin: 0 0 40px;}
|
99 |
.nav-primary a.level-top { padding: 0 25px;}
|
100 |
+
.brand-category-view .sort-by a{float: left;margin: 0px 0 6px;display:block;}
|
101 |
+
.brand-category-view .sort-by a img{display:block;}
|
skin/frontend/base/default/images/netsol/brand/pager_arrow_left.gif
ADDED
Binary file
|
skin/frontend/base/default/images/netsol/brand/pager_arrow_right.gif
ADDED
Binary file
|
skin/frontend/base/default/images/netsol/brand/sort_asc_arrow.gif
ADDED
Binary file
|
skin/frontend/base/default/images/netsol/brand/sort_desc_arrow.gif
ADDED
Binary file
|