=== SmartCheckout — Field Editor for WooCommerce ===
Contributors: farazshoaib
Tags: woocommerce, checkout fields, field manager, checkout customization, custom labels, checkout editor, woocommerce checkout
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Short Description: Easily edit WooCommerce checkout field labels, toggle visibility, and set required options.


== Description ==

**SmartCheckout for Woo** gives you full control over your WooCommerce checkout fields — without touching code.

From a clean admin interface, you can:

- ✅ Change checkout field labels (e.g. rename "Phone" to "Mobile Number")
- ✅ Show or hide optional fields like Company Name or Order Notes
- ✅ Make optional fields required, or optional again
- 🔒 Required core fields like Name, Email, and Address remain locked to ensure checkout works properly

It's the easiest way to streamline your checkout process for better conversions and a cleaner user experience.

== Features ==

- Edit billing & order field labels
- Show/hide optional checkout fields
- Toggle required status for non-essential fields
- Locked indicators for WooCommerce core-required fields
- Save field settings with one click
- Changes reflect instantly on the frontend checkout

== Screenshots ==

1. Admin panel showing editable checkout fields
2. Customized labels and visibility toggle interface
3. Frontend checkout form with updated field settings

== Installation ==

1. Upload the plugin ZIP to `/wp-content/plugins/` and activate it.
2. Go to **WooCommerce → SmartCheckout** in your WordPress admin.
3. Customize your checkout field labels, visibility, and required status.
4. Save changes — and you're done!

== Frequently Asked Questions ==

= Can I hide required WooCommerce fields like billing address or email? =  
No. These fields are locked by default for stability and compatibility. You’ll need the premium version to override core-required fields (with caution).

= Will this work with other checkout plugins or themes? =  
This plugin works best with standard WooCommerce checkouts. Compatibility with custom checkout builders may vary.

= Can I add completely new fields? =  
Not in the free version. Custom field creation and conditional logic will be available in the Pro version.

= Can this plugin be used on all types of WooCommerce checkout templates? =
No. SmartCheckout for Woo currently only supports the default WooCommerce checkout template.

This means:

- ✅ Works with the standard WooCommerce checkout page.
- ❌ Does not support custom checkout pages built using:
  - Elementor
  - Gutenberg blocks
  - Third-party checkout plugins

We're exploring broader compatibility in future updates.

== Changelog ==

= 1.0.3 =
*This update Fix some synxtax Issues.

= 1.0.2 =
*This update prevents site crashes when WooCommerce is not active by adding a dependency check.


= 1.0.1 =
* Fixed issue where certain WooCommerce core fields (billing_state, postcode, address_1) were not reflecting updated labels
* Added dynamic frontend label override using localized JavaScript
* Ensured compatibility with WooCommerce’s default checkout even with country-based re-renders

= 1.0.0 =
* Initial release
* Admin interface for managing WooCommerce billing & order fields
* Edit label, required, and visible status
* Support for frontend reflection


== License ==
SmartCheckout for Woo is licensed under the GNU General Public License v2.0 or later.

You may redistribute it and/or modify it under the terms of that license.

https://www.gnu.org/licenses/gpl-2.0.html

