=== Additional Checkout Fields for Woo ===
Contributors: EnspirePlugins
Tags: WooCommerce, Checkout Fields, Custom Fields, Checkout Form, WooCommerce Checkout
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 2.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Easily add and manage custom fields in your WooCommerce checkout—no code needed.

== Description ==

**Additional Checkout Fields for Woo** is a lightweight, intuitive plugin that allows you to effortlessly add extra fields to your WooCommerce checkout page. Collect extra contact info, links, instructions, or any other custom data without modifying your theme or writing new code.

🔥 **Simple, Flexible, and Built for WooCommerce**

The default WooCommerce checkout form doesn't always fit every store's needs. This plugin gives you the tools to expand your checkout form, keeping the process smooth for customers and organized for admins.

== 🚀 KEY FEATURES ==

= ✅ Add Nine Field Types to Checkout =
Choose from the most commonly needed field types:

Heading
Text  
Number  
Email  
URL
Checkbox
Radio button
Dropdown
Text Area

Each field supports:

- Custom field label  
- Placeholder text  
- Required/optional toggle  
- Custom section title (e.g., "Additional Info")

= ✅ Fields Are Visible and Editable in the WooCommerce Admin =
- Easily view custom field data on the order admin page.
- Edit the custom information directly on the order page
- Keep all checkout data in one place—no additional navigation needed.

= ✅ Error-Free Simplicity =
The setup is simple and just works. Choose your fields, customize them, and they appear instantly on your checkout form.

= ✅ Designed for Speed & Compatibility =
Lightweight and built for compatibility with modern WooCommerce and WordPress standards.

== Development ==

This plugin uses Laravel Mix (Webpack) for asset compilation. The source files for JavaScript and CSS are located in the `src/` directory:

- JavaScript source files: `src/js/`
- SCSS source files: `src/scss/`

To build the assets:

1. Install dependencies:
   ```
   npm install
   ```

2. Build for development:
   ```
   npm run dev
   ```

3. Build for production:
   ```
   npm run prod
   ```

4. Watch for changes during development:
   ```
   npm run watch
   ```

The compiled assets are generated in the `assets/` directory.

== Installation ==

= Automatic Installation =

1. Go to **Plugins > Add New** in your WordPress admin panel.
2. Search for **Additional Checkout Fields for WooCommerce**.
3. Click **Install Now** and then **Activate** the plugin.

= Manual Installation =

1. Download the plugin zip file.
2. Upload it via **Plugins > Add New > Upload Plugin**.
3. Activate the plugin through the 'Plugins' menu in WordPress.

== Frequently Asked Questions ==

= Where do the custom fields appear? =
They appear on the checkout page under a custom section title you define.

= Can I make fields required? =
Yes! Each field can be set as required or optional.

= Where can I see the submitted field data? =
All custom field data is displayed in the WooCommerce order details in your admin dashboard.


== Screenshots ==

1. Dashboard> Checkout Fields
2. Add new field
3. Select field type
4. Add field settings
5. Save all Changes
6. Edit fields in Order Dashboard
7. Additional fields on the checkout page


== Changelog ==

= 2.0.0 =
* Added: Full support for WooCommerce Block-based Checkout
* Improved: Overall user interface and stability
* Fixed: Minor bugs and performance optimizations

= 1.1.0 =
* Added: Complete email integration - custom fields now display in WooCommerce emails
* Added: Support for both HTML and plain text email formats
* Added: Consistent styling for fields in all email types
* Improved: Option counter functionality for dropdown and radio fields
* Fixed: Minor bug with option placeholder numbering in admin interface
* Enhanced: Automatic placeholder updates when adding/removing options

= 1.0.0 =
* Initial release
* Add custom fields to WooCommerce checkout
* Admin interface for field management
* Order data integration