`
kirenenko04
  • 浏览: 145972 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论

Magento addAttributeToFilter with Mutliple Select

 
阅读更多

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics