Web Components
- February 14, 2009
Magento Extension : Category product tab edit link

Â
We are proud at poleouest to annouce our very first community magento extension.
Browsing products by category in the admin : there are many examples of opensource ecommerce systems that can do that. Among them, Prestashop backoffice is built around this navigation paradigm, and even Oscommerce  displays products by category in its 5 years old backoffice. Of course none of those two have the flexibility that Magento allows in terms of category / product association in a multistore environment.
But in Magento you can’t search product by category in the admin : can you imagine that this feature is missing in Magento !  As of version 1.2.1 this is still the reality, easily enhanced by a few lines of code that you will find below in a extension that I am desperately trying to package for magento connect. So for those in a hurry here goes the extension GZ file that contains the config.xml in which I define the  Mage_Adminhtml_Block_Catalog_Category_Tab_Product  class extension that provides a _prepareColumns function that creates the edit link in the product tab of category edit page.
[UPDATE] extension seems to work now, have fun with magentoconnect (GET EXTENSION KEY)
MANUAL INSTALLATION
- Download (TGZ) : categoryproducteditlink-13
- HOW TO INSTALL Â :Â
- unzip the file in your app/local, in order to get the structure below,Â
- add PoleOuest_All.xml in app/etc/modules with the following code :Â
<?xml version="1.0"?><config>
   <modules>
     <PoleOuest_Adminhtml>
       <active>true</active>
       <codePool>local</codePool>
     </PoleOuest_Adminhtml>
<PoleOuest_Catalog>
       <active>true</active>
       <codePool>local</codePool>
     </PoleOuest_Catalog>
Â
   </modules>
</config>Â
 - go ahead, try it and let me know how to package this thing into a usable magento connect extension !




2 Responses to “Magento Extension : Category product tab edit link”
Nice! My first extension install and it was a success. Thanks!
Now if only I could figure out how to mass update products to additional categories…
By Blake on Feb 23, 2009
I’ve done that and it’s not working. The module isn’t shown in the config tab and nothing is done in the category tab.
It would help if you modify the PEAR module and allow people with php 5.9 to install it.
Thanks
By yolanda on Jun 25, 2009