=== CatCode Returns & Exchanges Manager for WooCommerce ===
Contributors: catcodestudio
Tags: returns, rma, exchange, refund, woocommerce
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Return and exchange requests (RMA) for WooCommerce: My Account and guest form, return window, statuses, return waybills, e-mails.

== Description ==

Customers stop writing "how do I return this?" in chats and e-mails. They open the order, pick the items and quantities, choose a reason and what they want — a refund or an exchange — and send the request. The shop sees every request in one list, changes its status, answers the customer and tracks the return parcel.

**Free**

* "Return / exchange" button on eligible orders and a "Returns" tab in My Account.
* Guest form (shortcode `[catcode_returns_form]`, the page is created in one click): the customer finds the order by its number and the e-mail or phone used at checkout.
* Return window — 14 days after the order is completed by default (Ukrainian consumer law, EU right of withdrawal), configurable; 0 = no limit.
* Only orders in the statuses you choose; quantities already refunded or requested cannot be requested twice.
* Your own list of reasons and your return conditions above the form.
* Request list with status filters and search, request page with history, a message to the customer and a private note.
* Statuses: new, approved, item received, money refunded, replacement sent, rejected, closed.
* Return waybill (Nova Poshta, Ukrposhta or another carrier) with a tracking link — entered by the customer or by the shop.
* E-mails to the customer (request received, every status change) in the WooCommerce template and in the language of the order; e-mail to the shop about each new request; order notes.
* Box with the order's requests on the order edit screen (HPOS compatible).


== Installation ==

1. Upload the plugin and activate it (WooCommerce must be active).
2. Open WooCommerce → Returns settings: set the return period, order statuses and reasons.
3. Click "Create the page" to publish the guest form, or put `[catcode_returns_form]` on any page.
4. Requests appear under WooCommerce → Returns.


== Frequently Asked Questions ==

= Does the customer need an account? =
No. Guests use the page with the `[catcode_returns_form]` shortcode and find their order by number plus e-mail or phone.

= Can the same item be requested twice? =
No. Quantities in open or finished requests and quantities already refunded are subtracted. A rejected request frees its quantity again.


== Changelog ==

= 1.0.0 =
* First release.
