Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12293

The admin grid widget is a powerful tool to manage entities in the admin panel. For questions about the catalog grid view from Mage_Catalog, use the tag "grid-layout" instead.

0 votes

How to add a custom customer attribute to the sales grid

You can create an extension and rewrite Mage_Adminhtml_Block_Sales_Order_Grid class and make changes described below or try to modify Order Grid block and collection via observer, but the simplest way …
Amasty's user avatar
  • 6,518
2 votes
Accepted

Admin tab content that has grid table but also other blocks. How to?

function getTabUrl() { return $this->getUrl('amasty_rewards/rewards/index/', ['_current' => true]); } 3) Creating new layout file amasty_rewards_rewards_index.xml where we'll specify blocks and grid … Now we need Controllers. 6) Grid controller app/code/Amasty/Rewards/Controller/Adminhtml/Rewards/Grid.php <? …
Amasty's user avatar
  • 6,518
3 votes

How to add shipped date to admin sales order grid

As the order can has multiple shipments, you may use sub-query: in the _prepareCollection() $table = Mage::getSingleton('core/resource') ->getTableName('sales_flat_shipment_grid'); $shipping = …
Amasty's user avatar
  • 6,518
1 vote
Accepted

Magento Grid ->addColumn string length

Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { public function render(Varien_Object $row) { return substr($row->getFirstname(), 0, 1); } } you can find default rendereres here: app\code\core\Mage\Adminhtml\Block\Widget\Grid
Amasty's user avatar
  • 6,518
1 vote

Magento Custom Grid Left Join ID Conflict with Custom Table

You are joining one table to another with 1-N relationship. It means for one row from the table A you get N rows from the table B At the same time you fetch values to the magento collection, that us …
Amasty's user avatar
  • 6,518
3 votes

Change order of columns in "Manage Products" page grid

You can copy the product grid block From app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php to the app/code/local/Mage/Adminhtml/Block/Catalog/Product/Grid.php and change the columns order …
Amasty's user avatar
  • 6,518
1 vote

Access the Product Grid Collection from the Product Edit Page

When on a product grid page, you can remember in the session the list of ids ( not filters) and use them later at the product edit page. …
Amasty's user avatar
  • 6,518
1 vote

Magento grid default filter condition exclude certain field value

What if you move archived items in the separate grid on a new page? Probably for archive customer also need different field set, like "archive date" or "moved to archive by user" …
Amasty's user avatar
  • 6,518