=== GTech – Setup Fee for YITH Subscription (Free) ===
Contributors: gtech
Requires at least: 6.0
Tested up to: 6.6
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a one-time setup fee to products you sell with YITH WooCommerce Subscription (free). Fee applies on the initial order only. Also appends the setup fee under the Price column (admin) and under the frontend price HTML (loops, single product, Elementor Product Price). Includes shortcodes. Declares WooCommerce HPOS compatibility.

== Description ==
This companion plugin lets you define a one-time Setup fee on a product (per quantity). The fee is added only to the customer's initial order; renewals remain recurring-only, so your subscription totals stay clean.

**Displays the setup fee**
- In **Products list** under the Price column
- In **frontend price HTML** so page builders show both prices
- Via shortcodes: `[gtech_setup_fee]` or `[gtech_price_with_setup]`

**Compatibility**
- WooCommerce High-Performance Order Storage (HPOS) compatible

== Installation ==
1. Upload the ZIP via Plugins → Add New → Upload Plugin, or extract to `/wp-content/plugins/`.
2. Activate **GTech – Setup Fee for YITH Subscription (Free)**.
3. Edit your subscription product → Product data → General → set **Setup fee (one-time)** → Update.
4. If your template uses Elementor **Product Price** widget, the setup fee now appears automatically below the monthly price. Alternatively, add a **Shortcode** widget and use `[gtech_setup_fee]` or `[gtech_price_with_setup]`.

== Changelog ==
= 1.1.1 =
* Fix: PHP syntax error in shortcodes (causing critical error).
* Compat: Declare WooCommerce HPOS (custom order tables) compatibility.
* Enhancement: Prevent double-append in `[gtech_price_with_setup]` shortcode.

= 1.1.0 =
* Append fee in frontend price HTML (loops/single), compatible with Elementor Product Price.
* Add shortcodes: [gtech_setup_fee], [gtech_price_with_setup].
* Inline CSS for small visual tweak.

= 1.0.1 =
* Append setup fee under Price column in Products list (admin).

= 1.0.0 =
* Initial release.
