Hot answers tagged

3

This is a demo class code about rma, I hope to help you. <?php namespace YourVendorName\YourModuleName\Demo; class RmaDemo { protected $orderFactory; protected $rmaFactory; protected $rmaItemFactory; public function __construct( \Magento\Sales\Model\OrderFactory $orderFactory, \Magento\Rma\Model\ResourceModel\Rma\...


1

Yes, amout will be deducted as it will consider as cancel order. it will cancel the current one and create a new one. Canceled - depends on RMA extension if it is providing new status. NOTE: further it's depends on the flow of RMA extension, are you using magento commerce?


1

Try with below way! Extend Magento RMA block file to your custom module. app/code/Namespace/Modulename/Block/Adminhtml/Rma <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile namespace Namespace\Modulename\Block\Adminhtml\Rma; /** * RMA Grid */ class Grid extends \...


Only top voted, non community-wiki answers of a minimum length are eligible