For OpenCart 2.3, 3.0, 4.0 and 4.1
For the shopper
- The button appears on the order page only while something can still be returned: the order must be in a complete status and inside your return period (days after it became complete; 0 = no limit). Other customers' orders and orders that are not delivered show no button and cannot be returned.
- One form for the whole order: the quantity per product (never more than was ordered and not yet returned), the reason from your own return reasons, "product opened", a note and up to 5 photos (JPG, PNG or WebP, 2 MB each).
- My returns page: every request with its status, what the shop answered (refund, store credit or exchange), the return label / pickup instructions you wrote, and the number of photos.
- Every text is in a language file in the module; copy it into another language folder and translate the right side of each line.
For you
- Each requested product becomes a normal return in the shop's own return list, so Sales > Returns keeps working and the shop's own return history and return e-mail are used for your answers.
- One admin page lists all returns with the shopper's note and the photos (click for the full picture). Open one to set the status, write a message, write the return label / pickup instructions the shopper will read, choose the resolution (refund, store credit or exchange) and tick "send the shopper an e-mail".
- Store credit: type an amount (at most the price plus tax of the returned pieces); it is added to the customer's transactions once. Saving again, double clicks and a second admin cannot pay it twice. A return whose credit was paid cannot be rejected.
- Rejecting a return gives its pieces back to the shopper, who can then file them again.
- The shop's return actions Refunded, Credit Issued and Replacement Sent are set for you when they exist.
- Settings: return period, photos per request (0 to 5), photos required or not, the button on or off, the accent colour. Uninstall removes the settings and the event and keeps the requests, the credit records and the photos.
Safe by design
- Photos are recognised by their content, not their name, and are stored under random names in their own folder, which gets an index file and an .htaccess (listing and script execution off, for Apache). Pictures over 2 MB, GIFs, SVGs and renamed scripts are refused and nothing is kept.
- The form has a one-time token. A request for more pieces than are left is refused.
- Notes and instructions are stored as plain text without angle brackets.
Notes
- Not included: return labels from a carrier and automatic refunds through a payment gateway (they need carrier and gateway services). Write the label or pickup instructions yourself and refund as you do today.
- The credit limit is the price plus tax of the returned pieces; it does not take order discounts into account, so check the amount you type.
- The pieces of a product are counted per order and product: if the same product is on two lines of one order (different options), returns of one line count against the other.
- On servers older than PHP 7.1 a WebP picture is accepted on the check of its first bytes only.
- Orders are checked in the shop's own "complete" order statuses (Settings > Option > Processing). Orders that were completed before you installed the module are returnable like any other.