سؤال

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('*');
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top