1
Magento에서 사용자 정의 모델을 생성했습니다 (리소스는 Mage_Core_Model_Resource_Db_Collection_Abstract를 기반으로합니다). 모든 것이 잘 작동합니다. 나는, 테이블에 필터를 만들려고 출력하는 것 다음 곳 절 :Magento AND/OR 조합 모델 필터
where
product_id = 1
and ((customer_id = 0 and customergroup_id = 2) or (customergroup_id = 0 and customer_id = 3))
and ((productgroup_id = 0 and product_class = 8) or (product_class = 0 and productgroup_id = 4))
AddFilter를 또는 무언가를 사용하는 것을 수행하는 방법에 대한 어떤 생각?