Obtenez collection de produits de tous les magasins
-
16-10-2019 - |
Question
Il est possible d'obtenir en une seule collection la liste des produits de tous les magasins (avec différentes traductions des produits attributs)?
Merci pour l'aide
La solution
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?
Autres conseils
You can do it even easier:
$collection = Mage::getResourceModel('reports/product_collection')->addAttributeToSelect('*');
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange