EditProductsFromCategory - Version 1.0.2

Version Notes

Stable Release

Download this release

Release Info

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


Version 1.0.2

app/code/local/JjDesign/EditProductsFromCategory/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/Catalog/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/Catalog/Category/.DS_Store ADDED
Binary file
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/Catalog/Category/Tab/Product.php ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Adminhtml
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product in category grid
29
+ *
30
+ * @category JjDesign
31
+ * @package JjDesign_EditProductsFromCategory
32
+ * @author Magento Core Team <core@magentocommerce.com>
33
+ */
34
+ class JjDesign_EditProductsFromCategory_Adminhtml_Block_Adminhtml_Catalog_Category_Tab_Product extends Mage_Adminhtml_Block_Catalog_Category_Tab_Product
35
+ {
36
+
37
+ protected function _prepareColumns()
38
+ {
39
+ $this->addColumn('in_category', array(
40
+ 'header_css_class' => 'a-center',
41
+ 'type' => 'checkbox',
42
+ 'name' => 'in_category',
43
+ 'values' => $this->_getSelectedProducts(),
44
+ 'align' => 'center',
45
+ 'index' => 'entity_id'
46
+ ));
47
+
48
+ $this->addColumn('name', array(
49
+ 'header' => Mage::helper('catalog')->__('Name'),
50
+ 'index' => 'name'
51
+ ));
52
+ $this->addColumn('sku', array(
53
+ 'header' => Mage::helper('catalog')->__('SKU'),
54
+ 'width' => '80',
55
+ 'index' => 'sku'
56
+ ));
57
+ $this->addColumn('price', array(
58
+ 'header' => Mage::helper('catalog')->__('Price'),
59
+ 'type' => 'currency',
60
+ 'currency_code' => (string) Mage::getStoreConfig(Mage_Directory_Model_Currency::XML_PATH_CURRENCY_BASE),
61
+ 'index' => 'price'
62
+ ));
63
+
64
+ $this->addColumn('position', array(
65
+ 'header' => Mage::helper('catalog')->__('Position'),
66
+ 'width' => '70',
67
+ 'type' => 'number',
68
+ 'index' => 'position',
69
+ 'editable' => true
70
+ ));
71
+ $this->addColumn('action',
72
+ array(
73
+ 'header' => Mage::helper('catalog')->__('Action'),
74
+ 'width' => '50px',
75
+ 'type' => 'action',
76
+ 'getter' => 'getId',
77
+ 'actions' => array(
78
+ array(
79
+ 'caption' => Mage::helper('catalog')->__('Edit'),
80
+ 'url' => array(
81
+ 'base'=>'*/catalog_product/edit',
82
+ 'params'=>array('store'=>$this->getRequest()->getParam('store'))
83
+ ),
84
+ 'field' => 'id'
85
+ )
86
+ ),
87
+ 'filter' => false,
88
+ 'sortable' => false,
89
+ 'index' => 'stores',
90
+ ));
91
+ return parent::_prepareColumns();
92
+ }
93
+ }
app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/etc/config.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category JjDesign
23
+ * @package JjDesign_EditProductsFromCategory
24
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <config>
29
+ <modules>
30
+ <JjDesign_EditProductsFromCategory_Adminhtml>
31
+ <version>1.0.1</version>
32
+ </JjDesign_EditProductsFromCategory_Adminhtml>
33
+ </modules>
34
+ <global>
35
+ <blocks>
36
+ <adminhtml>
37
+ <rewrite>
38
+ <catalog_category_tab_product>JjDesign_EditProductsFromCategory_Adminhtml_Block_Adminhtml_Catalog_Category_Tab_Product</catalog_category_tab_product>
39
+ </rewrite>
40
+ </adminhtml>
41
+ </blocks>
42
+ </global>
43
+ </config>
44
+
45
+
46
+
app/etc/modules/JjDesign_EditProductsFromCategory_Adminhtml.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <JjDesign_EditProductsFromCategory_Adminhtml>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </JjDesign_EditProductsFromCategory_Adminhtml>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>EditProductsFromCategory</name>
4
+ <version>1.0.2</version>
5
+ <stability>stable</stability>
6
+ <license>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
+ &#xD;
12
+ 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;
13
+ &#xD;
14
+ 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>
15
+ <notes>Stable Release</notes>
16
+ <authors><author><name>Jamie Jackson</name><user>jamie_2jdesign</user><email>jamie@2jdesign.co.uk</email></author></authors>
17
+ <date>2013-05-29</date>
18
+ <time>19:24:33</time>
19
+ <contents><target name="magelocal"><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="8e6d46401d0f6844b39e32a0fa18b184"/></dir><file name=".DS_Store" hash="7c488240fcda2320b010b86682b866ae"/></dir><file name=".DS_Store" hash="691daaf0e511c129af60f1fc872f9798"/></dir><file name=".DS_Store" hash="a145e02f202786bd7c1b28ff860c65f6"/></dir><file name=".DS_Store" hash="b9d0cf0d93c3c64bb8d54b3b2c78b590"/></dir><dir name="etc"><file name="config.xml" hash="ab7191dc31f272f78677d71dfac69e36"/></dir><file name=".DS_Store" hash="3c69abff1947582b81433d63beae2df2"/></dir><file name=".DS_Store" hash="b9d0cf0d93c3c64bb8d54b3b2c78b590"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="JjDesign_EditProductsFromCategory_Adminhtml.xml" hash="0ff7f6fdc6105617a2f4e1390531ed87"/></dir></target></contents>
20
+ <compatible/>
21
+ <dependencies><required><php><min>4.0.0</min><max>5.4.14</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.3</min><max>1.8</max></package></required></dependencies>
22
+ </package>