How can I get a list of all products in a store, regardless of category?
This should work in all versions of Magento:
$products = Mage::getModel('catalog/product')->getCollection(); //Magento does not load all attributes by default //Add as many as you like $products->addAttributeToSelect('name'); foreach($products as $product) { //do something }
Source: https://habr.com/ru/post/1796028/More articles:Emacs Dired Behavior - emacsLooking for something similar to this dazzle menu - javascriptGet coordinates after rotation - c #Π‘Π²ΠΎΠΉΡΡΠ²ΠΎ Django: related_name (DatabaseError) - djangoWhat is the Perl equivalent of the Python type () function - pythonError while paginating html in UIWebView using css Multicolumns - objective-cAttach my action to F5 / Refresh - refreshGo to the middle of the instruction - in IA-32 - assemblyRuby on Rails and MS SQL EXPRESS - ruby ββ| fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1796033/how-can-i-get-access-to-a-variable-in-a-view-which-was-created-in-a-controller&usg=ALkJrhi1-Z1ULt_2-BZ-f0u__y-uWEBsOwAll Articles