public function __construct() { parent::__construct(); return $this; }
protected function _joinFields() { parent::_joinFields(); $this->addAttributeToSelect('price')->addCartsCount()->addOrdersCount(); }
/** * Limit product reports * * @param Mage_Reports_Model_Mysql4_Product_Collection $collection */ public function limitProductReports($collection) { $collection->addStoreRestrictions($this->_role->getStoreIds(), $this->_role->getRelevantWebsiteIds()); }
public function __construct() { parent::__construct(); $this->_joinFields(); return $this; }