Skip to content

Instantly share code, notes, and snippets.

@anoriar
Created August 27, 2018 09:40
Show Gist options
  • Save anoriar/663e360892c05943a12d1329d8cf0c10 to your computer and use it in GitHub Desktop.
Save anoriar/663e360892c05943a12d1329d8cf0c10 to your computer and use it in GitHub Desktop.
$productsInst = \Aero\Tools\Iblock\Catalog\Products::getInstanceByCode();
$products = $productsInst->getElementsES([
"select" => ["ID", "IBLOCK_ID", "PROPERTIES.STORES", "PROPERTIES.MIN_MIN_PRICE"],
"filter" => ["PROPERTIES.STORES" => $storeIds, "ACTIVE" => "Y"],
]
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment