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

本文介绍了在Magento中如何使用'Finset'查询来过滤产品集合。通过具体代码示例展示了如何实现特定条件的筛选,并提供了进一步讨论及更多选项的链接。
2057

被折叠的 条评论
为什么被折叠?



