A Return Form with just Returned/Refunded items

Topic summary

A user is seeking a return form solution that displays only returned/refunded items with their quantities and prices.

Current Challenges:

  • InvoiceWizards shows all items, including non-returned ones
  • OrderPrinter template code isn’t working properly:
    • {{ refund_line_item.line_item }} displays “LineItemDrop” instead of actual item details
    • {{ refund.amount | money }} returns empty values

Code Shared:
The user provided their OrderPrinter template attempting to loop through refunds and refund line items, but the variables aren’t populating correctly.

Response:
One commenter suggested BeProfit, a profit analysis app that can track product returns, returned units, and return rates, though this appears to be an analytics solution rather than a customizable return form template.

Status: The technical issue with OrderPrinter template variables remains unresolved, and the user is still looking for either an app solution or code improvements.

Summarized with AI on November 18. AI used: claude-sonnet-4-5-20250929.

Hi,

I am trying to create or find a Return Form that shows just the Returned Items, the quantity and the price of each item. Currently trying InvoiceWizards but the return form captures items, even the non-returned ones.

I tried using OrderPrinter as well with the below code but does not work.

{{ refund_line_item.line_item }} shows LineItemDrop instead of the returned items

{{ refund.amount | money }} is empty.

Is there an app that already has this or how should I improve the code below for OrderPrinter?

Thank you.


  {{ "now" | date: "%m/%d/%y" }}

  Return Form for {{ order_name }}

  **{{ shop_name }}**

  {{ shop.address }}

  {{ shop.city }} {{ shop.province_code }} {{ shop.zip | upcase }}

  {{ shop.country }}

---

### Return Item Details

    {% for refund in refunds %}
      {% for refund_line_item in refund.refund_line_items %}
        
      {% endfor %}
    {% endfor %}
  

| Quantity | Item | Refund Amount |
| - | - | - |
| {{ refund_line_item.quantity }} | {{ refund_line_item.line_item }} | {{ refund.amount | money }} |

If you have any questions, please send an email to {{ shop.email }}

Hi there,

This is definitely achievable with our profit analysis app - BeProfit. You’ll be able to see all product returns and their returned units, return rates, sales, return amount, ad spend, and a lot more.

Let me know if you have any questions - happy to help.

Nati