EditProductsFromCategory - Version 1.0.5

Version Notes

Update for compatability with latest PHP 5.5.12

Download this release

Release Info

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


Code changes from version 1.0.4 to 1.0.5

app/code/local/JjDesign/EditProductsFromCategory/Adminhtml/Block/Adminhtml/Catalog/Category/Tab/Product.php DELETED
@@ -1,61 +0,0 @@
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/local/JjDesign/EditProductsFromCategory/Adminhtml/etc/config.xml DELETED
@@ -1,17 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <JjDesign_EditProductsFromCategory_Adminhtml>
5
- <version>1.0.1</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/etc/modules/JjDesign_EditProductsFromCategory_Adminhtml.xml DELETED
@@ -1,9 +0,0 @@
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 CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EditProductsFromCategory</name>
4
- <version>1.0.4</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>Updated install errors</notes>
12
  <authors><author><name>2J Design Ltd</name><user>jamie_2jdesign</user><email>jamie@2jdesign.co.uk</email></author></authors>
13
- <date>2013-06-05</date>
14
- <time>22:41:34</time>
15
- <contents><target name="magelocal"><dir name="JjDesign"><dir name="EditProductsFromCategory"><dir><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="e7eabc823f887eacd90b38669c4f40b2"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="JjDesign_EditProductsFromCategory_Adminhtml.xml" hash="0ff7f6fdc6105617a2f4e1390531ed87"/></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>4.0.0</min><max>5.4.14</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EditProductsFromCategory</name>
4
+ <version>1.0.5</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>06:44:16</time>
15
+ <contents><target name="magelocal"><dir name="."><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></dir></dir></dir></dir></dir></dir><dir><dir name="app"><dir name="code"><dir name="local"><dir name="JjDesign"><dir name="EditProductsFromCategory"><dir name="Adminhtml"><dir name="etc"><file name="config.php" hash=""/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><dir name="app"><dir name="etc"><dir name="modules"><file name="JjDesign_EditProductsFromCategory_Adminhtml.xml" hash=""/></dir></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>