Tag: collection

63 Difference between getSize() and count() on collection 2013-05-23T11:43:41.990

36 How to get all items in cart currently? 2013-10-02T04:36:51.930

30 Most efficient way to get all ID's from a collection 2013-10-08T13:26:39.470

28 About Collection Model and Resource Model 2013-06-08T11:20:00.437

23 Left join a table on a collection query 2013-11-04T12:40:56.717

22 Are collections history in Magento 2? 2016-12-16T08:17:03.523

20 How to truncate magento table using collection? 2014-03-03T12:12:30.553

19 Is it possible to iterate over Magento collections with pagination natively? 2013-04-16T14:58:05.223

17 Issue using "having" in Magento collection 2013-07-07T21:43:44.353

17 How to get attribute "option label/attribute text" having "attribute value" (option_id)? 2013-09-24T08:36:07.793

16 Get product collection from a category id 2013-07-17T19:08:10.920

14 Why magento use resource and mysql4 model collection? 2014-02-19T14:52:11.037

14 Efficient Collection Calling, Filtering, and Loading 2015-03-19T20:38:53.460

13 Filter product collection by non-flat attribute 2013-03-20T15:08:28.340

13 Add Column to a grid (observer) - Column ‘store_id’ in where clause is ambiguous issue 2013-05-29T10:08:47.437

13 Filtering results using LIKE 2013-11-22T11:19:18.190

12 How to clone the collection in Magento? 2013-05-22T21:30:07.750

12 Magento - custom (non eav) model, load by multiple fields 2013-06-12T13:22:52.053

12 How to specify custom sort order for product collection? 2013-10-28T09:20:21.103

12 How to use group by in magento collection with join query 2014-10-16T11:08:07.147

10 Best practice to join product attributes 2013-10-31T13:16:48.867

10 unable to set order of collection 2015-03-26T14:53:01.203

10 Difference Between setData() and addData() 2015-04-01T07:55:07.850

10 To add default filter to grid in Magento2? 2015-12-29T13:36:30.543

10 addFilter vs addFieldToFilter 2016-01-12T20:00:14.993

9 Load Simple Products Collection (both, in stock and out of stock) 2015-09-03T12:26:01.917

9 How to get product collection of out of stock items - opposite of addInStockFilterToCollection()? 2015-11-03T13:42:41.783

9 Product collection problem - incorrect pricing data or not showing out of stock items 2015-11-25T16:53:20.917

9 Magento 1: Performance optimizations to delete entities 2016-06-09T09:41:47.537

9 Filter Product Collection by Child product attribute 2016-12-21T10:59:14.033

8 How to list all users 2013-10-04T12:57:37.480

8 How to get collection of orders which can be shipped? 2015-06-30T06:47:33.183

8 Magento customer grid _prepareCollection() override is not working 2015-06-30T14:01:33.657

8 addAttributeToSelect not working with core/resource_iterator? 2015-07-16T14:31:26.573

8 Whats the best way to check if a custom attribute exists in Magento2 2016-03-24T19:32:39.240

8 Magento2 Order by clause in collection 2016-03-30T12:43:14.983

8 which are best method to get collection in magento 2 2016-04-28T07:16:03.250

8 how to add pagination on custom collection in Magento 2 2016-08-08T09:44:04.387

8 Force products collection to use EAV instead of flat table 2016-09-25T11:33:21.153

8 magento 2: How to use the order by and limit clause in sql query 2016-11-10T05:03:48.953

7 How to log SQL query of the collection? 2013-09-26T09:32:19.873

7 Custom Sort Order For Collection 2013-11-27T06:30:26.417

7 Grid pagination not working when use group clause in collection 2015-01-06T12:51:26.520

7 layered navigation isn't populated by collection attributes -- CMS page 2015-02-16T14:37:49.430

7 Set default value to custom attribute for all products 2015-06-18T12:45:51.793

7 What is the Magento ORM equivalent of "SELECT DISTINCT attribute FROM products"? 2015-09-09T13:02:48.627

7 Magento 2: How to Filter a Product Collection By Store ID 2015-11-23T17:05:43.743

7 Magento: Filter huge sales order collection 2016-04-11T07:35:23.003

7 How to join product collection of magento 2 to a custom table? 2016-12-06T15:28:37.893

7 Magento 2 layer navigation custom rating filter pagination doesn't work 2017-01-18T12:21:41.240

7 Magento 2: different way get field of a collection 2017-02-03T16:24:07.380

7 What is the difference between `joinField` and `joinTable` in collections? 2017-02-12T05:16:20.053

6 Product load event - regardless of context 2013-05-19T21:07:31.660

6 Filter product collection by multiple categories? 2013-08-24T03:18:58.630

6 Product loop giving incorrect images 2013-10-28T10:55:04.017

6 Filter Product Collection By Another Attribute In Product Collection eg 'attribX', array('gt' => 'attrib-Y') 2013-11-06T05:35:35.203

6 How can I use UNION for 2 collections ? Or merge collections ? (for use in adminhtml grid) 2013-12-11T17:10:24.743

6 Collections - Filtering multiple multi-select attribute values 2014-01-30T03:07:09.747

6 Magento aggregate and between collections? 2014-07-15T08:55:52.923

6 Check if product belongs to category? 2014-12-05T07:52:03.973

6 How to add item to Magento collection to the beginning? 2015-02-10T16:15:33.477

6 Magento join query with group by and having error 2015-07-14T05:52:55.590

6 Array of product ids for a given category (respecting is_anchor) 2015-08-13T13:52:39.273

6 Get Website ID from Website Name 2015-09-03T15:37:50.067

6 Product collection by non-existing images 2015-09-09T17:49:39.900

6 Magento 2 Get product collection in a custom template block 2015-12-01T11:08:46.630

6 Find the Grand Total Number of Orders Placed? 2015-12-16T12:44:48.647

6 What is the use of addExpressionFieldToSelect over addFieldToSelect? 2016-04-29T19:03:48.483

6 How can I get only the Store View attributes, without the inherited Global data? I only need the diffs 2016-06-17T11:48:13.283

6 magento 1.9: How to load customers by mobile number 2016-06-27T09:49:32.330

6 How to correctly select the first item from a filtered collection? 2016-06-27T16:33:26.200

6 $item->getSku() and $item->getProduct()->getSku() return different values. Why? 2016-07-05T03:45:56.243

6 Layered navigation for custom collection on custom page - magento2 2016-09-12T10:13:46.477

6 Magento 2: Filter Product Collection by Multiple Categories (Magento 2.1) 2016-09-27T06:50:19.707

6 Magento 2 get Parameters in the URL 2017-01-11T06:34:40.973

6 Magento getFirstItem and getLastItem not working on collection 2017-03-24T05:27:18.160

5 FishPig Attribute Splash Pages Extension Bugs 2013-03-08T16:57:25.973

5 Four Random Products on Homepage 2013-05-02T18:42:09.107

5 Reload collection after count() 2013-08-27T05:51:55.813

5 Using observer, how to get the current pager with loaded product collection 2013-11-09T12:46:20.577

5 Fetch value from collection without foreach loop 2013-11-16T09:06:26.010

5 Group and/or product collection select 2014-02-17T17:57:00.813

5 Join Collection With Country Table 2014-05-28T09:09:16.380

5 Magento Collection Cache 2014-07-19T18:42:47.703

5 Get a Magento product collection without sub-products of configurable products 2014-08-11T13:27:46.397

5 Magento join collection query 2014-11-09T18:26:19.363

5 Get item at nth index from a collection 2014-12-10T09:12:02.750

5 applying layered navigation to CMS page filled with new products 2015-02-03T16:00:34.113

5 Get all item-Ids from a Collection 2015-02-09T08:42:40.750

5 How is Varien_Db_Adapter_Pdo_Mysql::orderRand() optimized? 2015-02-19T13:26:11.280

5 How to get all values of a given custom attribute? 2015-02-22T02:16:49.300

5 How to use NOT BETWEEN SQL with magento collection 2015-08-12T15:35:07.333

5 Use final price in addFieldToFilter 2015-12-22T12:10:53.693

5 Magento 2: Walk through collection and delete 2016-06-02T15:45:23.233

5 How to get product collections by set of ids in magento 2? 2016-06-15T13:30:19.447

5 Get product collection by root category and all it's sub categories in Magento 2? 2016-09-15T12:20:32.300

5 How can I load the product collection without some products? 2016-09-22T13:09:51.943

5 Magento 2 get out of stock products in collection 2016-09-29T15:08:40.163

5 filtering product collection does not work with command 2016-10-03T09:27:25.513