2
在magento集合中,我想使用“store”属性过滤值。我有一些数组中的值。基于该数组,我需要过滤值。但下面的功能都不起作用。Magento收集过滤器
$collection->addAttributeToFilter('store',array('in' => array(1,2,3)));
$collection->addFilter('store',array('in' => array(1,2,3));
是否有其他可能性使其工作?
为什么你有 '在'=>阵列使用'()'两次? –