Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to get all possible values for complex_filter in catalog_product.list? 
 
FailedMgntWS2
Jr. Member
 
Total Posts:  2
Joined:  2012-11-19
 

Hi,

I want to use complex filters in catalog_product.list operation.
Each complex filer has it’s key and value.

Where to get all possible values for complex_filter.key
and complex_filter.value. Especially as complex_filter.value is also complex type.
Which operations like ‘eq’, ‘lt’, ‘gt’ etc. I can use here? What is the possible
values for complex_filter.value.key and complex_filter.value.value values?

I’ve tried catalog_product_attribute.list and catalog_product_attribute.options,
but that didn’t show same values as used in example for catalog_product.list here
This is code:

$complexFilter = array(
    
'complex_filter' => array(
        array(
            
'key' => 'type',
            
'value' => array('key' => 'in''value' => 'simple,configurable')
        )
    )
);
 
Magento Community Magento Community
Magento Community
Magento Community
 
FailedMgntWS2
Jr. Member
 
Total Posts:  2
Joined:  2012-11-19
 

Because it’s so bad support here and nobody gives a fuck, I found solution here

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top