=== Studio66 Refund Helper for WooCommerce ===
Contributors:      hugostudio66amsterdam
Tags:              woocommerce, refund, order, calculator
Requires at least: 6.0
Tested up to:      6.9
Requires PHP:      7.4
Requires Plugins:  woocommerce
WC requires at least: 7.0
WC tested up to:   9.9
Stable tag:        1.0.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Adds a refund calculator to WooCommerce orders. Distribute a percentage or fixed amount across order lines in one click. No account required.

== Description ==

**Studio66 Refund Helper for WooCommerce** adds a small calculator to every WooCommerce order edit page. When you click the Refund button, the calculator appears and lets you fill in a percentage or fixed amount. With one click it fills in all the refund fields proportionally — no more manual arithmetic per line.

= Features =

* Appears automatically when the Refund panel is opened — no configuration needed
* **Percentage mode** — applies a percentage to every refundable order line
* **Fixed amount mode** — distributes a fixed amount proportionally across all lines; rounding remainder goes to the last line
* **Clear** button resets all refund fields to zero in one click
* Respects the WooCommerce decimal separator (comma or period)
* HPOS (High-Performance Order Storage) compatible
* Compatible with Loco Translate — Dutch (nl_NL) translation included
* No account, no license key, no sign-up required

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it directly via **Plugins → Add New**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Open any order in **WooCommerce → Orders**, click the **Refund** button, and the calculator appears automatically.

No settings page is required. The plugin works immediately after activation.

== Frequently Asked Questions ==

= Does this plugin require an account or license key? =

No. All features work immediately after activation — no account, no sign-up, no license key needed.

= Where does the calculator appear? =

It appears on the order edit page inside the WooCommerce admin, just above the order totals, as soon as you click the **Refund** button. It is hidden when the refund panel is closed.

= Does it work with HPOS? =

Yes. The plugin hooks into the WooCommerce order admin footer and explicitly declares HPOS compatibility via WooCommerce's FeaturesUtil.

= Can I translate the plugin into my language? =

Yes. The plugin is fully compatible with Loco Translate. Install Loco Translate, navigate to **Loco Translate → Plugins → Studio66 Refund Helper for WooCommerce**, and add your language. Dutch (nl_NL) is already included.

= Which WooCommerce versions are supported? =

WooCommerce 7.0 and higher. Tested up to WooCommerce 9.9.

== Screenshots ==

1. The refund calculator visible on the order edit page after clicking the Refund button.

== Changelog ==

= 1.0.0 =
* Initial release as Studio66 plugin.
* Added Loco Translate support with Dutch (nl_NL) translation.
* Added WooCommerce → Refund Helper admin page with Instructions tab.
* HPOS compatibility declared.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
