Magento: Load multiple products at once
Suppose, you have ID of some products and you want to load them at once in Magento, then here is a solution:- Suppose, you have 5 products ID: 5, 22, 45, 75, 88 You can store them in one array: $productIds = array(5, 22, 45, 75, 88); Then, you can use MySQL’s IN() clause for … Read more