=== Dealicious Conditional Checkout Rules for WooCommerce === Contributors: wprashed Tags: woocommerce, checkout, checkout fields, conditional logic, ecommerce Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Dynamically show or hide WooCommerce checkout fields based on product type, billing country, and cart value. == Description == Dealicious Conditional Checkout Rules for WooCommerce lets store owners create ordered rules to control WooCommerce checkout field visibility. Use conditions for: - Product type in cart (physical, virtual, downloadable, or specific WooCommerce product types) - Billing country (ISO2 list like `US,CA,GB`) - Cart value range (minimum and/or maximum) How rules work: - Rules are processed top to bottom - All conditions in one rule use AND logic - If multiple rules match the same field, the last matched rule wins Plugin highlights: - Live show/hide behavior on checkout - Works with country changes at checkout - Handles required-field validation for hidden fields - Settings available in `WooCommerce > Dealicious Conditional Checkout Rules for WooCommerce` == Installation == 1. Upload the `dealicious-conditional-checkout-rules` folder to the `/wp-content/plugins/` directory, or install via the WordPress Plugins screen. 2. Activate the plugin through the `Plugins` screen in WordPress. 3. Go to `WooCommerce > Dealicious Conditional Checkout Rules for WooCommerce`. 4. Add rules and click `Save Rules`. == Frequently Asked Questions == = Does this plugin require WooCommerce? = Yes. WooCommerce must be active. = Can I target more than one country in a rule? = Yes. Enter comma-separated ISO2 country codes, for example: `US,CA,GB`. = What happens if multiple rules target the same field? = Rules are evaluated in order, and the last matching rule determines whether the field is shown or hidden. = Will hidden required fields block checkout? = No. The plugin removes required validation for fields that are hidden by rules. == Screenshots == 1. Dealicious Conditional Checkout Rules for WooCommerce settings screen under WooCommerce menu. 2. Rule row showing field, action, product type, countries, and cart range. == Changelog == = 1.0.0 = * Initial release. * Added conditional checkout field visibility by product type, billing country, and cart value. * Added admin rule builder under WooCommerce. * Added frontend runtime and hidden field validation handling. == Upgrade Notice == = 1.0.0 = Initial release.