Skip to content

magento man

how to get SUM of value from the collection?

I’m trying to get some of the values from the collection, below is my code. <?php public function RentalPartnerRevenue() { $filter = $this->request->getParam(‘filter’); $operator_id = $this->request->getParam(‘operator_id’); try{ $completecollection1 = $this->_orderCollectionFactory->create() ->addAttributeToSelect(‘*’); if(isset($filter) && $filter == ‘totalrevenue’){ //$completecollection1->addAttributeToSelect(‘grand_total’)->getColumnValues(‘grand_total’); $completecollection1->getSelect()->joinLeft( ‘rider_detail as… Read More »how to get SUM of value from the collection?

Good website provider?

I’ve been running my website for nearly a year now with Aws and it’s been great with speeds and uptime, but I was wondering if there is any … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1882877&goto=newpost