Get collection of products of all stores
-
16-10-2019 - |
문제
It is possible to get in only one collection the list of products from all stores (with different translations of the products attributes)?
Thanks for help
해결책
Yes it is possible you can simply get all those by going loops
Load all of the stores and then load categories on those stores -> and then load all of the products in those stores.
Let me know if you need further code as well?
다른 팁
You can do it even easier:
$collection = Mage::getResourceModel('reports/product_collection')->addAttributeToSelect('*');
제휴하지 않습니다 magento.stackexchange