New answers tagged


I had the same problem. Don't need replace porto file result.phtml. You just need to move this code: $productList = $block->getProductListHtml(); to the top in the file


To customize it properly, follow the 2 steps: 1, create a afterGetOrders plugin to Magento\Sales\Block\Order\History, in this plugin , check if $result->isLoaded(), if not, $result->setOrder('grand_total', 'desc') or 'asc' (you don't want to change query on loaded collection) 2, as the way pager is inserted in the layout in magento, it does not give ...

Top 50 recent answers are included