Panth Advanced Product Grid
Edit products from the Magento 2 admin product grid. Name, SKU, price, quantity and every attribute set to Use in Grid get an inline editor, and long values, images and tier prices open a popup. It also adds columns such as categories, low stock and qty sold.
- Free
composer require mage2kishan/module-advanced-product-grid
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedCheck the selected release
- PHP versions listedCheck the selected release
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Inline editing in the grid
Name, SKU, Price and Quantity are editable, and attributes with Use in Grid get a text, select, multiselect, date or image editor. Only the cells you changed are saved.
-
Attributes as columns
Every product attribute with Use in Grid enabled becomes a column with a filter and an editor, without XML.
-
Extra columns
Image, Categories, Availability, Backorders, Low Stock, Qty Sold, Tier Prices and Frontend Link, with filters and sorting for the stock and qty sold columns.
-
Manage Columns and mass edit
A tabbed panel to show, hide, rename and order columns, plus a Mass Edit Attributes action for many products at once.
-
Export visible columns
CSV and Excel XML export of the columns visible in your grid view, in screen order, with option labels instead of ids.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-advanced-product-grid $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Composer package | mage2kishan/module-advanced-product-grid |
|---|
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Edit products from the Magento 2 product grid
Advanced Product Grid (Panth_AdvancedProductGrid) extends the standard product grid under Catalog > Products. It is for catalog managers who update product data from the grid instead of opening each product. It works in the admin only and does not change the storefront.
What it adds
- Inline editing with Magento's own grid editor. Name, SKU, Price and Quantity are editable, and attributes set to Use in Grid get an editor that matches their input type. Only the cells you changed are sent, so empty selects are not filled with their first option.
- Popup editors for textarea and multiselect attributes, categories, tier prices (website, customer group, qty, fixed or percent) and product images with drag and drop upload.
- Columns for every attribute with Use in Grid enabled, plus Image, Categories, Availability, Backorders, Low Stock, Qty Sold, Tier Prices and Frontend Link.
- A Manage Columns panel with Standard, Pricing, Inventory, SEO, Attributes and Extras tabs: show or hide, custom label, Edit and Filter switches and a numeric sort order. Double click a column header to rename it.
- A Mass Edit Attributes action that applies the values you enter to all selected products.
- An Export button for CSV and Excel XML that writes only the visible columns, in their screen order.
- A confirmation prompt when you page, filter, search or run an action while inline edits are unsaved.
Settings
Stores > Configuration > Panth Extensions > Product Grid Extended. All settings are global. Set Enable Extended Grid to No to get the standard Magento grid back without uninstalling.
Things to know before installing
- Custom labels and sort orders are stored in one table for all admin users. Apply Changes also writes visibility and positions into the current admin user's grid bookmark.
- The Qty Sold column is empty until you run
bin/magento indexer:reindex panth_product_grid_qty_sold. By default it counts complete and processing orders from the last 90 days. - When you edit quantity, the stock status follows it (in stock above 0) unless you turn off Auto-flip Stock Status on Qty Change.
- The Editing Mode, Warn About Unsaved Changes and Enable Qty Sold Column settings are not read in this version.
- Inline edits save an attribute to the product's attribute set if it is missing there.
Requirements
- Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
- PHP 8.1, 8.2, 8.3 or 8.4.
- Panth Core (
mage2kishan/module-core), installed by Composer. MSI and configurable products are optional.
Free and open source under the MIT License.
Developer notes
- PHP namespace:
Panth\AdvancedProductGrid. Admin route:panth_product_grid. - Inline edit:
Model\InlineEdit\StrategyResolvermaps attribute codes to implementations ofModel\InlineEdit\Strategy\StrategyInterface. Add one through thestrategiesargument inetc/di.xml. The attribute must still pass the allow list and type checks inModel\InlineEdit\ChangeValidator. - After a
url_keyorvisibilitychange the module dispatchespanth_product_grid_url_rewrite_refreshwith theproduct. No observer for it is shipped. - Qty Sold: indexer class
Model\Indexer\QtySold.Observer\OrderSaveAfteronsales_order_save_afterreindexes the order's products when the indexer is not scheduled, andObserver\ProductSaveAfteroncatalog_product_save_afteradds a zero row for a new product.Model\Config\Backend\QtySoldInvalidateinvalidates the indexer when the status or refund settings change. - Tables:
panth_product_grid_qty_soldandpanth_product_grid_column_config. - JavaScript: RequireJS mixins on the Magento UI grid paging, sizes, search, filters, toolbar, bookmarks, massactions, tree-massactions, export, select column and editor components, in
view/adminhtml/requirejs-config.js. - ACL resources:
Panth_AdvancedProductGrid::product_grid,::inline_edit,::tier_price,::manage_gallery,::column_managerand::config. Every controller also requiresMagento_Catalog::products. Requests that change tier prices require::tier_price, and requests that change an image role require::manage_gallery.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.