EditProductsFromCategory - Version 1.1.0

Version Notes

Update for compatability with latest PHP 5.5.12

Download this release

Release Info

Developer 2J Design Ltd
Extension EditProductsFromCategory
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.6 to 1.1.0

app/code/community/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/Catalog/Category/Tab/Product.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class JjDesign_EditProductsFromCategory_Adminhtml_Block_Adminhtml_Catalog_Category_Tab_Product extends Mage_Adminhtml_Block_Catalog_Category_Tab_Product
3
+ {
4
+
5
+ protected function _prepareColumns()
6
+ {
7
+ $this->addColumn('in_category', array(
8
+ 'header_css_class' => 'a-center',
9
+ 'type' => 'checkbox',
10
+ 'name' => 'in_category',
11
+ 'values' => $this->_getSelectedProducts(),
12
+ 'align' => 'center',
13
+ 'index' => 'entity_id'
14
+ ));
15
+
16
+ $this->addColumn('name', array(
17
+ 'header' => Mage::helper('catalog')->__('Name'),
18
+ 'index' => 'name'
19
+ ));
20
+ $this->addColumn('sku', array(
21
+ 'header' => Mage::helper('catalog')->__('SKU'),
22
+ 'width' => '80',
23
+ 'index' => 'sku'
24
+ ));
25
+ $this->addColumn('price', array(
26
+ 'header' => Mage::helper('catalog')->__('Price'),
27
+ 'type' => 'currency',
28
+ 'currency_code' => (string) Mage::getStoreConfig(Mage_Directory_Model_Currency::XML_PATH_CURRENCY_BASE),
29
+ 'index' => 'price'
30
+ ));
31
+
32
+ $this->addColumn('position', array(
33
+ 'header' => Mage::helper('catalog')->__('Position'),
34
+ 'width' => '70',
35
+ 'type' => 'number',
36
+ 'index' => 'position',
37
+ 'editable' => true
38
+ ));
39
+ $this->addColumn('action',
40
+ array(
41
+ 'header' => Mage::helper('catalog')->__('Action'),
42
+ 'width' => '50px',
43
+ 'type' => 'action',
44
+ 'getter' => 'getId',
45
+ 'actions' => array(
46
+ array(
47
+ 'caption' => Mage::helper('catalog')->__('Edit'),
48
+ 'url' => array(
49
+ 'base'=>'*/catalog_product/edit',
50
+ 'params'=>array('store'=>$this->getRequest()->getParam('store'))
51
+ ),
52
+ 'field' => 'id'
53
+ )
54
+ ),
55
+ 'filter' => false,
56
+ 'sortable' => false,
57
+ 'index' => 'stores',
58
+ ));
59
+ return parent::_prepareColumns();
60
+ }
61
+ }
app/code/community/JjDesign/EditProductsFromCategory/Adminhtml/etc/config.xml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <JjDesign_EditProductsFromCategory_Adminhtml>
5
+ <version>1.1.0</version>
6
+ </JjDesign_EditProductsFromCategory_Adminhtml>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <adminhtml>
11
+ <rewrite>
12
+ <catalog_category_tab_product>JjDesign_EditProductsFromCategory_Adminhtml_Block_Adminhtml_Catalog_Category_Tab_Product</catalog_category_tab_product>
13
+ </rewrite>
14
+ </adminhtml>
15
+ </blocks>
16
+ </global>
17
+ </config>
app/code/community/JjDesign/EditProductsFromCategory/Adminhtml/etc/config.xml.bak ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <JjDesign_EditProductsFromCategory_Adminhtml>
5
+ <version>1.0.8</version>
6
+ </JjDesign_EditProductsFromCategory_Adminhtml>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <adminhtml>
11
+ <rewrite>
12
+ <catalog_category_tab_product>JjDesign_EditProductsFromCategory_Adminhtml_Block_Adminhtml_Catalog_Category_Tab_Product</catalog_category_tab_product>
13
+ </rewrite>
14
+ </adminhtml>
15
+ </blocks>
16
+ </global>
17
+ </config>
package.xml CHANGED
@@ -1,18 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EditProductsFromCategory</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
- <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Updated module, please do not use previous version.</summary>
10
- <description>Updated module, please do not use previous versions due to error on install.</description>
 
 
11
  <notes>Update for compatability with latest PHP 5.5.12</notes>
12
  <authors><author><name>2J Design Ltd</name><user>jamie_2jdesign</user><email>jamie@2jdesign.co.uk</email></author></authors>
13
- <date>2015-10-07</date>
14
- <time>08:02:13</time>
15
- <contents><target name="magelocal"><dir name="app"><dir name="code"><dir name="local"><dir name="JjDesign"><dir name="EditProductsFromCategory"><dir name="Adminhtml"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><dir name="Tab"><file name="Product.php" hash=""/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash=""/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="app"><dir name="etc"><dir name="modules"><file name="JjDesign_EditProductsFromCategory_Adminhtml.xml" hash=""/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>4.0.0</min><max>5.5.12</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EditProductsFromCategory</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
+ <license uri="http://opensource.org/">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Add the useful feature of a link on your category products tab under manage categories and save hours of time! </summary>
10
+ <description>This simple but effective module adds the manage product edit link directly onto the manage category page, from the category you can see all the products currently assigned however currently there is no way in Magento to quickly jump to the product from this screen to edit.&#xD;
11
+ Now you can save time by adding a direct link to the manage product page, saving time by not having to navigate through to manage products and searching for the product to edit.&#xD;
12
+ One of the most requested features by our clients, we decided to make this module available. We guarantee this simple addition will save you lots of time.</description>
13
  <notes>Update for compatability with latest PHP 5.5.12</notes>
14
  <authors><author><name>2J Design Ltd</name><user>jamie_2jdesign</user><email>jamie@2jdesign.co.uk</email></author></authors>
15
+ <date>2015-10-12</date>
16
+ <time>12:30:47</time>
17
+ <contents><target name="magecommunity"><dir name="JjDesign"><dir name="EditProductsFromCategory"><dir name="Adminhtml"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><dir name="Tab"><file name="Product.php" hash="5a87fbd3b3f360583f2d49f49f3963d6"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="6c5a3bcc7dd56b2b4a8ca3bd1706ad02"/><file name="config.xml.bak" hash="fa7dbef45ea476e505bab2970af7a55b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="JjDesign_EditProductsFromCategory_Adminhtml.xml" hash=""/></dir></target></contents>
18
  <compatible/>
19
+ <dependencies><required><php><min>4.0.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>