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 questions only not deleted user 70

Questions related to Magento collections

1 vote
1 answer
516 views

Removing Item from collection and update toolbar - [Hide out of stock item in layer navigati...

stock ... the product is not filtered ( as for Coling comment this is difficult to implement because of OO query implementation ) So I would like to use a not pure SQL approach removing products from collection
Fra's user avatar
  • 6,985
18 votes
2 answers
75k views

How to get attribute "option label/attribute text" having "attribute value" (option_id)?

Suppose I have an attribute that is a collection of option (dropdown/multiselect). …
Fra's user avatar
  • 6,985
2 votes
3 answers
4k views

Best Practice: How to add a column to a backend grid ?

ways to do that: Rewrite the grid block in our custom module Use an observer on the event core_block_abstract_prepare_layout_before Use a Layout update (let don't consider the alteration of the collection
Fra's user avatar
  • 6,985
16 votes
4 answers
19k views

Add Column to a grid (observer) - Column ‘store_id’ in where clause is ambiguous issue

I'm adding a column to the grid EDIT More Info: On Event (1): public function salesOrderGridCollectionLoadBefore($observer) { $collection = $observer->getOrderGridCollection(); … $collection->addFilterToMap('store_id', 'main_table.store_id'); $select = $collection->getSelect(); $select->joinLeft(array('oe' => $collection->getTable('sales/order')), 'oe.entity_id=main_table.entity_id …
Fra's user avatar
  • 6,985