Magento: Add product page links in Catalog -> Manage Products?

Magento: Add product page links in Catalog -> Manage Products?

September 14, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento: Add product page links in Catalog -> Manage Products?

As a seasoned Magento developer and technical blogger for LaravelCompany, I often receive queries from e-commerce administrators seeking to optimize their product management workflows within the Magento platform. Two common requests include adding quick links to individual product pages directly from the administrative interface and including an “Edit Product” link on the front-end product page for privileged users.

Let’s dive into these requirements step-by-step, starting with the task of adding quick links to the Manage Products grid in the Catalog menu.

To add a link to each product row in the Manage Products grid, we need to modify the app/design/adminhtml/default/default/template/catalog/product/grid.phtml file. This file is responsible for rendering the grid layout of the products.

<!-- app/design/adminhtml/default/default/template/catalog/product/grid.phtml -->

<thead>
    <tr>
        <!-- Existing columns -->
        <?php if ($this->getIsExportAllowed()): ?>
            <th class="a-center actions">
                <span class="nobr"><?php echo $this->__('Actions') ?></span>
            </th>
        <?php endif; ?>
    </tr>
</thead>

<tbody>
<?php foreach ($this->getCollection() as $_item): ?>
    <tr>
        <!-- Existing columns -->
        <?php if ($this->getIsExportAllowed()): ?>
            <td class="a-center actions">
                <span class="nobr"><?php echo $this->__('Actions') ?></span>
            </td>
        <?php endif; ?>

        <td style="white-space: nowrap;">
            <div class="btn-group btn-group-justified">
                <a href="<?php echo $this->getUrl('catalog/product/edit', array('id' => $_item->getEntityId())) ?>" class="view">
                    <span class="icon icon-view"></span>
                    <?php echo $this->__('View') ?>
                </a>
            </div>
        </td>
    </tr>
<?php endforeach; ?>
</tbody>

In this modified code, we’ve added a new column labeled “Actions” after the existing columns. Within each row of the grid, we’ve placed a link that redirects to the product page using the catalog/product/edit controller action and passing the product’s ID as a parameter.

This modification will enable administrators to quickly view individual product pages directly from the Manage Products grid by clicking on the “View” button next to each product row. The getUrl() function is used to generate the URL for the product page, ensuring that it adheres to the Magento routing rules.

Now, let’s address the second requirement of adding an “Edit Product” link on the front-end product page for privileged users. To achieve this, we need to modify the app/design/frontend/base/default/template/catalog/product/view.phtml file.

<!-- app/design/frontend/base/default/template/catalog/product/view.phtml -->

<div class="product-collateral">
    <div class="actions">
        <?php if ($this->helper('catalog/output')->canViewProduct($this->getProduct())): ?>
            <?php echo $this->getChildHtml('addto') ?>
        <?php endif; ?>

        <div class="btn-actions">
            <?php if (Mage::getSingleton('customer/session')->isLoggedIn() && Mage::getSingleton('admin/session')->isAllowed('catalog/catalog/edit_product')): ?>
                <a href="<?php echo $this->getUrl('adminhtml/catalog_product/edit', array('id' => $this->getProduct()->getEntityId())) ?>" class="btn-horizontal btn-edit">
                    <?php echo $this->__('Edit Product') ?>
                </a>
            <?php endif; ?>
        </div>
    </div>
</div>

In this modification, we’ve added a conditional check to display the “Edit Product” link only for logged-in administrators who have the appropriate permissions. The Mage::getSingleton('admin/session')->isAllowed('catalog/catalog/edit_product') check ensures that only privileged users can access the edit link.

The URL for the product editor is generated using the getUrl() function and the adminhtml/catalog_product/edit controller action, passing the product’s ID as a parameter. This ensures that the link leads to the correct backend editing interface for the specified product.

Conclusion

In this blog post, we’ve addressed two common requirements for streamlining product management in Magento: adding quick links to individual product pages from the administrative grid and including an “Edit Product” link on the front-end product page for privileged users.

By modifying the grid.phtml and view.phtml files as shown above, you can easily implement these improvements without resorting to extensive core modifications. These changes leverage Magento’s built-in routing system and session management features to provide seamless integration with the backend editing interface.

Remember that Magento is a powerful e-commerce platform with a wide range of customization options. To fully harness its capabilities, consider exploring our in-depth guides on Magento development for further insights into advanced customizations and best practices.

Don’t hesitate to reach out if you have any other questions or need assistance in optimizing your Magento store. Our team of experienced developers is always ready to help you achieve your e-commerce goals!

Catalog Performance Themes Admin

Our network