Get collection of products of all stores
-
16-10-2019 - |
Pergunta
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
Solução
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?
Outras dicas
You can do it even easier:
$collection = Mage::getResourceModel('reports/product_collection')->addAttributeToSelect('*');
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange