'How to overide Sku filter funtion
How to overide Sku filter funtion and change comma seprate value for multi search
Solution 1:[1]
In the native magento exits method addAttributeToFilter
in product collection. you can use it in your case for ex:
$productCollection->addAttributeToFilter('sku', ['in' => ('EX-SKU-01','EX-SKU-02');
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Muhamed RAFYQ |