Each RMA request proceeds through a set of stages, on which data are gathered, goes communication with customers, and performed some actions. Each of these stages corresponds with Status, which is crucial part of RMA.
By default RMA can have the following statuses:
But sometimes RMA processing can be more complex, so our extension provides customers with ability to create their own Statuses, thus creating their own return processing procedure.
Go to the Sales > RMA > Statuses. Press the button Add New.
You'll see following fields:
Assigning a status to a RMA can be accompanied with automated email notification. It can be used for speeding up RMA handling in standard use cases. There's three types of them:
To send notification, enter in corresponding field contents of that notification. To disable it - just make it empty and save status.
You can use the following umbrella variables in the notification text:
You can gain access to their properties and even methods using point operator. For example, if you need to add customer's name - use variable {{var rma.getCustomerEmail()}}
.
Dear {{var customer.name}},<br><br>
Your Return request has been approved.
<br>
{{depend rma.getHasItemsWithResolution(1)}}
You choose to receive your money back, so we will refund the following items:<br><br>
{{block class="Mirasvit\\Rma\\Block\\Rma\\View\\Items" area='frontend' template='Mirasvit_Rma::email/rma/items.phtml' rma=$rma resolution_id=1}}<br><br>
{{/depend}}
{{depend rma.getHasItemsWithResolution(2)}}
You choose to exchange your product, we will contact you about the following items:<br><br>
{{block class="Mirasvit\\Rma\\Block\\Rma\\View\\Items" area='frontend' template='Mirasvit_Rma::email/rma/items.phtml' rma=$rma resolution_id=2}}
<br><br>
{{/depend}}
Please, print <a href='{{var rma.guest_print_url}}'>RMA Packing Slip</a>.
Note: You can have different notifications for different stores, but for the same Statuses. To do it, just switch store switcher to desired one, and enter contents to the proper field. It will be saved independently just for selected store.