I trying to do filter the product collection with my custom attribute(Type : Multi select).

It is not working.

Kindly help me


Try to use addAttributeToFilter with or condition

        array('finset'=> array('237')),
        array('finset'=> array('238')),
        array('finset'=> array('239')),
| improve this answer | |
  • kindly update code for AND condition also – SUBBULAKSHMI G Feb 20 at 4:14

Try this code :-

$collection = $this->productFactory->create();
| improve this answer | |

Your Answer

