---
title: "Magento addAttributeToFilter with Mutliple Select"
author: "kirenenko04"
date: "2014-12-11T10:05:32Z"
tags: []
categories: ["编程语言"]
slug: "magento-addattributetofilter-with-mutliple-select"
draft: false
lastmod: "2014-12-12T14:45:18Z"
id: 2165054
url: "https://kirenenko04.iteye.com/blog/2165054"
---

The solution is to use a 'Finset'  query such as:

```
$this->_productCollection->addAttributeToFilter("make", array("finset"=>"38"));
```

A discussion can be seen here: http://www.magentocommerce.com/boards/viewthread/201312/

And a list of different options: http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-8-varien-data-collections